python-snippets installs statistics
By cstrap (2 listings) · VS Code Marketplace · Snippets
Python Snippets
python-snippets has 1,384,845 recorded installs on VS Code Marketplace, ranking #447 of 2,501 tracked listings.
Rating: 5.00 / 5 from 16 ratings
About python-snippets
Python snippets
Python snippets collections.
Initially ported from PyCharm, TextMate, SublimeText and other editors/IDEs.
If you'd like to contribute, feel free to submit a pull request on github
Thanks!
Features
Base snippets
| Abbreviation | Description |
| env | #!/usr/bin/env python | | env3 | #!/usr/bin/env python3 | | enc | # -- coding=utf-8 -- | | enco | # coding=utf-8 | | fenc | from future import ... | | fenco | from future import ... (no -*-) | | im | import | | fim | from ... import ... | | class | New class | | classd | New dataclass | | defs | New method | | def | New function | | dowhile | Do while structure | | adef | Async function | | property | New property | | enum | New Enum | | if | if | | for | for | | lambda | lambda expression | | while | while | | try | try:except: | | tryef | try:except:else:finally: | | trye | try:except:else: | | tryf | try:except:finally: | | s | self | | | magic__ | | ifmain | if name == "main" |
Comprehensions
| Abbreviation | Description |
| lc | List comprehension | | lcie | List comprehension if else | | lci | List comprehension if filter | | dc | Dictionary comprehension | | dci | Dictionary comprehension if filter | | sc | Set comprehension | | sci | Set Comprehension if filter | | gc | Generator comprehension | | gci | Generator comprehension if filter |
Unittest
| Abbreviation | Description |
| ase | Assert equal | | asne | Assert not equal | | asr | Assert raises | | ast | Assert True | | asf | Assert False | | asi | Assert is | | asint | Assert is not | | asino | Assert is None | | asinno | Assert is not None | | asin | Assert in | | asni | Assert not in | | as | Assert | | fail | Fail (a test) |
Debugging
| Abbreviation | Description |
| pdb | PDB set trace | | ipdb | iPDB set trace | | rpdb | rPDB set trace | | pudb | PuDB set trace |
Tkinter
| Abbreviation | Description |
| imtk | Import Tkinter py2 | | imtk3 | Import tkinter py3 | | config | Root configuration | | button | Button | | label | Label | | frame | Frame | | entry | Entry | | grid | Grid | | sticky | Sticky | | checkbutton | Check button | | mainloop | Main loop | | pack | Pack | | side | Side | | bind | Bind | | menu | Menu | | addcascade | Add cascade | | addcommand | Add command | | addseperator | Add seperator |
Release Notes
See changelog for all changes and releases.
Troubleshooting
If you experience problems with the auto-formatting of certain snippets, make sure you have the option editor.tabCompletion set on onlySnippets or on.
Description from the VS Code Marketplace listing.
- python
- snippet
- snippets
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (4)Similar VS Code Marketplace Snippets plugins
All 20 python-snippets alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=cstrap.python-snippets. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.