Some Python Commands


Installation virtual environment for Python project

D:\ProgramFiles\Python34>virtualenv projeName
New python executable in D:\ProgramFiles\Python34\projeName\Scripts\python.exe
Installing setuptools, pip, wheel...done.


Activate virtual environment

D:\ProgramFiles\Python34>cd projeName

D:\ProgramFiles\Python34\projeName>cd Scripts

D:\ProgramFiles\Python34\projeName\Scripts>activate


(projeName) D:\ProgramFiles\Python34\projeName\Scripts>


Install a specific version of setup tools in python

pip install setuptools==36.0.1

Update pip 

pip install -U pip

List installed plugins

pip list

Bu blogdaki popüler yayınlar

SDLC - Software Development Life Cycle

@SerializedName and @Expose annotations