Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Python postfix completionNew to Visual Studio Code? Get it now.
Python postfix completion

Python postfix completion

filwaline

|
51,397 installs
| (1) | Free
Postfix templates for Python
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Postfix templates for Python

simply folk from ipatalas/vscode-postfix-ts, and change some code in order to work with Python

Features

demo.gif

All available templates (expr means the expression on which the template is applied):

Template Outcome
.return return expr
.len len(expr)
.int int(expr)
.iter iter(expr)
.type type(expr)
.print print(expr)
.if if expr:
.ifn if expr is None:
.ifnn if expr is not None:
.forloop for i in range(expr):
.forin for item in expr:
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft