https://bic-berkeley.github.io/psych-214-fall-2016/sys_path.html Where does Python look for modules? See: Python docs on sys.path; Python Module of the Week on: Import Path. Let's say we have written a Python module and saved it as a_module.py, in a directory called code. We also have a script called a_script.py in a directory called scripts. We want to be able to import the code in a_module.py to use in a_script.py. […]
Read more of this post
No comments:
Post a Comment