![Python Penetration Testing Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/475/36700475/b_36700475.jpg)
上QQ阅读APP看书,第一时间看更新
How to do it...
We can download the Python from the official website and install it in your system. Execute the following steps:
- Go to the official website of Python (http://python.org/download/) and download the latest version of Windows MSI installer.
- Run the installer.
- You can select the option to Install launcher for all users (recommended) and click Install Now to finish the installation.
![](https://epubservercos.yuewen.com/620715/19470400808922106/epubprivate/OEBPS/Images/Chapter_129.jpg?sign=1739162999-aZzlHcJLz23ZGRzfBU16TGRAQBfYt5DB-0-92f2818f847fe2365221b751f85e0255)
- After installation, it would be better if you could add the default Python directories of your version to the PATH.
If you have installed Python in C:\Python36\, you should add the following directories in your PATH--C:\Python36\;C:\Python36\Scripts\.
For that navigate to My Computer | Properties | Advanced System Settings | Environment Variables and edit the PATH variable to add the new directories.
![](https://epubservercos.yuewen.com/620715/19470400808922106/epubprivate/OEBPS/Images/Chapter_71.jpg?sign=1739162999-e9Rpf6obrC5hGIUpduXWC30549OPvDeg-0-6b39c0d239231cd18811a7b666cb1f28)
- Now you can install virtual environment and virtualenvwrapper as we did for the other environments.
- Also, you can download and install the sublime text 3 as editor.