Skip to main content

MY profile by mamaprofile

Project description

PyPi: https://pypi.org/project/mamaprofile/

Python OOP+ วิธีสร้าง Library เป็นของตัวเอง+ อัพโหลด Package ไปยัง PyPI.org

โปรแกรมนี้ใช้สำหรับสอนการเขียนโปรแกรมแบบ OOP

วิธีติดตั้ง

เปิด CMD / Terminal

pip install mamaprofile

วิธีใช้งานแพ็คเพจนี้

  • เปิด IDLE ขึ้นมาแล้วพิมพ์…

```python from mamaprofile import profile

print('start')
me = profile('Mama')
print(me)
print(me.name)
me.company = 'ABC'
me.show_email()
print('----------------')

me.hobby = ['Youtuber','Reading','Sleeping']
me.show_hobby()

other = profile('Papa')
print(other)
print(other.name)
other.show_email()

art = other.show_ascii_art()
print(art)
print('\n',other.show_ascii_art())

พัฒนาโดย: mamaprofile

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mamaprofile-0.0.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page