On Tue, Aug 09, 2016 at 09:43:26AM -0700, Cyrus Parvereshi wrote: > Hi! I'm starting out with programming by self-studying python with a > textbook used at my university. I came to a chapter that introduced object > oriented programming with graphics tools like GraphWin and Point. However, > even though I downloaded the author's graphics.py file from his website and > put it in the same folder as the IDLE interpreter, Python command prompt, > and every other python program, I still cannot use the module. Every single > time I attempt to use a command like "import graphics" or "from graphics > import * " it gives an error that there is no module called 'graphics.py.
What do you mean, "the same folder as the IDLE interpreter"? IDLE is not an interpreter. Please give us some more information so we can help you: - What operating system are you using? Linus? Mac? Windows? - What version of Python are you using? - Where did you put the graphics.py file? *Exactly*. Please don't take a screenshot, just copy and paste (or type) the *EXACT* name of the folder. - From inside IDLE, please run this code and COPY AND PASTE (no screenshots) the output: import sys print(sys.path) > I would like to know how to fix this issue so that I can access the > graphics module. The technical answer is "put the graphics.py file somewhere in the Python path, and make sure it is readable". For an expert, that's all the answer they will need. Don't feel bad if you don't know how to do this -- you're only starting. Answer the questions above, and we'll help with the rest. (Remember to reply to the mailing list, not to me privately.) -- Steve _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor