Python

Building Ticket App With Django — Part I

Django Rest Framework (DRF) is a powerful Django framework for building web APIs. It’s very easy to build model-backed APIs that have authentication, viewset, session and other batteries included.

Building Ticket App With Django — Part II

Django Rest Framework (DRF) is a powerful Django framework for building web APIs. It’s very easy to build model-backed APIs that have authentication, viewset, session and other batteries included.

จัดการฐานข้อมูล SQL ด้วย sqlalchemy

sqlalchemy เป็นมอดูลในไพธอนที่ใช้สำหรับเชื่อมต่อกับระบบจัดการฐานข้อมูล SQL โดยควบคุมฐานข้อมูลในรูปแบบที่สั่งข้อมูลเหมือนเป็นออบเจ็กต์ตามแนวคิดเชิงวัตถุ บทความนี้จะอธิบายแนวคิดเบื้องต้นและวิธีการใช้ sqlalchemy เพื่อจัดการกับฐานข้อมูลอย่างง่าย

Google Text-to-Speech.

Text to Speech หรือ Speech synthesis เป็นเทคโนโลยีสังเคราะห์เสียงพูด โดยแปลงจากตัวอักษรให้กลายเป็นเสียงพูด โดย Text to Speech เป็นส่วนหนึ่งของสาขาการประมวลผลภาษาธรรมชาติ (Natural Language Processing) สำหรับ Text to Speech ภาษาไทย ปัจจุบันนี้ที่ยังมีให้บริการ API ตอนนี้มีเฉพาะของ Google Text to Speech

Google Translate.

Google Translate มีเครื่องมือให้นักพัฒนานำความสามารถไปใช้กับโปรแกรมภายนอก ผ่านโมดูล googletrans เป็นโมดูลที่นำ Google Translate มาใช้งานร่วมกับ Python

Flask 101 พัฒนาเว็บด้วยภาษาไพธอน(Flask Framework)

ซีรี่ย์ Flask 101 จะเป็นการสอนตั้งแต่กระบวนการแรกจนถึงกระบวนการสุดท้ายนั่นก็คือการ Deploy โปรเจคท์ของเรา กล่าวเป็นนัย ๆ ว่า เมื่อสิ้นสุดซีรี่ย์นี้ เราจะมีเว็บเป็นของตัวเอง 1 เว็บครับ ส่วนคลาวด์ จะใช้ของเจ้าไหนนั้น เช่น Heroku, PythonAnywhere, etc. อันนี้ก็ต้องติดตามต่อไปครับ

Python Cheatsheet.

Basic cheatsheet for Python mostly based on the book written by Al Sweigart, Automate the Boring Stuff with Python under the Creative Commons license and many other sources.

การใช้งาน Python ควบคุม Google sheet

Google Sheets คือ App ในกลุ่มของ Google Drive ซึ่งเป็นนวัตกรรมของทาง Google ซึ่งมีลักษณะการทำงานที่คล้ายกับ Microsoft Excel มีการสร้าง Column Row สามารถใส่ข้อมูลลงไปใน Cell ได้และที่สำคัญคือไม่ต้องติดตั้งที่เครื่อง สามารถใช้งานบน Web ได้ โดย ไฟล์ที่เราทำนั้นจะถูกบันทึกไว้ใน Google Drive ทำให้สามารถเปิดใช้งานได้ ไม่ว่าจะอยู่ที่ใด

Python Package Index.

Lambda Expressions are ideally used when we need to do something simple and are more interested in getting the job done quickly rather than formally naming the function. Lambda expressions are also known as anonymous functions.

Python Web Scraping Part IV - ทำไมถึง scrape บางเว็บไม่ได้

ในบทความนี้จะขอแนะนำเทคนิคง่าย ๆ ที่อาจจะช่วยให้สามารถ scrape เว็บส่วนใหญ่ได้โดยไม่ติด error page นะครับ และก็จะสาธิตให้ดูโดยการ scrape เว็บต่าง ๆ ด้วยเทคนิคที่แนะนำไปนะครับ