Python Forum
Thread Rating:
  • 2 Vote(s) - 1.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Graphics py not found
#9
(Apr-05-2017, 12:05 PM)vnc Wrote: ...even 'c:\>python' throws a 'unexpected character after line continuation character' error
You are mixing up the use Python interactive shell and cmd
Introduction to the Windows Command Prompt(cmd)

To make your error and fix it:
I start cmd:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Med enerett.

C:\WINDOWS\system32>cd\
C:\>python
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> c:\>python
  File "<stdin>", line 1
    c:\>python
             ^
SyntaxError: unexpected character after line continuation character
>>> exit()

# Now i am on command line and not python shell
C:\>python -V
Python 3.6.0

C:\>pip -V
pip 9.0.1 from c:\python36\lib\site-packages (python 3.6)

# Start shell again
C:\>python
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print('hello world')
hello world
>>>
Reply


Messages In This Thread
Graphics py not found - by vnc - Apr-03-2017, 04:56 PM
RE: Graphics py not found - by metulburr - Apr-03-2017, 05:30 PM
RE: Graphics py not found - by snippsat - Apr-03-2017, 05:41 PM
RE: Graphics py not found - by wavic - Apr-03-2017, 06:00 PM
RE: Graphics py not found - by vnc - Apr-04-2017, 10:05 AM
RE: Graphics py not found - by wavic - Apr-04-2017, 10:53 AM
RE: Graphics py not found - by snippsat - Apr-04-2017, 11:49 AM
RE: Graphics py not found - by vnc - Apr-05-2017, 12:05 PM
RE: Graphics py not found - by snippsat - Apr-05-2017, 12:36 PM
RE: Graphics py not found - by vnc - Apr-05-2017, 02:19 PM
RE: Graphics py not found - by snippsat - Apr-05-2017, 03:12 PM
RE: Graphics py not found - by vnc - Apr-05-2017, 03:48 PM
RE: Graphics py not found - by snippsat - Apr-05-2017, 04:13 PM
RE: Graphics py not found - by wavic - Apr-05-2017, 05:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python graphics kaltenherz 1 1,778 Sep-05-2021, 05:19 PM
Last Post: jefsummers
  How can I found how many numbers are there in a Collatz Sequence that I found? cananb 2 2,628 Nov-23-2020, 05:15 PM
Last Post: cananb
  from graphics import * jmaloney413 2 5,359 Oct-18-2018, 08:22 AM
Last Post: perfringo

Forum Jump:

User Panel Messages

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