I have created a python script that works really well. It opens a .txt
file and picks a word a random before using that for a quiz. If I want to share this code do I need to share the .txt
file also and does the receiver have to change the path to the .txt
file in the code to the location of the txt file on their computer?
Other than putting the words as a list directly in the code is there a way of referencing the .txt
file to the code in such a way that it will work on any computer?