Re: Package organization

2006-07-15 Thread Matt Good
g "engine/timer/Timer.java" you'd get an "engine.timer.Timer" class. As you saw in Python defining Timer in "engine/timer/timer.py" the class is now "engine.timer.timer.Timer". Dropping that extra level by combining the classes in engine.timer into a single module will simplify things. -- Matt Good -- http://mail.python.org/mailman/listinfo/python-list

Re: prompt auto complete and history

2006-07-10 Thread Matt Good
complete and other more advanced features: http://ipython.scipy.org/ -- Matt Good -- http://mail.python.org/mailman/listinfo/python-list

Re: beautifulsoup .vs tidy

2006-07-01 Thread Matt Good
sing. Of course BeautifulSoup is also a very nice library if you need to extract some information, but don't necessarilly require XML processing to do it. -- Matt Good -- http://mail.python.org/mailman/listinfo/python-list

Re: what is pygtk.require("2.0") for?

2006-06-27 Thread Matt Good
yaru22 wrote: > when I read a book, it just said we need to do > > import pygtk > pygtk.require("2.0") > import gtk > > in order to import gtk modules > > What is that pygtk.require("2.0") command for? It enables you to install multiple versions of pygtk in parallel and makes sure when you do "im

Re: Pychecker

2006-06-09 Thread Matt Good
(or pyflakes, pylint, or even a static code compiler) aren't a substitute for unit tests. They can definitely help catch common mistakes, but they can't ensure your code does what you intended. -- Matt Good -- http://mail.python.org/mailman/listinfo/python-list

Re: Python sqlite and regex.

2006-05-19 Thread Matt Good
Oops, sorry about the confusion regarding the built-in REGEXP. That's kind of disappointing. It would appear that the user-defined regexp function in the original post should work assuming the SQL and regex syntax errors are corrected. However, there *is* a GLOB built-in to SQLite 3 that has a d

Re: Python sqlite and regex.

2006-05-19 Thread Matt Good
en't aware, there will be a "sqlite3" module in Python 2.5 based on pysqlite 2.2: http://initd.org/tracker/pysqlite Using pysqlite will make it easier to move to the Python 2.5 sqlite3 module if that's important to you. -- Matt Good -- http://mail.python.org/mailman/listinfo/python-list