pysortcsv


Namepysortcsv JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/oattao123/pysortcsv
SummaryLearning by oattao123
upload_time2023-05-31 14:53:01
maintainer
docs_urlNone
authoroattao123
requires_python
licenseMIT
keywords py sort csv
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            (OOP School) ไลบรารี่สำหรับใช้เรียน Python OOP by Uncle Engineer
================================================================

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

โปรแกรมนี้ลุงใช้สำหรับสอนการเขียนโปรแกรมแบบ OOP
สามารถดูตัวอย่างคลิปวิดีโอที่สอนได้ใน: https://youtu.be/1egtTXUJ3-4

วิธีติดตั้ง
~~~~~~~~~~~

เปิด CMD / Terminal

.. code:: python

    pip install oopschool

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

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

.. code:: python

    from oopschool import Student,Tesla,SpecialStudent,Teacher
    allstudent = []

    teacher1 = Teacher('Ada Lovelace')
    teacher2 = Teacher('Bill Gates')
    print(teacher1.students)

    # Day 1
    print('-----Day 1----')
    st1 = Student('Albert','Einstein')
    allstudent.append(st1) #สมัครเสร็จเก็บไว้ในลิสต์นักเรียนทันที
    teacher2.AddStudent(st1)
    print(st1.fullname)

    # Day 2
    print('-----Day 2----')
    st2 = Student('Steve','Jobs')
    allstudent.append(st2)
    teacher2.AddStudent(st2)
    print(st2.fullname)

    # Day 3
    print('-----Day 3----')
    for i in range(3):
        st1.Coding()

    st2.Coding()
    st1.ShowEXP()
    st2.ShowEXP()

    # Day 4
    print('-----Day 4----')

    stp1 = SpecialStudent('Thomas','Edison','Hitler')
    allstudent.append(stp1)
    teacher1.AddStudent(stp1)
    print(stp1.fullname)
    print('คุณครูครับ ขอคะแนนฟรีสัก 20 คะแนนได้ไหม')
    stp1.exp = 20 # แก้ไขค่าในคลาสได้
    stp1.Coding()
    stp1.ShowEXP()

    # Day 5
    print('-----Day 5----')
    print('นักเรียนกลับบ้านยังไงจ๊ะ?')
    print(allstudent)
    for st in allstudent:
        print('ผม: {} กลับบ้านด้วย {} ครับ'.format(st.name,st.vehicle))
        if isinstance(st,SpecialStudent):
            st.vehicle.SelfDriving(st)
    # Day 6
    print('-----Day 6----')

    teacher1.CheckStudent()
    teacher2.CheckStudent()

    print('รวมพลังของนักเรียน 2 คน ', st1 + st2 )

