<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>NAzT&#039;s Blog &#187; Python</title> <atom:link href="http://www.together.in.th/category/programming-2/python-programming-2/feed/" rel="self" type="application/rss+xml" /><link>http://www.together.in.th</link> <description>technology, misc</description> <lastBuildDate>Sat, 17 Dec 2011 14:00:31 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=</generator> <atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>ดาวน์โหลด youtube vdo แบบ geek (นิดๆ) &#8211;python</title><link>http://www.together.in.th/%e0%b8%94%e0%b8%b2%e0%b8%a7%e0%b8%99%e0%b9%8c%e0%b9%82%e0%b8%ab%e0%b8%a5%e0%b8%94-youtube-vdo-%e0%b9%81%e0%b8%9a%e0%b8%9a-geek-%e0%b8%99%e0%b8%b4%e0%b8%94%e0%b9%86-python/</link> <comments>http://www.together.in.th/%e0%b8%94%e0%b8%b2%e0%b8%a7%e0%b8%99%e0%b9%8c%e0%b9%82%e0%b8%ab%e0%b8%a5%e0%b8%94-youtube-vdo-%e0%b9%81%e0%b8%9a%e0%b8%9a-geek-%e0%b8%99%e0%b8%b4%e0%b8%94%e0%b9%86-python/#comments</comments> <pubDate>Thu, 07 Apr 2011 16:10:24 +0000</pubDate> <dc:creator>NAzT</dc:creator> <category><![CDATA[Python]]></category> <category><![CDATA[YouTube]]></category> <category><![CDATA[download]]></category> <category><![CDATA[homebrew]]></category> <category><![CDATA[python]]></category> <category><![CDATA[youtube]]></category> <category><![CDATA[youtube-dl]]></category> <guid
isPermaLink="false">http://www.together.in.th/?p=3659</guid> <description><![CDATA[วันนี้ยังไง? เราจะมา download youtube vdo ด้วยคำสั่ง (command line) กันครับ คำสั่งที่เราจะใช้ก็คือ youtube-dl ซึ่งก็ตรงๆตัว ครับ youtube-dl is a small command-line program to download videos from YouTube.com มันเป็น Python! !(https://img.skitch.com/20110407-dhjrjb8p1ab3qfb5i6621d54k.medium.jpg) การใช้งาน Options เพียบ !(https://img.skitch.com/20110407-q9hjcj87enqbub2mfnr9uahk3y.jpg) วิธีการติดตั้ง (mac osx, ลงผ่าน homebrew) วิธีติดตั้งอื่นๆ Download ได้ที่ต้นสังกัด เรื่องที่เกี่ยวข้องธันวาคม 18, 2010 -- จัดการ Package บน Mac OSX ด้วย Homebrew (แทน macport)ตุลาคม 3, 2010 -- [...]]]></description> <wfw:commentRss>http://www.together.in.th/%e0%b8%94%e0%b8%b2%e0%b8%a7%e0%b8%99%e0%b9%8c%e0%b9%82%e0%b8%ab%e0%b8%a5%e0%b8%94-youtube-vdo-%e0%b9%81%e0%b8%9a%e0%b8%9a-geek-%e0%b8%99%e0%b8%b4%e0%b8%94%e0%b9%86-python/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>สร้าง django Application (เอามาเทียบกับ Rails และ Grails)</title><link>http://www.together.in.th/create-new-django-application-vs-rails-and-grails/</link> <comments>http://www.together.in.th/create-new-django-application-vs-rails-and-grails/#comments</comments> <pubDate>Tue, 16 Nov 2010 01:33:03 +0000</pubDate> <dc:creator>Nat Weerawan</dc:creator> <category><![CDATA[Django]]></category> <category><![CDATA[create-new-app]]></category> <category><![CDATA[django]]></category> <category><![CDATA[django-admin]]></category> <category><![CDATA[grails]]></category> <category><![CDATA[rails]]></category> <guid
isPermaLink="false">http://www.together.in.th/?p=2893</guid> <description><![CDATA[เมื่อตอนก่อนหน้านี้เขียน การสร้าง Rails Application เทียบกับ Grails Application วันนี้เลยลองเขียนของ django บ้าง ใครชอบแบบไหนเลือกเลยจ้า ดีคนละแบบ 1. django-admin.py startproject demo 2. cd demo 3. chmod +x ./manage.py 4. ./manager.py startapp member 5. vi member/model.py ประกาศ model ดังนี้ class Member(models.Model): name = models.CharField(max_length=255) notes = models.TextField() speaker = models.BooleanField() date = models.DateTimeField(auto_now_add=True) 6. vi setting.py เลือก database ด้วยการ  set 2 [...]]]></description> <wfw:commentRss>http://www.together.in.th/create-new-django-application-vs-rails-and-grails/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>ติดตั้ง django บน  mac osx</title><link>http://www.together.in.th/instal-django-%e0%b8%9a%e0%b8%99-mac-osx/</link> <comments>http://www.together.in.th/instal-django-%e0%b8%9a%e0%b8%99-mac-osx/#comments</comments> <pubDate>Sun, 03 Oct 2010 08:39:33 +0000</pubDate> <dc:creator>Nat Weerawan</dc:creator> <category><![CDATA[Django]]></category> <category><![CDATA[Python]]></category> <category><![CDATA[django]]></category> <category><![CDATA[pip]]></category> <category><![CDATA[py-pip]]></category> <category><![CDATA[python]]></category> <guid
isPermaLink="false">http://www.together.in.th/?p=2737</guid> <description><![CDATA[ตามคำแนะนำจากพี่กล้า ให้ ติดตั้ง django ผ่าน pip  (ส่วน pip ติดตั้งผ่าน macport) ให้สั่ง sudo port selfupdate (อัพเดตซักหน่อย) sudo port install py-pip pip install upgrade pip install django เรียบร้อย ! เรื่องที่เกี่ยวข้องเมษายน 7, 2011 -- ดาวน์โหลด youtube vdo แบบ geek (นิดๆ) &#8211;pythonพฤศจิกายน 16, 2010 -- สร้าง django Application (เอามาเทียบกับ Rails และ Grails)กรกฎาคม 20, 2010 -- Digital Image Processing ด้วย [...]]]></description> <wfw:commentRss>http://www.together.in.th/instal-django-%e0%b8%9a%e0%b8%99-mac-osx/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Digital Image Processing ด้วย Python (cs377)</title><link>http://www.together.in.th/digital-image-processing-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2-python/</link> <comments>http://www.together.in.th/digital-image-processing-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2-python/#comments</comments> <pubDate>Mon, 19 Jul 2010 17:49:15 +0000</pubDate> <dc:creator>Nat Weerawan</dc:creator> <category><![CDATA[Digital Image Processing]]></category> <category><![CDATA[Python]]></category> <category><![CDATA[assignment]]></category> <category><![CDATA[cs377]]></category> <category><![CDATA[digital image processing]]></category> <category><![CDATA[dip]]></category> <category><![CDATA[homework]]></category> <category><![CDATA[python]]></category> <guid
isPermaLink="false">http://www.together.in.th/?p=2407</guid> <description><![CDATA[การบ้าน ตอนเรียน Digital Image Processing  ลองหัดด้วยเขียน python  เรื่องที่เกี่ยวข้องมิถุนายน 23, 2010 -- Mind Map &#8211; Digital Image Processing (cs377)เมษายน 7, 2011 -- ดาวน์โหลด youtube vdo แบบ geek (นิดๆ) &#8211;pythonตุลาคม 3, 2010 -- ติดตั้ง django บน mac osxมีนาคม 21, 2010 -- การบ้าน Selected Topic In Netcentric (1/52)มีนาคม 21, 2010 -- กระทู้แบ่งปัน (Selected Topic In Netcentric) 1/51]]></description> <wfw:commentRss>http://www.together.in.th/digital-image-processing-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2-python/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>ลองเล่น python + Imaging + numpy</title><link>http://www.together.in.th/%e0%b8%a5%e0%b8%ad%e0%b8%87%e0%b9%80%e0%b8%a5%e0%b9%88%e0%b8%99-python-imaging-numpy/</link> <comments>http://www.together.in.th/%e0%b8%a5%e0%b8%ad%e0%b8%87%e0%b9%80%e0%b8%a5%e0%b9%88%e0%b8%99-python-imaging-numpy/#comments</comments> <pubDate>Mon, 18 Jan 2010 08:54:52 +0000</pubDate> <dc:creator>Nat</dc:creator> <category><![CDATA[Python]]></category> <category><![CDATA[assignment]]></category> <category><![CDATA[git]]></category> <category><![CDATA[พบรัก]]></category> <category><![CDATA[รัก]]></category> <guid
isPermaLink="false">http://www.together.in.th/?p=1275</guid> <description><![CDATA[มี Assignment Digital Image Processing เลยหาเครื่องมือที่จะเอามาใช้หน่อย&#160;&#160; ตอนแรกกะจะใช้ opencv แต่ลองเอา wrapper ที่ทำให้ python ใช้ opencv มาลองดีกว่า เพื่อความมันส์(อยากเขียน python เป็น) เขียนไปเขียนมา ทำไปเกือบเสร็จ (python + opencv) เจอปัญหาเรื่อง datatype นิดหน่อย (ไม่รู้ว่ามัน cast ไปเป็น&#160;pointer to aligned image data ยังไง) ผสานกับเวลาที่เหลือน้อย &#160;จึงคิดว่า กลับไปเขียน opencv + c ให้เสร็จก่อนดีกว่า ที่เขียนใน python มันเพี้ยนๆ พอเขียน opencv + c เสร็จ (แต่ไม่เรียบร้อย) แต่รู้สึกว่า ในการทำงานหลายๆส่วนกับ opencv นั้น ไม่ค่อยเป็นที่พอใจ [...]]]></description> <wfw:commentRss>http://www.together.in.th/%e0%b8%a5%e0%b8%ad%e0%b8%87%e0%b9%80%e0%b8%a5%e0%b9%88%e0%b8%99-python-imaging-numpy/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>(Cache) Python 2.4 + numpy + matplotlib + Imaging</title><link>http://www.together.in.th/cache-python-2-4-numpy-matplotlib-imaging/</link> <comments>http://www.together.in.th/cache-python-2-4-numpy-matplotlib-imaging/#comments</comments> <pubDate>Mon, 18 Jan 2010 08:42:56 +0000</pubDate> <dc:creator>Nat</dc:creator> <category><![CDATA[Python]]></category> <category><![CDATA[ports]]></category> <guid
isPermaLink="false">http://www.together.in.th/?p=1276</guid> <description><![CDATA[จากความเดิมตอนที่แล้วที่ ใช้ python 2.5 กับ numpy แล้วก็ Imaging 1.1.6 &#160;ก็ทำงานไปได้ระดับหนึ่ง แต่เกิดอยากจะ plot histogram ขึ้นมาเลยไปมองที่ scipy เนื่องจากครั้งที่แล้วยังลงไม่ได้ แต่แล้วก็ได้พบพานกับ&#160;matplotlib-0.99.1.1 เคยเห็นใน superpack ก็เลยโหลดมาลองซะหน่อย โหลดเรียบร้อย สั่ง $python-2.5 setup.py build &#160; แต่มันไม่ผ่านบอก numpy มันเวอร์ชั่นแค่ 1.0.4 เอง ฉันต้องการ 1.3.0 โน่น หลังจากนั้นก็ลองไป build scipy อีกเผื่อจะมีอะไรดีขึ้น แต่ก็ลงไม่ได้อีก ลองไปหาข้อมูลก็พบว่าเราสามารถลง &#160;numpy จาก macports ได้ จะช้าอยู่ใย ก็ลอง $sudo port -v install py-numpy มันก็โหลดพวก fft ,python2.4 และอื่นๆ [...]]]></description> <wfw:commentRss>http://www.together.in.th/cache-python-2-4-numpy-matplotlib-imaging/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Unit Vectors &#8211; Normalizing ใช้ python และ numpy</title><link>http://www.together.in.th/unit-vectors-normalizing-using-python-numpy/</link> <comments>http://www.together.in.th/unit-vectors-normalizing-using-python-numpy/#comments</comments> <pubDate>Thu, 14 Jan 2010 15:15:28 +0000</pubDate> <dc:creator>Nat</dc:creator> <category><![CDATA[Python]]></category> <category><![CDATA[array]]></category> <category><![CDATA[git]]></category> <guid
isPermaLink="false">http://www.together.in.th/?p=1261</guid> <description><![CDATA[&#160; ก่อนที่เราจะ normalize vector ได้ เราต้องหา norm ( magnitude หรือ ขนาด) ของมันก่อน ซึ่งมันหาได้โดยการ ถอด Square root ของ ผลบวกกำลังสองครับ (sumsquare) length = sqrt((ax * ax) + (ay * ay) + (az * az)) length = sqrt(9 + 1 + 4) = 3.742 ซึ่ง 3.742 จะเป็น ขนาดของ Vector [1,2,3] ครับ ถ้าจะ normalize&#160; vector&#160; นี้ก็เอา magnitude ไปหารทุกตัวครับ x [...]]]></description> <wfw:commentRss>http://www.together.in.th/unit-vectors-normalizing-using-python-numpy/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
