Skip to content

biggestcookie/python-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-template

A barebones template for starting Python 3 projects.

Requirements

Python 3.8+

Usage

  1. (Optional) Consider using a virtual environment manager such as pipx or venv.
    • pipx is the modern recommendation but requires installation
    • For venv which is built-in, simply run 'Python: Create environment' if you are using Visual Studio Code, or python -m venv .venv from the terminal. You may need to reload your IDE after running this if you are using one.
  2. Install dependencies with pip install -r requirements.txt.
  3. Run the project by selecting 'Terminal' > 'Run task' > 'python: app.py' if using Visual Studio Code, or python main.py in the terminal.
  4. (Optional) A VSCode debug profile is also provided, you can use this to run or debug the program. See the VSCode docs for more info.

About

A barebones Python 3 template for starting new projects.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages