Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hunter87ff/py-sublime-snippet

Simple and useful python code snippet for sublime text
https://github.com/hunter87ff/py-sublime-snippet

code-snippets python python-snippets sublime-text

Last synced: 5 days ago
JSON representation

Simple and useful python code snippet for sublime text

Awesome Lists containing this project

README

        

# Python Snippets
I was missing some necessary code snippets of python in Sublime Text, so i decided to make my own. and i think it can also help other people who use Sublime Text as their primary code editor.

## Key Features:
- Conditional statements
- loops
- classes
- lambda
- uitlities
## Example snippet

**Triger : class**
```py
class ClassName(object) :
def __init__(self, arg):
super(ClassName, self).__init__()
self.arg = arg
def function(param):
#Code
```

## Installation
**Step 1:**
```sh
git clone https://github.com/Hunter87ff/py-sublime-snippet
```

**Step 2:**

Copy the folder and past it in this directory `sublime-text/packages/User/snippets/`

# Documentation
For more info you can visit the docs here : [Documentation](https://github.com/Hunter87ff/py-sublime-snippet/blob/main/reference.md)