I am reading a book about python. There is a sample. The first line is:
import media
I am trying to do the same, but the error like below
Traceback (most recent call last):
File "<pyshell#6>", line 1, in <module>
import media
ImportError: No module named media
I want to know, is the media a default library?
Best Regards,
Looks like you’re using this book (mentioning it specifically would have made it easier to identify than just saying “a book”, BTW;-). Per this thread, you need to install some modules as documented here, and possibly the pygraphics package. Doesn’t the book itself explain that, in an introduction or maybe in an appendix?