พัฒนาโดย: ลุงวิศวกร สอนคำนวณ FB: https://www.facebook.com/UncleEngineer
YouTube: https://www.youtube.com/UncleEngineer

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/oattao123/pysortcsv",
    "name": "pysortcsv",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "py,sort,csv",
    "author": "oattao123",
    "author_email": "dceriythrrmkic@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/79/91/4d576db257dad77728d25f427e8702b13d1f1cc0e691c32eeab357963cb1/pysortcsv-0.0.1.tar.gz",
    "platform": null,
    "description": "(OOP School) \u0e44\u0e25\u0e1a\u0e23\u0e32\u0e23\u0e35\u0e48\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e43\u0e0a\u0e49\u0e40\u0e23\u0e35\u0e22\u0e19 Python OOP by Uncle Engineer\r\n================================================================\r\n\r\nPython OOP+ \u0e27\u0e34\u0e18\u0e35\u0e2a\u0e23\u0e49\u0e32\u0e07 Library \u0e40\u0e1b\u0e47\u0e19\u0e02\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e40\u0e2d\u0e07+ \u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14 Package \u0e44\u0e1b\u0e22\u0e31\u0e07\r\nPyPI.org\r\n\r\n\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e19\u0e35\u0e49\u0e25\u0e38\u0e07\u0e43\u0e0a\u0e49\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e2a\u0e2d\u0e19\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e41\u0e1a\u0e1a OOP\r\n\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e14\u0e39\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e04\u0e25\u0e34\u0e1b\u0e27\u0e34\u0e14\u0e35\u0e42\u0e2d\u0e17\u0e35\u0e48\u0e2a\u0e2d\u0e19\u0e44\u0e14\u0e49\u0e43\u0e19: https://youtu.be/1egtTXUJ3-4\r\n\r\n\u0e27\u0e34\u0e18\u0e35\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\r\n~~~~~~~~~~~\r\n\r\n\u0e40\u0e1b\u0e34\u0e14 CMD / Terminal\r\n\r\n.. code:: python\r\n\r\n    pip install oopschool\r\n\r\n\u0e27\u0e34\u0e18\u0e35\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e41\u0e1e\u0e47\u0e04\u0e40\u0e1e\u0e08\u0e19\u0e35\u0e49\r\n~~~~~~~~~~~~~~~~~~~~\r\n\r\n-  \u0e40\u0e1b\u0e34\u0e14 IDLE \u0e02\u0e36\u0e49\u0e19\u0e21\u0e32\u0e41\u0e25\u0e49\u0e27\u0e1e\u0e34\u0e21\u0e1e\u0e4c...\r\n\r\n.. code:: python\r\n\r\n    from oopschool import Student,Tesla,SpecialStudent,Teacher\r\n    allstudent = []\r\n\r\n    teacher1 = Teacher('Ada Lovelace')\r\n    teacher2 = Teacher('Bill Gates')\r\n    print(teacher1.students)\r\n\r\n    # Day 1\r\n    print('-----Day 1----')\r\n    st1 = Student('Albert','Einstein')\r\n    allstudent.append(st1) #\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e40\u0e2a\u0e23\u0e47\u0e08\u0e40\u0e01\u0e47\u0e1a\u0e44\u0e27\u0e49\u0e43\u0e19\u0e25\u0e34\u0e2a\u0e15\u0e4c\u0e19\u0e31\u0e01\u0e40\u0e23\u0e35\u0e22\u0e19\u0e17\u0e31\u0e19\u0e17\u0e35\r\n    teacher2.AddStudent(st1)\r\n    print(st1.fullname)\r\n\r\n    # Day 2\r\n    print('-----Day 2----')\r\n    st2 = Student('Steve','Jobs')\r\n    allstudent.append(st2)\r\n    teacher2.AddStudent(st2)\r\n    print(st2.fullname)\r\n\r\n    # Day 3\r\n    print('-----Day 3----')\r\n    for i in range(3):\r\n        st1.Coding()\r\n\r\n    st2.Coding()\r\n    st1.ShowEXP()\r\n    st2.ShowEXP()\r\n\r\n    # Day 4\r\n    print('-----Day 4----')\r\n\r\n    stp1 = SpecialStudent('Thomas','Edison','Hitler')\r\n    allstudent.append(stp1)\r\n    teacher1.AddStudent(stp1)\r\n    print(stp1.fullname)\r\n    print('\u0e04\u0e38\u0e13\u0e04\u0e23\u0e39\u0e04\u0e23\u0e31\u0e1a \u0e02\u0e2d\u0e04\u0e30\u0e41\u0e19\u0e19\u0e1f\u0e23\u0e35\u0e2a\u0e31\u0e01 20 \u0e04\u0e30\u0e41\u0e19\u0e19\u0e44\u0e14\u0e49\u0e44\u0e2b\u0e21')\r\n    stp1.exp = 20 # \u0e41\u0e01\u0e49\u0e44\u0e02\u0e04\u0e48\u0e32\u0e43\u0e19\u0e04\u0e25\u0e32\u0e2a\u0e44\u0e14\u0e49\r\n    stp1.Coding()\r\n    stp1.ShowEXP()\r\n\r\n    # Day 5\r\n    print('-----Day 5----')\r\n    print('\u0e19\u0e31\u0e01\u0e40\u0e23\u0e35\u0e22\u0e19\u0e01\u0e25\u0e31\u0e1a\u0e1a\u0e49\u0e32\u0e19\u0e22\u0e31\u0e07\u0e44\u0e07\u0e08\u0e4a\u0e30?')\r\n    print(allstudent)\r\n    for st in allstudent:\r\n        print('\u0e1c\u0e21: {} \u0e01\u0e25\u0e31\u0e1a\u0e1a\u0e49\u0e32\u0e19\u0e14\u0e49\u0e27\u0e22 {} \u0e04\u0e23\u0e31\u0e1a'.format(st.name,st.vehicle))\r\n        if isinstance(st,SpecialStudent):\r\n            st.vehicle.SelfDriving(st)\r\n    # Day 6\r\n    print('-----Day 6----')\r\n\r\n    teacher1.CheckStudent()\r\n    teacher2.CheckStudent()\r\n\r\n    print('\u0e23\u0e27\u0e21\u0e1e\u0e25\u0e31\u0e07\u0e02\u0e2d\u0e07\u0e19\u0e31\u0e01\u0e40\u0e23\u0e35\u0e22\u0e19 2 \u0e04\u0e19 ', st1 + st2 )\r\n\r\n\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e42\u0e14\u0e22: \u0e25\u0e38\u0e07\u0e27\u0e34\u0e28\u0e27\u0e01\u0e23 \u0e2a\u0e2d\u0e19\u0e04\u0e33\u0e19\u0e27\u0e13 FB: https://www.facebook.com/UncleEngineer\r\nYouTube: https://www.youtube.com/UncleEngineer\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Learning by oattao123",
    "version": "0.0.1",
    "project_urls": {
        "Download": "https://github.com/oattao123/pysortcsv/archive/refs/tags/v0.0.1.zip",
        "Homepage": "https://github.com/oattao123/pysortcsv"
    },
    "split_keywords": [
        "py",
        "sort",
        "csv"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "79914d576db257dad77728d25f427e8702b13d1f1cc0e691c32eeab357963cb1",
                "md5": "05c79e89e587bc01bf198ee930efbfe7",
                "sha256": "bc17e9659ff51804bd51bbc6610f2f6374036d437b47022868675e8bb2c7c3fb"
            },
            "downloads": -1,
            "filename": "pysortcsv-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "05c79e89e587bc01bf198ee930efbfe7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3888,
            "upload_time": "2023-05-31T14:53:01",
            "upload_time_iso_8601": "2023-05-31T14:53:01.923029Z",
            "url": "https://files.pythonhosted.org/packages/79/91/4d576db257dad77728d25f427e8702b13d1f1cc0e691c32eeab357963cb1/pysortcsv-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-31 14:53:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "oattao123",
    "github_project": "pysortcsv",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pysortcsv"
}
        
Elapsed time: 0.20295s