This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################# unzip files ################################# | |
import os | |
import zipfile | |
path = os.getcwd() | |
print (path) | |
files = os.listdir(path) | |
for file in files: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup Django environment | |
1. Create a virtual environment | |
`$ virtualenv virtual-env-name` | |
2. Install Django using pip | |
`$ pip install Django [==version_name]` | |
3. If pip doesnot work go to the folder where python is installed (C:\Python39\Scripts) and run the following | |
`$ easy_install.exe pip` |