1.

Solve : hi, im wondering if theres something wrong with python?

Answer»

This is a first attempt at using a programming language. Ok okay here goes...

I downloaded the python installer on my desktop COMPUTER and then copied that installer to usb and installed it onto my laptop computer.

I then OPEN "python (command line)" via windows search

Heres the thing, am I missing files or something?

Because if I type this:
print "hello world"

or if I type:
print 1+1

it tells me this:
>> print "hello world"
File "", line 1
print "hello world"

thanks
how did you execute it ? Open cmd.exe, then type "python". then do it again. If you installed, and do it properly, you won't have a problem

Code: [SELECT]C:\test>python
ActivePython 2.6.4.8 (ActiveState Software Inc.) based on
Python 2.6.4 (r264:75706, Nov 3 2009, 13:23:17) [MSC v.1500 32 bit (Intel)] on wi
Type "help", "copyright", "credits" or "LICENSE" for more information.
>>> print "hello world"
hello world
>>>



Discussion

No Comment Found