python relative import

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-10-20 01:00:00 +00:00
parent 27fc5deefe
commit 3990333f3d
8 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env python
import myfile
assert myfile.a == 1
b = myfile.a + 1