ผมต้องการสร้าง function ที่เอาไว้สร้าง class อีกทีแบบ struct ใน ruby (ถ้าผมจำไม่ผิดนะครับ) ก็เลยใช้ function: type(name, bases, dict) มาช่วย จริงๆ แล้วผมก็ไม่รู้หรอกว่าเป็นท่าที่ควรทำหรือเปล่า แต่ก็เอ… more →
वीरवीर wrote 1 week ago: ผมต้องการสร้าง function ที่เอาไว้สร้าง class อีกทีแบบ struct ใน ruby (ถ้าผมจำไม่ผิดนะครับ) ก็เลยใช้ … more →
ipass wrote 2 months ago: เนื่องจาก ต้องการพัฒนา website ด้วยภาษา python จึงจำเป็นต้องใช้ module interpreter ‘mod_python … more →
ipass wrote 3 months ago: Django : Python WebApp Framework - Download & Install Django by > python setup.py install Bas … more →
jaroot wrote 3 months ago: ActivePython 3.0.1.1 ของบริษัท ActiveState ได้เปิดให้ดาวน์โหลดกันแล้วครับ (ที่นี่) ซึ่งโปรแกรมสามารถ … more →
वीर wrote 3 months ago: I want to use libthai from Python so I wrote this extension. #include <python .h> #include … more →
namkangwarn wrote 4 months ago: การรับค่าโดยทั่วไปจะมีอยู่ 2 แบบ คือ 1. การรับค่าแบบตัวเลข ที่ใช้ x = input(”Text”) 2. … more →
वीर wrote 4 months ago: In previous examples, I always use file store, which I found that it is quite difficult to use when … more →
वीर wrote 4 months ago: I use Authkit + OpenID in my Pylons app so I want to change the look of sign in page. It can be done … more →
वीर wrote 4 months ago: I try to post simple example how to use OpenID with AuthKit 0.4.3 and Pylons 0.9.7. by adapting exam … more →
वीर wrote 4 months ago: เดิมที่ผมมีปัญหาว่า app ที่ใช้ pylons เขียนใช้ได้บ้างไม่ได้บ้าง ชนิดที่ว่าเข้าครั้งแรกไม่ได้พอ reloa … more →
namkangwarn wrote 4 months ago: เราควรจะเขียนไปในแนวไหนดีเนี้ยะ เริ่มไม่ถูก เห้อส์ T^T … more →
वीर wrote 5 months ago: KunyitTst is a ternary search tree library in Python. Normally, it takes string or unicode as key si … more →
वीर wrote 5 months ago: I’m going to analyze phrase table that is generated by Moses. So I have studied phrase table f … more →
वीर wrote 6 months ago: xmlrpc ด้วย python บน apache ผ่าน mod_wsgi. ใช้ xmlrpc บน python เขียนง่ายมากเลย ทั้ง client และ ser … more →
वीर wrote 7 months ago: เข้าไปดูได้ที่ http://docs.python.org/dev/3.0/whatsnew/3.0.html. ผมยังไม่ได้ลองใช้เลย แต่อ่านดูก็เป็ … more →
वीर wrote 7 months ago: ผมอยากให้ basa-asa (ซึ่งเป็นโปรแกรมช่วยแปลภาษา เช่น ช่วยเปิด dictionary ให้ ไม่ใช่โปรแกรมแปลภาษาอัตโ … more →
वीर wrote 7 months ago: from xml.dom import pulldom def main(): events = pulldom.parse('orchid.xml') for … more →
वीर wrote 7 months ago: import MySQLdb as db import sys reload(sys) sys.setdefaultencoding('utf-8') conn = db.con … more →
वीर wrote 7 months ago: ใช้ pylons 0.9.7rc3 แต่ว่าใช้ elixir 0.6.1 มาครอบ sqlalchemy อีกที แทนที่จะใช้ sqlalchemy ตรงๆ ซึ่งเ … more →