PySnippets
PySnippets is an extended set of language-core snippets for Python based on Kate Compton's (galaxykate) Python Cheat Sheet.
Snippet List
Variables
Strings
- Formatted String
- Formatted String - Inserted Variable
- Multiline String
Printing Values
Importing Files
Boolean Logic
- Comparing
- Logical Evaluation
Lists
- List - Simple
- List - Range
- List - Comprehension
- Subscript From List
Dictionaries
- Dictionary
- Dictionary Entry
Looping
Conditionals
- Conditional - If/Elif/Else
- Ternary expression
Classes
- Class Or Subclass
- Constructor
- Method
Functions
| |