Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Py Files GeneratorNew to Visual Studio Code? Get it now.
Py Files Generator

Py Files Generator

Francesco Faraone

|
15,844 installs
| (4) | Free
Generate python files and module subtree
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Py Files Generator

Introduction

This extension help Python developers to generate a module/submodules tree filled with the __init__.py file.

The extension can also be customized with a set of generators each one with a list of files to generate.

By default, Py Files Generator generates a directories tree and put a __init__.py file in each.

Create custom generators

You can add your custom generators by adding them to your settings file.

Image of custom settings

Usage

To activate the extension right-click on a folder in the explorer pane:

Image of Context menu

Choose Python files generator... from the context menu.

From the quick pick menu choose the generator you want to use:

Image of quick pick

Generate python modules

Choose Python modules from the quick pick menu and then type the path you want to generate:

Image of input for path

Type enter and the modules will be generated.

Image of generated modules

Invoke custom generator

Choose the generator you want from the quick pick menu. For example choose Django App files:

Image of generated modules

And your files will be generated.

Image of generated files

License

Py Files Generator is licensed under the MIT license.

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