Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>New Python PackageNew to Visual Studio Code? Get it now.
New Python Package

New Python Package

KaninDev

|
78 installs
| (0) | Free
Adds a 'New Python Package...' option to create Python packages with __init__.py files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

New Python Package for VS Code

A simple extension that adds a "New Python Package..." option to the Explorer context menu, creating Python package directories with an __init__.py file.

Features

  • Adds a "New Python Package..." option right after "New Folder..." in the Explorer context menu
  • Creates a Python package directory with an empty __init__.py file inside
  • Uses VS Code's native folder creation dialog for a seamless experience
  • Automatically expands the new package in the Explorer view

New Python Package in action

Usage

  1. Right-click on any folder in the Explorer view
  2. Select "New Python Package..." from the context menu
  3. Enter a name for your new package
  4. The extension will add an __init__.py file automatically

Requirements

No special requirements or dependencies.

Extension Settings

This extension does not add any settings.

Known Issues

Please report issues on the GitHub repository.

Release Notes

Users appreciate release notes as you update your extension.

1.0.0

Initial release of the New Python Package extension.

1.0.1

Updated example image to be a url

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