python module usage

2023-01-31 01:01:08 python module Usage

hello.py

#!/usr/bin/python
def hello():
print "imported me,hello world"
def login():
print "I'm already login"

test.py
--------------------------------------
    #!/usr/bin/Python 
    import hello 
    hello.hello()
    hello.login()

相关文章