Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

First step creating python project

// installing virtual environment 
python -m venv env
// activating virutal environment
source env/Scripts/activate
// installing django with latest version
pip install django
// or with specific version
pip install django==3.1
// to see install files and folders (optional)
pip freeze 
// creating project which is mainControl
django-admin startproject mainControl . 
// running the server ( 7000 for specific port ) 
python manage.py runserver 7000
// go to browser 127.0.0.1:7000
// go to EDITOR and proceed to second step
 
PREVIOUS NEXT
Tagged: #First #step #creating #python #project
ADD COMMENT
Topic
Name
1+8 =