Python Forum
Thread Rating:
  • 2 Vote(s) - 1.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Graphics py not found
#13
(Apr-05-2017, 03:48 PM)vnc Wrote: That worked i'm running now ...the problem was that i named the file 'graphics.py' as opposed to just 'graphics'.
Is the other way a around the file should be named graphics.py and placed somewhere in sys.path
When you import it there is no .py extension.
So when import:
>>> import graphics
>>> # Or
>>> from graphics import *
But if you have it working it's all good.
Not to happy with graphics.py teaching method just to mention that Undecided
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,820 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,679 Nov-23-2020, 05:15 PM
Last Post: cananb
  from graphics import * jmaloney413 2 5,418 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