Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
from graphics import *
#3
While doing that pip install per Larz60+ suggestion it's worth to check Python documentation regarding import best practices: What are the “best practices” for using import in a module?. Especially:

Quote:In general, don’t use from modulename import *. Doing so clutters the importer’s namespace
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
from graphics import * - by jmaloney413 - Oct-17-2018, 10:05 PM
RE: from graphics import * - by Larz60+ - Oct-17-2018, 11:24 PM
RE: from graphics import * - by perfringo - Oct-18-2018, 08:22 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python graphics kaltenherz 1 1,724 Sep-05-2021, 05:19 PM
Last Post: jefsummers
  Graphics py not found vnc 13 22,751 Apr-05-2017, 05:36 PM
Last Post: wavic

Forum Jump:

User Panel Messages

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