Ejemplo n.º 1
0
#!/usr/bin/env python

import hello_module as h

h.hello(2)

Ejemplo n.º 2
0
#!/usr/bin/env python

import hello_module

hello_module.hello(2)

Ejemplo n.º 3
0
#!/usr/bin/env python

from hello_module import hello

hello(2)

Ejemplo n.º 4
0
#!/usr/bin/env python

import hello_module as h

h.hello(2)
Ejemplo n.º 5
0
# 测试导入一个自定义模块

import hello_module

hello_module.hello(11)
Ejemplo n.º 6
0
#!/usr/bin/python3

import hello_module as h

h.hello()