Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
running python hello world
#1
Hi,

installed python 3.6.5 x64 to a windows 10 x64 machine.

- installed for all users
- changed install path to c:\python36
- created a test file called hello.py with the canonical:
print("Hello World!")
- when i try run it from command line with "python hello.py" it works fine.

when i try "py hello.py" or just "hello.py" i get an empty line..

[Image: gSq1Gn]

- tried run as admin the command line

Huh

Thanks,
Joe
Reply


Messages In This Thread
running python hello world - by Avarage_Joe - Apr-12-2018, 11:41 PM
RE: running python hello world - by Larz60+ - Apr-13-2018, 12:24 AM
RE: running python hello world - by Avarage_Joe - Apr-13-2018, 01:38 AM
RE: running python hello world - by Larz60+ - Apr-13-2018, 02:12 AM
RE: running python hello world - by Avarage_Joe - Apr-13-2018, 01:02 PM
RE: running python hello world - by sparkz_alot - Apr-13-2018, 01:53 PM
RE: running python hello world - by snippsat - Apr-13-2018, 03:01 PM
RE: running python hello world - by Avarage_Joe - Apr-13-2018, 03:11 PM
RE: running python hello world - by Avarage_Joe - Apr-13-2018, 04:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  World Clock syntax error OscarBoots 1 321 May-03-2024, 05:20 AM
Last Post: snippsat
  Hello World! rufenghk 0 1,023 Jun-02-2022, 09:48 PM
Last Post: rufenghk
  Very new to Python world daveseaman 0 1,538 Jun-25-2021, 07:17 PM
Last Post: daveseaman
  Help | Classes to use in real world soothsayerpg 9 4,372 Jul-08-2019, 07:30 PM
Last Post: nilamo
  Hello world! program, window disappears nerio 3 5,756 Mar-16-2018, 07:03 PM
Last Post: knackwurstbagel
  'Hello, World!' Problem - Urgent OmarSinno 7 4,749 Sep-07-2017, 06:22 AM
Last Post: OmarSinno
  how to generate random 3d world (like minecraft) in python hsunteik 3 119,115 Jan-06-2017, 06:35 PM
Last Post: metulburr
  Hello World issues when using %% with ipython landlord1984 5 9,138 Dec-11-2016, 10:11 PM
Last Post: Yoriz

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020