Page 38 - Python Cơ Bản
P. 38
$ python myexample.py
7EY OLM XLрG LMЖR WЌ LMВR XLК PɱR QɧR LɳRL Pɧ
Tong hai so la: 3
4EGOEKI QSHYPI
'ɹ XLВ KSQ RLMАY QSHYPI .py ZɧS QШX XL QдG Zɧ XɱR XL
QдG Pɧ XɱR GжE TEGOEKI Zɧ XϰS QШX JMPI __init__.py XVSRK
XL QдG Rɧ]
2L Zϼ] GϴY XVɾG XL GжE QШX TEGOEKI WЌ RL WEY
|-- mypack
| |-- __init__.py
| |-- mymodule1.py
| |-- mymodule2.py
|
'ɹ XLВ Wм HдRK mymodule1 XLIS Gɾ TLɨT MQTSVX WEY