Link to home
Create AccountLog in
Avatar of jazzIIIlove
jazzIIIloveFlag for Sweden

asked on

komodo IDE 7.1 python hello world in windows 7.

Hi there;

I am a complete newbie in python. I download Komodo IDE 7.1 and trying to run a Hello World program but failed in W7.

I wrote:
#!/usr/bin/env python

print("Hello\n")

Open in new window


and when I go for F7 for running without debugging and I failed. I have no interpreter installed apparently.

I also go for Tools and Run command and write down the file name "hello.py" or "%Full_Path%hello.py" without quotes but failed.

What should I do to have an output in the console environment?

Attached are the files for shots:
User generated imageUser generated imageUser generated image

Regards.
ASKER CERTIFIED SOLUTION
Avatar of pepr
pepr

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of jazzIIIlove

ASKER

Hi;

Forgot to ask:

Which IDE are you using in W7?

Regards.
Avatar of pepr
pepr

I am using a separate editor -- usually Notepad2 (I do not like vim). Then I launch the script from the cmd window.
Hi;

Thanks.

Can you give me an example of launching a script from cmd (W7) or terminal (linux)?

Regards.
The picture below uses the py.exe launcher (comes with Python 3.3). Otherwise, you have to replace it by python. This is related to your other question:
User generated image