semvec/pypi-packages huggingface dataset:
tanaod 0.0.2
First libary from tanaod
License: MIT
Keywords: tanaod,oop,Tanupat Satitvattana

(oop school) ไลบราลี่สำหรับใช้เรียน by TanAod
=============================================

PyPI: https://pypi.org/project/tanaod/

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

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

เปิด CMD / Terminal

.. code:: python

    pip install tanaod

วิธีใช้
~~~~~~~

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

.. code:: python

    from tanaod import Student,Tesla,SpecialStudent,Teacher
    #day0
        print('---------day0---------')
        allstudent = []
        teacher1 = Teacher('ada lovelace')
        teacher2 = Teacher('bill gate')
        print(teacher1.students)

        #day1
        print('--------day1--------')
        st1 = Student('Albert','Einstein')
        allstudent.append(st1)
        print(st1.fullname)
        teacher2.Addstudent(st1)


        #day2
        print('--------day2--------')
        st2 = Student('steve','jobs')
        allstudent.append(st2)
        print(st2.fullname)
        teacher2.Addstudent(st2)

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

        st2.Coding()
        st1.Showexp()
        st2.Showexp()

        #day4
        print('-------day4---------')
        stp1 = SpecialStudent('thomas' , 'Edison' ,'Hitler')
        allstudent.append(stp1)
        teacher1.Addstudent(st1)
        print(stp1.fullname)
        stp1.exp = 20
        stp1.Coding()
        stp1.Showexp() 

        #day5
        print('-------day5---------')
        print('กลับบ้านยังไง')

        print(allstudent)
        for st in allstudent:
            print('ผม {} กลับด้วย {} ครับ'.format(st.name,st.vehicle))
            if isinstance(st,SpecialStudent):
                st.vehicle.SelfDriving(st)

        #day6
        print('---------day6--------')
        teacher1.CheckStudent()
        teacher2.CheckStudent()

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

พัฒนาโดย: ตนุภัทร สถืตวรรธนะ FB:
https://www.facebook.com/tanupat.satitvattana/ IG: tan\_aod , a0d14
sp-cli 1.3.5
🏫 Basic CLI for school planning.
License: MIT

# spc

Pre-requirements:
* python (> 3)

## Installation
```
pip install sp-cli
```

## Upgrade
```
pip install --upgrade sp-cli
```

## Commands

```
spc -h           
```

    - create              [Creating agenda.]
    - add                 [Adding new task in agenda.]
    - done                [Removing task in agenda.]
    - serve               [Creating local server for listing all tasks in browser.]
    - restore             [Restoring task in angenda.]

# Summary
- [create](#create)
- [add](#add)
- [done](#done)
- [serve](#serve)
- [restore](#restore)


## Examples

<div id="create">Creating agenda</div>

```
spc create (optional: -c or --create [filename])
```
by default filename is "index".

```
spc create -c "agenda"
```

```
spc create --create "agenda"
```

----------------------------------------------


<div id="add">Adding new task in agenda.</div>

```
spc add (optional: -a or --add [filename])
```

```
spc add -a "agenda"

Title of task ? Review Lesson
School subject ? Mathematics
Date (format YYYY/MM/DD) ? 2020/03/18
Hour (format HH/MM) ? 16:30
```

----------------------------------------------

<div id="serve">Creating local server for listing all tasks in browser</div>

```
spc serve (optional: -n or --name [filename], -p or --port [PORT])
```

```
spc serve

Bottle v0.12.18 server starting up (using WSGIRefServer())...
Listening on http://localhost:4000/
Hit Ctrl-C to quit.
```


In your browser, you type this link: ``http://localhost:4000/``

![example1](https://raw.githubusercontent.com/kaoulad/spc/master/assets/example1.png)

----------------------------------------------

<div id="done">You can get id of task in local server created by: </div>

``spc serve``

```
spc done [id] (optional: -n or --name [filename]) 
```

```
spc done acf06dcb-4f02-47ff-9300-7871c14e803b
```

![example2](https://raw.githubusercontent.com/kaoulad/spc/master/assets/example2.png)

----------------------------------------------

<div id="restore">Restoring task in agenda</div>

```
spc restore [id] (optional: -rn or --restore_name [filename]) 
```

```
spc restore acf06dcb-4f02-47ff-9300-7871c14e803b
```

If your are late for complishing task, there will this message.
![example3](https://raw.githubusercontent.com/kaoulad/spc/master/assets/example3.png)