Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7624697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:01:53+00:00 2026-05-31T05:01:53+00:00

I am trying to set up Python on Windows 7. I haven’t used this

  • 0

I am trying to set up Python on Windows 7. I haven’t used this language before so it seems strange to me.

I’ve downloaded lastest Python release 3.2.2 from official site and upadate path variable.

However I still can’t even run simplest program ever like this :

print 'Hello, world!' 

It says that there is a syntax error and the last character ' is highlighted with red.

I don’t know if my path variable has been set properly. Here is where I installed Python :

C:\Software\Python32

So I added such a variable : var name = PYTHONPATH , var value = C:\Software\Python32\Lib

Is there something with auto-completion and with errors/warnings details ( which line, hint what can be wrong ), for example like Eclipse or NetBeans OR should I use this installed Python IDLE GUI for delevoping or stuff like NotePad++ ?

Actually what is this Python shell for ? – I know that I can type in some arithmetic operations here and I will get results, but is it used for something more advanced ? ( Is it used when I am writting something bigger ? )

Could someone describe simple way to write and execute a program ( or script I a total beginner so I don’t really know what it is going on here ) ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T05:01:54+00:00Added an answer on May 31, 2026 at 5:01 am

    As Venk stated, the print statement in Python 2.x has been replaced with print() in 3.x, so your statement should read

    print('Hello World')
    

    Since you’re new, here some things you should know about Python versions:

    Python currently comes in two flavors: Python 2.x and Python 3.x.

    Python 2.x has been in development since the late ’90s, so most existing codebases, frameworks, and libraries are written in this flavor of Python. Each successive version is backwards compatible, so, for example, all code written in Python 2.4 can be run with Python 2.4+. Its current revision is 2.7.2, which was released last year.

    Python 3.x is considered the “future” of Python, and purposefully breaks a lot of the conventions, such as the print statement, in favor of a clearer, more explicit language. Most libraries are working to port over to Python 3.x, but since there are extensive changes in the structure of the language, most library maintainers have not yet been able to release a Python 3.x compatible version with the full features of the Python 2.x version of the library.

    If you’re developing now, you should learn Python 2.x; otherwise, it’s recommended you learn Python 3.x.


    To answer your other questions:

    Python’s native IDLE is an excellent IDE, but if you’re looking for something more advanced, you may want to try out Eclipse’s PyDev extension or PyCharm. I personally prefer PyCharm, since it doesn’t keep giving me errors when I’m importing/using nonstandard Python libraries/frameworks.

    In addition, Python’s shell is used to interpret Python scripts (in the background) and for interactive interpreting (i.e., quick and dirty testing), and can execute code you type into it. The latter, however, is not recommended, as a single syntax error in multiple lines of code can force you to retype all the lines to fix a single bug.

    Furthermore, all Python scripts end in .py, so if you can see the file extensions, you can convert a text file into a Python script, and run from shell by typing python path/to/file.py. Note, however, that you still have to write a valid Python script, or it will not run.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using this tool to set up a ssh server on Windows. I'm trying
I'm trying to start a PowerShell script from python like this: psxmlgen = subprocess.Popen([r'C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe',
I am trying to install python on windows, and this is my first day
I've just set up mod python with apache and I'm trying to get a
So, I'm trying to get gtksourceview python bindings work under windows (I'm developing a
I'm trying to set up Mercurial repositories to be hosted by IIS under Windows
Trying to set up the svn commit with trac using this script. It is
How does one set the X11 display in Python-Clutter? I am trying to set
I'm trying to set up a very simple UDP socket server with python that
in Python I'm trying to set a variable from info stored in a txt.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.