Local Environment Setup

Open a terminal window and type “python” to find out if it is already installed and which version is installed.

  • Unix (Solaris, Linux, FreeBSD, AIX, HP/UX, SunOS, IRIX, etc.)
  • Win 9x/NT/2000
  • Macintosh (Intel, PPC, 68K)
  • OS/2
  • DOS (multiple versions)
  • PalmOS
  • Nokia mobile phones
  • Windows CE
  • Acorn/RISC OS
  • BeOS
  • Amiga
  • VMS/OpenVMS
  • QNX
  • VxWorks
  • Psion
  • Python has also been ported to the Java and .NET virtual machines

Python Install

Many PCs and Macs will have python already installed.

To check if you have python installed on a Windows PC, search in the start bar for Python or run the following on the Command Line :

(cmd.exe):C:\Users\Your Name>python --version

If you find that you do not have python installed on your computer, then you can download it for free from the following website: https://www.python.org/

Unix and Linux Installation

Here are the simple steps to install Python on Unix/Linux machine.

  • Open a Web browser and go to https://www.python.org/downloads/.
  • Follow the link to download zipped source code available for Unix/Linux.
  • Download and extract files.
  • Editing the Modules/Setup file if you want to customize some options.
  • run ./configure script
  • make
  • make install

Windows Installation

Here are the steps to install Python on Windows machine.

  • Open a Web browser and go to https://www.python.org/downloads/.
  • Run the downloaded file. This brings up the Python install wizard, which is really easy to use. Just accept the default settings, wait until the install is finished, and you are done.

Start Coding :

Make a “helloworld.py” file which is the name of your python file.

Let’s write our first Python file, called helloworld.py, which can be done in any text editor.

print("Hello, World!")

Simple as that. Save your file. Open your command line, navigate to the directory where you saved your file, and run

C:\Users\Your Name>python helloworld.py

The output should read:

Hello, World!

Try Yourself

25 Replies to “Python Environment”

  1. I figured out more interesting things on this weight-loss issue. One particular issue is a good nutrition is especially vital while dieting. A tremendous reduction in junk food, sugary food, fried foods, sweet foods, beef, and bright flour products could possibly be necessary. Possessing wastes organisms, and harmful toxins may prevent ambitions for fat-loss. While selected drugs for the short term solve the challenge, the horrible side effects are certainly not worth it, and they also never present more than a non permanent solution. It is just a known idea that 95% of diet plans fail. Many thanks for sharing your thinking on this blog site. https://osteoporosismedi.com drugs used to treat osteoporosis

  2. Today, with all the fast life style that everyone is having, credit cards have a big demand throughout the economy. Persons coming from every discipline are using credit card and people who aren’t using the credit cards have made arrangements to apply for one in particular. Thanks for expressing your ideas about credit cards. https://hypertensionmedi.com buy hypertension medication

  3. Today, with all the fast life style that everyone is having, credit cards have a big demand throughout the economy. Persons coming from every area of life are using credit card and people who aren’t using the credit cards have made up their minds to apply for even one. Thanks for expressing your ideas about credit cards. https://hemorrhoidsmedi.com drugs used to treat hemorrhoids

Leave a Reply

Your email address will not be published.