chrisyeh96 / chrisyeh96.github.io

Personal website
https://chrisyeh96.github.io
MIT License
22 stars 22 forks source link

Possible Typo #11

Closed bobbyyan0 closed 4 years ago

bobbyyan0 commented 4 years ago

Should the "test/packA/," in "2. Use absolute imports rooted at the test/ directory (i.e., middle column in the table above). This guarantees that running start.py directly will always work. In order to run a2.py directly, we can modify sys.path in a2.py to include test/packA/, before sa2 is imported." of https://chrisyeh96.github.io/2017/08/08/definitive-guide-python-imports.html#case-2-syspath-could-change be "test/" instead? Thank you.

chrisyeh96 commented 4 years ago

Good catch, you are correct. This has been fixed!