简体   繁体   中英

How to install “graphics” python library/module in the Python IDE Spyder?

I'm using Spyder to make some physics applications my teacher ask me to make a graphic interface. Previously I used graphics in python 3.5 to create simple windows to my projects. Now im trying to do this in Spyder, but when im using the graphics module methods Spyder says that is not defined.

PD Sorry for bad english im trying to improve.

Simply download graphics.py and move the file to your Python installation's site-packages folder. Restart Spyder and you should be all set.

只需从http://nifty.stanford.edu/2013/denero-muralidharan-trends/graphics.py.html下载graphics.py,然后从计算机中找到.spyder-py3文件夹,例如C:\\ Users \\ CSE.spyder-py3然后将文件graphics.py粘贴到.spyder-py3文件夹下。现在,您将能够在spyder IDE中导入图形。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM