On May 18, 2:22 pm, LokiDawg [EMAIL PROTECTED] wrote:
snip
All is well until the last line (writing the file), after which the
following error occurs:
snip
File /usr/lib/python2.4/site-packages/pyvtk/common.py, line 140,
in get_datatype
if is_int(obj): return self.default_int
On May 16, 8:51 pm, BJörn Lindqvist [EMAIL PROTECTED] wrote:
How is the code different from shlex.split?
Shlex only splits by whitespace. I needed something to split out SQL
statements from a Postgresql dump, so the ideal way of doing that is
to split by semicolons. However, postgresql
On May 16, 1:18 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
The is operator checks object *identity*, that is, if both operands are
actually the same object. It may or may not work here, depending on many
implementation details. You really should check if they are *equal*
instead: