Skip to content

Commit 8b3bcae

Browse files
committed
test git
1 parent 90d44f2 commit 8b3bcae

File tree

4 files changed

+54
-2
lines changed

4 files changed

+54
-2
lines changed

README.md

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
11
# นางสาวศุภนิตา ดาดวน 603021129-1
2-
![nita](000032.JPG)
3-
## วิธีการinstall python +packgate
2+
3+
## วิธีการinstall miniconda python + packgate
4+
### 1.1 เข้าเว็บ https://docs.conda.io/en/latest/miniconda.html เลือกระบบปฎิบัติการและเวอร์ชันที่ต้องการติดตั้ง
5+
![](a1.jpg)
6+
![](a2.jpg)
7+
ทำการติดตั้งจนสำเร็จการติดตั้ง จะได้ดังรูปข้างล่าง
8+
![](a3.png)
9+
เลือกเข้า Anacoda Prompt(Miniconda 3)
10+
![](a4.png)
11+
จะเข้าสู่หน้าการพร้อมการใช้งาน
12+
![](a5.png)
13+
ตรวจสอบเวอร์ชัน pthon โดย การพิมพ์ python และกด enter
14+
![](a6.png)
15+
หลังจากตรวจสอบเสร็จ ออกจาก python กลับมาที่ drive ใน อุปกรณ์ที่ใช้
16+
### 1.2 การใช้ jupyter notebook เริ่มจาก
17+
![](a7.png)
18+
ติดตั้ง matplotlibและ jupyter เพื่อใช้ในการสร้าง visualization โดยใช้คำสั่ง conda install ตามด้วย package ที่ต้องการติดตั้ง
19+
![](a8.png)
20+
โปรแกรมจะถามว่าดำเนินการติดตั้งต่อหรือไม่ ให้พิมพ์ y แล้วกด enter
21+
![](a10.png)
22+
กรณีที่มีการติดตั้งแล้ว โปรแกรมจะขึ้นการแจ้งเตือนดังภาพข้างบน
23+
ทำการเลือก folder ที่ต้องการให้ไฟล์เก็บอยู่ในตำแหน่งนั้น โดยการ พิมพ์ cd “ที่อยู่ folder”
24+
![](a11.png)
25+
เมื่อย้ายเสร็จแล้ว ทำการเปิด jupyter notebook โดยการใช้คำสั่ง jupyter notebook เพื่อเริ่มเขียน code
26+
![](a12.png)
27+
ทำการสร้าง ไฟล์ ในการเขียน python 3 โดยการคลิกเข้าที่ new>>Python 3 จะได้ไฟล์การเขียน code Python
28+
![](a13.png)
29+
เมื่อถึงหน้านี้ เป็นการเสร็จสิ้นในการติดตั้งและเริ่มใช้งาน python 3 ใน jupyter notebook
30+
![](a14.png)
31+
เมื่อต้องการจบการใช้งาน ให้กด ปิด ใน browser และกด ctrl+c ใน Anaconda Prompt
32+
![](a15.png)
33+
โปรแกรมจะกลับมา ยัง drive ที่ระบุใน Anaconda Prompt
434
## วิธีการinstall colab
35+
เข้าลิงค์ https://colab.research.google.com/notebooks/welcome.ipynb Log in google เพื่อการ save file python ที่เขียน ลง google drive
36+
![](a16.png)
37+
สร้าง แผ่นงานในการเขียน python โดยเข้าไปที่ file>>new Python 3 notebook สามารถแก้ไขชื่องานที่ต้องการได้โดย double click ที่ ชื่อ fileแล้วพิมพ์แก้
38+
![](a17.png)
39+
กรณีต้องการเซฟสามารกด ctrl+ S ได้ ซึ่ง file จะถูก save ลง google drive ใน folder colab notebook โดยอัตโนมัติ
540
## วิธีการใช้้งาน github
41+
### 3.1 ลงทะเบียน ผ่านเว็บ https://github.com/
42+
![](a18.png)
43+
สร้าง Project (การส่งงานในแต่ละครั้ง) เข้าไปที่ new กรอกชื่อ project และทำ projectให้เป็น public เมื่อสร้างเสร็จ ให้คลิกที่ clone or download เพื่อ คัดลอก url นำไปใช้ในการเขียน blog ผ่าน Anaconda Prompt และ Visual Studio Code(install ก่อน โดยเข้าไปที่ลิงค์ https://code.visualstudio.com/download)
44+
![](a19.png)
45+
เมื่อสมัครและสร้าง Project เสร็จแล้ว ให้เข้า Anaconda Prompt และใช้คำสั่ง conda install git และ Visual Studio Code เพื่อติดตั้งลงเครื่องที่ใช้งาน
46+
### 3.2 เริ่มทำgit ลง Anaconda Prompt
47+
![](a20.png)
48+
ติดตั้ง git โดยใช้คำสั่ง conda install -c anaconda git จากั้นทำการเชื่อม git กับ anaconda โดยใช้คำสั่ง clone + URL ของ project ใน git hub ที่ต้องการจะลง จากนั้นใช้คำสั่ง code . เพื่อจะทำการแก้ไข project ใน Visual Studio Code
49+
![](a21.png)
50+
เริ่มทำการเขียน Project
51+
ใช้คำสั่ง git status เพื่ออัพเดทว่าเราได้เปลี่ยนแปลงอะไรไปบ้าง ถ้าขึ้นตัวอักษรสีแดงแสดงว่ายังไม่ทำการเปลี่ยนแปลงใน github ให้ใช้คำสั่ง git add เพิ่ม file ที่ต้องการ และใช้คำสั่ง git commit -m “test git” เพื่อดูคำอธิบาย file แล้วใช้คำสั่ง git push เพื่อให้สิ่งที่เราเปลี่ยนแปลง ลงใน github ดังรูปข้างล่างนี้
52+
![](a22.png)
53+
![](a23.png)
54+
![](a24.png)
55+
![]()
56+
![]()
57+
![]()

a22.png

169 KB
Loading

a23.png

144 KB
Loading

a24.png

179 KB
Loading

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy