This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"v":1, | |
"version":"1.2.0", | |
"urls":[ | |
["esp32_ulp/__init__.py","github:micropython/micropython-esp32-ulp/esp32_ulp/__init__.py"], | |
["esp32_ulp/__main__.py","github:micropython/micropython-esp32-ulp/esp32_ulp/__main__.py"], | |
["esp32_ulp/assemble.py","github:micropython/micropython-esp32-ulp/esp32_ulp/assemble.py"], | |
["esp32_ulp/definesdb.py","github:micropython/micropython-esp32-ulp/esp32_ulp/definesdb.py"], | |
["esp32_ulp/link.py","github:micropython/micropython-esp32-ulp/esp32_ulp/link.py"], | |
["esp32_ulp/nocomment.py","github:micropython/micropython-esp32-ulp/esp32_ulp/nocomment.py"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Difference Between MicroPython and Python 3 when setting sys.path | |
# tested with MicroPython on Linux | |
# * built from git master | |
# * version = MicroPython v1.11-194-g3d02ebb4e-dirty | |
# tested with python3.4 on Linux (Python 3.4.3) | |
# * using docker container micktwomey/python3.4 | |
# * version = Python 3.4.3 (default, Oct 14 2015, 20:28:29) | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ports/unix/main.c b/ports/unix/main.c | |
index cd2dc49a5..c8b82794f 100644 | |
--- a/ports/unix/main.c | |
+++ b/ports/unix/main.c | |
@@ -621,8 +621,14 @@ MP_NOINLINE int main_(int argc, char **argv) { | |
break; | |
} | |
- // Set base dir of the script as first entry in sys.path | |
+ // Add base dir of the script as first entry in sys.path |