Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hunter87ff/py-sublime-snippet
- Owner: Hunter87ff
- License: mit
- Created: 2023-11-08T14:27:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-19T12:58:41.000Z (about 1 year ago)
- Last Synced: 2024-05-02T02:31:13.955Z (8 months ago)
- Topics: code-snippets, python, python-snippets, sublime-text
- Homepage:
- Size: 67.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)