Python educational game | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Python educational game

I am making a education game using python OOP I was wondering If I can use python to go to a website and get a past paper question. or is they a way I can make python use past paper questions from a file

16th Sep 2017, 5:23 PM
Hammad Muhammad
1 Answer
0
So file.read("name") reads a file; however, i myself have not been able to do line by line but you can go to python's webpage and go to the dictionary around .read()
16th Sep 2017, 7:46 PM
NulledNVoided
NulledNVoided - avatar