<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jo Taijiquan on Medium]]></title>
        <description><![CDATA[Stories by Jo Taijiquan on Medium]]></description>
        <link>https://medium.com/@taijimaster?source=rss-d657efeeda4a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*MPSqXR-DTO_3-6qD.</url>
            <title>Stories by Jo Taijiquan on Medium</title>
            <link>https://medium.com/@taijimaster?source=rss-d657efeeda4a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 04:19:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@taijimaster/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Python Virtual Env Windows]]></title>
            <link>https://medium.com/@taijimaster/python-virtual-env-windows-8d8402fa2a53?source=rss-d657efeeda4a------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d8402fa2a53</guid>
            <dc:creator><![CDATA[Jo Taijiquan]]></dc:creator>
            <pubDate>Thu, 25 Apr 2019 14:04:21 GMT</pubDate>
            <atom:updated>2019-04-25T14:04:21.240Z</atom:updated>
            <content:encoded><![CDATA[<p>การใช้ Pyhton Virtual Environment บน windows(Python 3.x)</p><pre>md Project_Name</pre><pre>python -m Project_Name</pre><p>ทีนี้มันอาจจะเกิด error เช่น</p><pre>Error: [Errno 2] No such file or directory: ‘C:\\Python37\\lib\\venv\\scripts\\nt\\python_d.exe’</pre><p>ซึ่งหมายความว่ามันไม่เจอ ไฟล์ python_d.exe ในไดเรคทอรี่ c:\Python37\lib\venv\scripts\nt</p><p>วิธีแก้แบบง่ายๆ คือไปที่ไดเรคทอรี่หลักของ Python ที่เราใช้ เช่นในกรณีนี้คือ c:\Python37 แล้ว copy ไฟล์ที่ขาดไปมาใส่ไว้ใน c:\Python37\lib\venv\scripts\nt</p><p>ปกติที่จะต้อง copy มาก็มี</p><p>python_d.exe</p><p>python_d.pdb</p><p>pythonw_d.exe</p><p>pythonw_d.pdb</p><p>จากนั้นก็จะสามารถสร้าง virtual environment ได้ด้วยคำสั่ง</p><pre>python -m Project_Name</pre><p>ตามปกติ</p><p>การเรียกใช้ virtual environment ก็เข้าไปที่ Project_Name/Scripts/</p><p>เรียก</p><pre>activate</pre><p>เลิกใช้ก็</p><pre>deactivate</pre><p>เมื่ออยู่ใน virtual environment หน้า path จะปรากฎ (Project_Name) ขึ้น ดังตัวอย่าง</p><pre>(pygame) C:\Python\pygame\Scripts&gt;</pre><p>ในที่นี้ Project_Name คือ pygame</p><p>หลังจาก deactivate จะหลือแค่</p><pre>C:\Python\pygame\Scripts&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d8402fa2a53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[เขียน python ออนไลน์]]></title>
            <link>https://medium.com/@taijimaster/%E0%B9%80%E0%B8%82%E0%B8%B5%E0%B8%A2%E0%B8%99-python-%E0%B8%AD%E0%B8%AD%E0%B8%99%E0%B9%84%E0%B8%A5%E0%B8%99%E0%B9%8C-223c92ad4720?source=rss-d657efeeda4a------2</link>
            <guid isPermaLink="false">https://medium.com/p/223c92ad4720</guid>
            <dc:creator><![CDATA[Jo Taijiquan]]></dc:creator>
            <pubDate>Fri, 05 Apr 2019 11:01:14 GMT</pubDate>
            <atom:updated>2019-04-05T11:01:14.072Z</atom:updated>
            <content:encoded><![CDATA[<p>เริ่มต้นเขียนโปรแกรมด้วยภาษา Python เป็นเรื่องที่ทำได้ง่ายมาก วิธีที่ง่ายที่สุดวิธีหนึ่งคือ เปิดไปที่เว็บ <a href="https://repl.it/">https://repl.it/</a></p><p>เจอหน้านี้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*KsvobR6vA3aPm91rHR0iNw.png" /></figure><p>ลงทะเบียนอะไรให้เรียบร้อย ไม่ยาก หรือไม่ลงทะเบียนก็ได้ถ้าไม่อยาก แต่จะเก็บประวัติไม่ได้</p><p>กดปุ่ม</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/120/1*VE34usOa5OFRVmanHE_hDQ.png" /></figure><p>มันจะขึ้นมาแบบนี้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*ydiGyJr0LLyd25befKYTdA.png" /></figure><p>ไม่ต้องตกใจ พิมพ์คำว่า python ลงในช่องที่เขียนว่า Search for a language, e.g c++</p><p>จะได้ออกมาแบบนี้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*A_izXgqTpPb5eTHBPw7Ftw.png" /></figure><p>เราเอาแบบพื้นฐาน บ้านๆ ก่อน เลือก Python</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/1*4PPLA-D_m-r6S13kZZdoOQ.png" /></figure><p>กดปุ่ม Create Repl</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*mnZ5tboXN9eOrBMuOtUFRg.png" /></figure><p>ได้หน้านี้ออกมา</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XP-puVO8ox_fNNtDRDW6oQ.png" /></figure><p>พร้อมเริ่มเขียนโปรแกรมแล้ว</p><p>เขียนโปรแกรมสำหรับมือใหม่ในตำนานก่อน ถือเป็นท่าไหว้ครู เราเรียกว่าโปรแกรม hello, world</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nvfsgwWH821SXJQq1UCrgQ.png" /></figure><p>กดปุ่ม run</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/118/1*GuF0GWoTpVVRmCdx6eCoZg.png" /></figure><p>จอสีดำๆ ด้านขวาที่เป็นจอแสดงผล ก็แสดงผลการ run โปรแกรมแรกของเราแล้ว คือให้แสดงผลคำว่า hello, world บนหน้าจอ ถือเป็นการทักทาย เป็นท่าเริ่มต้น และเป็นโปรแกรมแรกสุดที่โปรแกรมเมอร์นิยมเขียนเวลาจะหัดเขียนภาษาคอมพิวเตอร์ใหม่ๆ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*Ma7B26k2a3cECxRCnBG3CQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=223c92ad4720" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>