Skip to content

Instantly share code, notes, and snippets.

@laonger
Created April 27, 2014 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laonger/11337529 to your computer and use it in GitHub Desktop.
Save laonger/11337529 to your computer and use it in GitHub Desktop.
import dst
import a_1 # 1不能直接做变量,所以import 1是不行的。
import b_2
# 这里分两种情况,a_1中有一个主函数main,则运行main,如果没有主函数,a_1中直接就是逻辑代码,那么不需要运行任何东西,import a_1的时候,a_1的代码就会直接运行
a_1.main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment