Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>PyInitNew to Visual Studio Code? Get it now.
PyInit

PyInit

Diogo Nolasco

|
74,799 installs
| (2) | Free
Automatic generation of python __init__.py files and import statements within folders
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PyInit

This is a simple extension that generates __init__.py files inside your folders and subfolders.

Functionality

When in a folder, right click and select "Generate init file" or use the keybinding crtl+i or cmd+i (mac users). The extension will generate __init__.py files recursively inside the selected folder and its subfolders.

PiInit Example

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