10000 Update README.md · potchangelo/python-mysql-excel@0f2163d · GitHub
[go: up one dir, main page]

Skip to content

Commit 0f2163d

Browse files
authored
Update README.md
1 parent 9a9ccdc commit 0f2163d

File tree

1 file changed

+22
-28
lines changed

1 file changed

+22
-28
lines changed

README.md

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Python x MySQL x Excel by Zinglecode
2-
3-
Example Python codes that do the processes between MySQL database and Excel spreadsheet files.
1+
# Python x MySQL x Excel
2+
3+
ตัวอย่างโปรเจ็คอ่าน/บันทึกข้อมูลระหว่าง Database MySQL กับไฟล์ Excel จากคลิปสอน MySQL เบื้องต้น Ep.1-2 ของ Zinglecode
44

55
## YouTube videos
66

7-
- [MySQL #01](https://www.youtube.com/watch?v=axraNvtHjO4)
8-
- [MySQL #02](https://www.youtube.com/watch?v=xXDR9rxVfA8)
7+
- [สอน MySQL เบื้องต้น #01](https://www.youtube.com/watch?v=axraNvtHjO4)
8+
- [สอน MySQL เบื้องต้น #02](https://www.youtube.com/watch?v=xXDR9rxVfA8)
99

1010
## Setup database table
1111

@@ -24,56 +24,50 @@ Example Python codes that do the processes between MySQL database and Excel spre
2424
![products_hashtags table structure](https://raw.githubusercontent.com/potchangelo/python-mysql-excel/dev/snapshots/yt-2-db-table-products-hashtags-structure.jpg "products_hashtags table structure")
2525
*products_hashtags table structure*
2626

27-
## Install Python 3 and pipenv
28-
29-
1. Download Python 3 installation file from https://www.python.org/
30-
31-
2. Install pipenv as global package by this command.
32-
33-
```
34-
pip install pipenv
35-
```
36-
37-
Note: for macOS with pre-installed Python 2, use pip3 instead of pip.
38-
3927
## Install and run project by PyCharm
4028

41-
1. Download this project.
29+
0. ติดตั้ง MySQL, MySQL Workbench, Python 3, Pipenv, และ PyCharm ลงเครื่องให้เรียบร้อยก่อน
30+
31+
1. ดาวน์โหลดโปรเจ็คนี้ลงเครื่อง
4232

43-
2. Open PyCharm and choose File -> Open... -> Then select project folder
33+
2. เปิดโฟลเดอร์โปรเจ็คใน PyCharm โดยเลือกที่เมนู File -> Open... -> และเลือกโฟลเดอร์
4434

45-
3. Fix any warning recommended by PyCharm.
35+
3. แก้ไข Warning อะไรก็ตามที่ขึ้นมาใน PyCharm ให้เรียบร้อย
4636

47-
4. Make sure that every project packages is installed, by open PyCharm Terminal and type command.
37+
4. ติดตั้ง Packages
4838

4939
```
5040
pipenv install
5141
```
5242

53-
5. Open "main.py", right click on code area, select Run 'main'
43+
5. เปิดไฟล์ main.py และคลิกขวาที่พื้นที่เขียนโค้ด แล้วเลือก Run 'main'
5444

55-
6. Program will inform you, to type one file name from "scripts" folder to be run.
45+
6. โปรแกรมจะให้ระบุชื่อไฟล์ที่ต้องการรัน ดูชื่อไฟล์ได้จากโฟลเดอร์ scripts (ใส่ไปแบบไม่ต้องเติม .py)
5646

5747
## Install and run project by CLI
5848

59-
1. Download this project
49+
0. ติดตั้ง MySQL, MySQL Workbench, Python 3, และ Pipenv ลงเครื่องให้เรียบร้อยก่อน
50+
51+
1. ดาวน์โหลดโปรเจ็คนี้ลงเครื่อง
52+
53+
2. เปิด Terminal หรือ Command Prompt หรือ PowerShell ที่โฟลเดอร์โปรเจ็ค
6054

61-
2. Open Terminal or Command Prompt at project folder, then install packages.
55+
3. ติดตั้ง Packages
6256

6357
```
6458
pipenv install
6559
```
6660

67-
3. Activate pipenv environment.
61+
4. Activate pipenv environment
6862

6963
```
7064
pipenv shell
7165
```
7266

73-
4. Run "main.py"
67+
5. รันไฟล์ main.py
7468

7569
```
7670
python main.py
7771
```
7872

79-
5. Program will inform you, to type one file name from "scripts" folder to be run.
73+
6. โปรแกรมจะให้ระบุชื่อไฟล์ที่ต้องการรัน ดูชื่อไฟล์ได้จากโฟลเดอร์ scripts (ใส่ไปแบบไม่ต้องเติม .py)

0 commit comments

Comments
 (0)
0