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 am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts.
    Python Projects for Students

    Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account.

    Project Center in Chennai

    ReplyDelete
  3. It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read. Best python list methods service provider.

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

    ReplyDelete

Post a Comment

Popular posts from this blog

Setting up a virtual environment in Python

Time and Timezones in Python