Simon Chang
Simon Chang

Reputation: 69

How to set up the filepath in code to make it runnable for others

I build a small project in python, now I need to send to another user to make him run it. But if he downloads my code on his computer then the file path(which based on my computer) won't be valid anymore. Is there anything I can do to make it runnable for him by setting up the path correctly?

Upvotes: 0

Views: 32

Answers (1)

Zatoichi
Zatoichi

Reputation: 11

zip the folder that it is located in and have them place it in the same location i.e if it is in your documents folder have them place it there

Upvotes: 1

Related Questions