Skip to content

Instantly share code, notes, and snippets.

View prabodh44's full-sized avatar

Prabodh Tuladhar prabodh44

  • Kathmandu, Nepal
View GitHub Profile
################################# unzip files #################################
import os
import zipfile
path = os.getcwd()
print (path)
files = os.listdir(path)
for file in files:
@prabodh44
prabodh44 / django-mysql-connection
Last active November 2, 2020 13:25
Django CheatSheet
# 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`