semvec/pypi-packages huggingface dataset:
oakschool 0.1
OOP Learning Example by Oakzkin
License: MIT
Keywords: OOP,Learning,Beginner

# This is example of oop (class) in python for beginner

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

เปิด CMD / Terminal

```python
pip install oakschool
```

### How to use

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

```python
from oakschool import Student, SpecialStudent
print('-----------------Day 1-------------------')
student0 = SpecialStudent('Mark','Bill Gates')
student0.NeedExp()
student0.ShowExp()

student1 = Student('Albert')  # st is object // this line is using class
print(student1.name)
student1.Hello()


print('-----------------------------------------')

student2 = Student('Steve')

print(student2.name)
student2.Hello()

print('-----------------Day 2--------------------')
print('Who wanna coding? (get 10 exp)')
print(student1.name)
student1.AddExp(10)


print('-----------------Day 3--------------------')
print('Each your exp is :')
print(student1.name, student1.exp)
print(student2.name, student2.exp)

print('-----------------Day 4--------------------')
for i in range(5):
    student2.Coding()

student1.ShowExp()
student2.ShowExp()
```
EXATools 3.9.3
Tools for EXAtom
License: MIT

# EXATools

## Version

### Version<br />

&emsp;&emsp;当前的版本号

## WaterMark

### WaterMarkCode<br />

&emsp;&emsp;原型: <br />
```python
def WaterMarkCode(Code, Contents = "水印", Extra = False)
```
&emsp;&emsp;```Code```为要添加水印的源代码。<br />
&emsp;&emsp;```Contents```为要添加的水印，如果不填则默认为"水印"。<br />
&emsp;&emsp;```Extra```表示是否加强，若加强则会在水印后添加校检码水印。默认为不加强。<br />

### WaterMarkImage<br />

&emsp;&emsp;原型：<br />
```python
def WaterMarkImage(ImagePath, WaterMarkPath, AddPath = os.getcwd())
```
&emsp;&emsp;```ImagePath```为要添加水印的图片的路径(如果在当前目录下则直接填写它的文件名)。<br />
&emsp;&emsp;```WaterMarkPath```为要添加的水印的路径(如果在当前目录下则直接填写它的文件名)。
&emsp;&emsp;```AddPath```为添加好水印的图片的路径，需要写出文件名(如果在当前目录下则直接填写它的文件名)。如果不填则默认为在当前目录下的WaterMark.png。

###

## Xopen

### Xopen<br />

&emsp;&emsp;原型: <br />
```python
def Xopen()
```
&emsp;&emsp;功能是打开当前文件所在目录。<br />

## Encry

### MD5<br />

&emsp;&emsp;原型: 
```python
def MD5(Text)
```
&emsp;&emsp;该函数的作用是用MD5加密Text，并返回加密后的字符串。

### SHA256<br />

&emsp;&emsp;原型: <br />
```python
def SHA256(Text)
```
&emsp;&emsp;该函数的作用是用SHA256加密Text，并返回加密后的字符串。

# Install

```bash
pip install EXATools
```