简体   繁体   中英

(Python) Create a Student class. Each student should have a name and a picture. Add a method, show, that shows the picture for the student

above is a question from my introduction to python class that I have been struggling with for some time.

Could anyone provide me with some source code on how to select / display the student pictures?

I am relatively new to programming, and working with media in python has proved particularly difficult for me.

NOTE: I do not want you to do my homework!! This is material that I must learn, and am simply looking for some code to reference for learning & understanding purposes.

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