Python Forum
Something So Basic It is Embarrassing
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Something So Basic It is Embarrassing
#1
I am a brand new learner of python.

I created a text file named 'hello.py' and the content of the file is print('Hello'). It resides on my hard drive in folder C:\python.

I want to import and run this file in Python 3.7.2 Shell. When I type in C:\python hello.py or C:\\python hello.py I get the following message - SyntaxError: unexpected character after line continuation character.

What am I doing wrong? This seems like something so simple I am embarrassed to even write about it.

Thanks
Reply


Messages In This Thread
Something So Basic It is Embarrassing - by Newsome - Jan-31-2019, 02:36 PM

Forum Jump:

User Panel Messages

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