WinPython - Portable Python that you can run from a usb drive on any Windows machine

In this post, I will show you how to run Python from a USB flash drive on any Windows machine using WinPython.

If you have any previous experience with Python, either from data manipulation or maybe from some of the Python classes offered by Coursera, then you will be happy to know that WinPython by default includes:
  • Pandas - Python Data Analysis Library:
  • SciPy - An ecosystem of open-source software for mathematics, science, and engineering
  • Spyder  - An interactive development environment
  • scikit-learn - Machine Learning
Additional packages can often be relatively easy installed.

After you installed WinPython you will have a directory on your flash drive, or on your hard drive, that looks like in the image to the left.

Jupyter Notebook is included, together with the IDLEX development environment. You can also run Python from the console, i.e. command prompt, directly from your USB flash drive, on any Windows machine.

 

 

 

 

 

 

 

 

Installation

To install WinPython go to https://sourceforge.net/projects/winpython/files/ and pick your version. Here I chose WinPython_3.5 release 3.5.2.3, and finally WinPython-64bit-3.5.2.3Qt5.exe.

1. Run the executable and agree to the License agreement

 


2. Choose the installation directory

For this example I chose the D drive, but you can equal well choose to install the package on a USB drive.

 

 3. Finalize the installation

 


After you clicked Finished you will have a directory on your computer that looks like this:


Here are some options to run Python:
  1. From the command prompt: WinPython Command Prompt.exe
  2. The Jupyter Notebook: Jupyter Notebook.exe
  3. Using the IDE: IDLEX (Python GUI).exe

In the next post we will use the Jupyter Notebook, that allows you to collect your calculations in one place, include graphs, and even typeset equation in LaTeX. You can export your notebook to a very professional looking pdf

Comments

  1. Python 3.5.n is rather ancient and most environments/extensions nowadays expect Python to be at least 3.7.n.

    Is it possible to do this using a more current Python environment?

    ReplyDelete
  2. I agree with the author, Very nice information and explained
    Stock broker

    ReplyDelete
  3. Great article by the great author, it is very massive and informative but still preaches the way to sounds like that it has some beautiful thoughts described so I really appreciate this article. Best packet tracer labs service provider.

    ReplyDelete
  4. The delightful article you have posted here. This is a good way to increase our knowledge.USB Flash Recovery Continue sharing this kind of articles, Thank you.

    ReplyDelete

Post a Comment

Popular posts from this blog

Setting up a virtual environment in Python

Time and Timezones in Python