Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Ngai-pyNew to Visual Studio Code? Get it now.
Ngai-py

Ngai-py

GA_IA

|
218 installs
| (1) | Free
Basic snippets for your python code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ngai-py

Ngai-py is the Python code-snippet that contains basic code like if, for, function with Docstring etc.

Feature

Ngai-py contains basic snippets that can be used easily:
exam
Example Video
main1
main2
Example usage of main
if1
if2
Example usage of if_elif_else

Usage

This is the list of snippets in this extension :

main

Create main function with Docstring and final new line.
Can be called with main, """.

User Defined Function

Create user defined function with Docstring
Can be called with def, function.

Casted Input

Create input() variable with cast
Can be called with str, float, int.

If, If Else, Elif, If Elif, If Elif Else

Create and if block
Can be called with if for if block.
elif for elif block.
if_else for if else block.
if_elif for if elif block.
if_elif_else for if elif and else block.

While loop

Create a while loop
Can be called with while.

For loop

Create a for loop
Can be called with for.

License

MIT

This is experimental extension, so issues might occured
Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft