Python Penetration Testing Cookbook
上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:

  1. Go to the official website of Python (http://python.org/download/) and download the latest version of Windows MSI installer.
  2. Run the installer.
  3. You can select the option to Install launcher for all users (recommended) and click Install Now to finish the installation.
  1. 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.

  1. Now you can install virtual environment and virtualenvwrapper as we did for the other environments.
  2. Also, you can download and install the sublime text 3 as editor.