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
complete and other more advanced features:
http://ipython.scipy.org/
-- Matt Good
--
http://mail.python.org/mailman/listinfo/python-list
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
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
(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
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
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