Пример #1
0
import hello

hello.print_func("Rashed")


Пример #2
0
#!/usr/bin/python3
#Filename:test.py

#导入模块
import hello

hello.print_func('猪婆')
Пример #3
0
#!/usr/bin/python

import hello
hello.print_func("Raj Uprade is working on New M&C")

Пример #4
0
#!/usr/bin/python

# Import module hello
import hello

# Now you can call defined function that module as follows
hello.print_func("Zara")
Пример #5
0
#!/usr/bin/python3
#coding:utf-8

import hello

if __name__ == '__main__':
    hello.print_func("你好")
Пример #6
0
# Import hello module
import hello

# Call function
hello.world()

hello.print_func("Shri Ram")
Пример #7
0
#!/usr/bin/python

# Import module hello
import hello

# Now you can call defined function that module as follows
hello.print_func("EBA")