/create-directories

Automatically create x amount of folders in the current directory

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

This script creates 100 folders named day1-100 in the current directory you run the script from.

See the Usage Section in each .py file to see what the code does

1. Create virtual python env

python -m venv venv && source venv/bin/activate #Linux
python -m venv venv && \venv\Scripts\activate #Windows

Creates virtual python environment

python -m venv venv 

Steps into virtual environment

source .venv/bin/activate

See the terminal now has the name of your virtual environment

(venv) drew@Andrews-MacBook-Pro% 

To Step out of the virtual environment

deactivate

2. Install dependencies (Inside of Virtual environment)

pip install -r requirements.txt

3 Run the Code

python main.py

TROUBLESHOOTING

pip list
python --version 
pip --version 
If trying to do this with VS CODE ensure you have your files open on the left side aka the workspace 

Command+shift+p select interpreter and chose .venv/bin python