สวัสดีผู้อ่านทุกท่านครับ บทความนี้ผมจะพาผู้อ่านไปทำความสะอาดข้อมูลที่มีไม้ยมก "ๆ" ก่อนนำข้อมูลไปประมวลผลใช้งานกับ NLP ภาษาไทยด้วยโค้ด Python กันครับ
Read More
28 กันยายน 2561
13 กันยายน 2561
Published กันยายน 13, 2561 by wannaphong with 3 comments
สวัสดีผู้อ่านทุกท่านครับ บทความนี้ผมจะพาผู้อ่านไปสร้างโมดูลที่รันผ่านคอมมานด์ไลน์ด้วย Python กันครับ
Read More
Published กันยายน 13, 2561 by wannaphong with 0 comment
ตัวดำเนินการ
~ Not
^ XOR
| Or
& And
Read More
~ Not
^ XOR
| Or
& And
2 กันยายน 2561
Published กันยายน 02, 2561 by wannaphong with 1 comment

สวัสดีครับทุกท่าน บทความนี้เราจะไปทดลองทำ Thai Romanization ด้วย keras ใน Python กันครับ
12 สิงหาคม 2561
Published สิงหาคม 12, 2561 by wannaphong with 0 comment
วิดีโอย้อนหลัง PyCon Thailand 2018 ซึ่งจัดขึ้นเป็นครั้งแรกของ PyCon Thailand จัดวันที่ 16-17 มิถุนายน 2561 ที่ผ่านมา ที่อาคารเคเอกซ์ (Knowledge Exchange Center – KX) ได้ถูกอัพโหลดขึ้น YouTube แล้ว
สามารถรับชมได้ที่ https://youtu.be/u5AKobUPCas
Read More
8 สิงหาคม 2561
Published สิงหาคม 08, 2561 by wannaphong with 0 comment
หากต้องการทำโปรไฟล์หน่วยความจำโค้ด Python ที่เขียน มีหลายวิธี บทความนี้ขอเสนอวิธีทำโปรไฟล์หน่วยความจำโค้ด Python โดยใช้โมดูล memory_profiler
Read More
16 กรกฎาคม 2561
Published กรกฎาคม 16, 2561 by wannaphong with 1 comment
Python มีนามสกุลไฟล์หลายไฟลดังนี้
ที่มา http://dcjtech.info/topic/python-file-extensions/
Read More
- *.py - ไฟล์สคริปต์ภาษาไพทอน
- *.py3 - (ไม่ค่อยพบเห็น) ไฟล์สคริปต์ Python3 ; ไฟล์สคริปต์ Python3 ส่วนใหญ่มักใช้ "*.py" ไม่ใช่ "*.py3"
- *.pyc - ไฟล์สคริปต์ที่ถูกคอมไพล์ (Bytecode)
- *.pyo - ไฟล์สคริปต์ที่ถูกคอมไพล์โดยถูกปรับแต่งประสิทธิภาพ (As of Python3.5, Python will only use pyc rather than pyo and pyc)
- *.pyw - ไฟล์ Python สำหรับ Windows โดยรันด้วย pythonw.exe
- *.pyx - Cython src ที่แปลงไปเป็น C/C++
- *.pyd - โค้ด Pythonที่ถูกสร้างเป็น Windows DLL
- *.pxd - Cython script which is equivalent to a C/C++ header
- *.pyi - MyPy stub
- *.pyi - Stub file (PEP 484)
- *.pyz -เป็นโค้ด Python ที่ถูกบีบอัดไว้ (PEP 441)
- *.pywz - เป็นโค้ด Python ที่ถูกบีบอัดสำหรับ MS-Windows (PEP 441)
- *.py[cod] - wildcard notation in ".gitignore" that means the file may be "*.pyc", "*.pyo", or "*.pyd"
- *.rpy - โค้ด RPython
- *.pyde - ไฟล์โค้ด Python ที่ถูกใช้ใน Processing (https://processing.org/)
- *.pyp - Py4D Python Plugin
- *.pyt - Python declaration file
- *.xpy - ไม่รู้จัก
- *.ipynb - ไฟล์ Jupyter Notebook
ที่มา http://dcjtech.info/topic/python-file-extensions/
28 มิถุนายน 2561
Published มิถุนายน 28, 2561 by wannaphong with 0 comment
วันนี้ตามเวลาในประเทศ ทางมูลนิธีซอฟแวร์ไพทอนได้ปล่อย Python 3.7.0 ออกมาแล้ว นอกจากนั้นยังได้ปล่อย Python 3.6.6 ซึ่งเป็นรุ่นบำรุงรักษา แก้บั๊ก เนื่องจากเป็นรุ่นที่สนับสนุนระยะเวลานาน (LTS)
สามารถโหลด Python 3.7.0 ได้ที่ https://www.python.org/downloads/release/python-370/
อ่านสิ่งใหม่ที่มีใน Python 3.7.0 ได้ที่ https://docs.python.org/3.7/whatsnew/3.7.html
สามารถโหลด Python 3.6.6 ได้ที่ https://www.python.org/downloads/release/python-366/
Read More
สามารถโหลด Python 3.7.0 ได้ที่ https://www.python.org/downloads/release/python-370/
อ่านสิ่งใหม่ที่มีใน Python 3.7.0 ได้ที่ https://docs.python.org/3.7/whatsnew/3.7.html
สามารถโหลด Python 3.6.6 ได้ที่ https://www.python.org/downloads/release/python-366/
21 มิถุนายน 2561
Published มิถุนายน 21, 2561 by wannaphong with 0 comment
Kaidee (https://www.kaidee.com/) เป็นเว็บลงประกาศขายของเว็บหนึ่งที่มีการใช้งาน Python เยอะมาก
Read More
19 มิถุนายน 2561
Published มิถุนายน 19, 2561 by wannaphong with 0 comment
เมื่อวันเสาร์ - อาทิตย์ที่ 16 มิถุนายน - 17 มิถุนายนที่ผ่านมา ผมได้ไปร่วมงาน PyCon Thailand 2018 ซึ่งจัดที่อาคารเคเอกซ์ (Knowledge Exchange Center – KX)
Read More
18 มิถุนายน 2561
Published มิถุนายน 18, 2561 by wannaphong with 1 comment
หากคุณกำลังทำการประมวลผลภาษาธรรมชาติหรือต้องการส่งออกข้อมูลไฟล์ที่ได้จาก wikipedia dump ออกไปเป็น text สามารถทำได้โดยใช้เครื่องมือที่ชื่อว่า WikiExtractor
Read More
3 มิถุนายน 2561
Published มิถุนายน 03, 2561 by wannaphong with 0 comment
หากผู้อ่านใช้ภาษา Python ไม่ว่าจะเป็นในการแข่งขันเขียนโปรแกรม หรือ ในห้องปฎิบัติการที่จำเป็นต้องเขียนโค้ดอย่างเร่งด่วน แต่กลับลืมเอกสารหรือ API ไลบารีของ Python ไป และ ไม่มีอินเทอร์เน็ตให้สืบค้น
Read More
29 เมษายน 2561
Published เมษายน 29, 2561 by wannaphong with 0 comment
หลังจากที่ Python 3.5 ได้เปิดตัวออกมา ได้มีไวยากรณ์หนึ่งที่เพิ่มเข้ามาตั้งแต่ Python 3.5 นั่นคือ
Type hints
สมัครสมาชิก:
บทความ (Atom)