1
0
mirror of synced 2026-01-21 18:25:32 +00:00
Mohamed Gaber 738b5eef0b
Add dirname of script file to sys.path
This matches the behavior of running a Python interpreter, where the
first element of sys.path is the dirname of the script being run.

This allows importing of files and modules in the same directory without
messing with PYTHONPATH or similar.
2024-09-11 21:45:51 +03:00
..
2022-11-30 18:24:35 +01:00
2024-02-06 17:51:24 +01:00
2022-05-27 12:37:03 +02:00
2024-08-21 11:01:09 +01:00
2024-09-05 11:17:12 +02:00
2021-10-08 15:44:07 +02:00
2024-08-16 04:30:31 +12:00
2024-08-21 11:04:11 +01:00
2022-01-28 23:34:41 +01:00
2024-08-16 04:30:31 +12:00
2024-02-06 18:01:26 +01:00
2024-02-06 18:01:26 +01:00
2024-07-18 16:02:11 +02:00
2023-04-17 10:53:05 -07:00
2023-01-11 18:07:16 +01:00