w do I find why it's used?
If you don't want the DOS window, you can change the extension of the
file to .pyw instead of .py, but in this case you will not see the
messages printed by the print statement.
--
Simone
Chiacchiera con i tuoi amici in tempo reale!
http://it.yah
everything without testing the right order. An
example:
for progress, file_name in enumerate(ordered_list):
frame, num, ext = file_name.split('.')
print "%s.%s.%s" % (frame, str(progress).zfill(4), ext)
And you will have what you want (if I understand right...).
--
program to program?"
from Cristian
---
--
Simone
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/m
Christopher Spears ha scritto:
I've been working out of Core Python Programming (2nd Edition). Here is an
example demonstrating multiple inheritance.
class A(object):
... pass
...
class B(A):
... pass
...
class C(B):
... pass
...
class D(A, B):
... pass
...
Traceback (
t; list = ['hi']
>>> isEmpty(list)
The list is NOT empty!
>>>
HTH,
Simone
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
the q variable has to
be converted in a string during the string valorization.
If you want that q contains the symbol '%', you have to escape it by
inserting 2 '%'.
In your example, q have to be 'dog%%' instead of 'dog%'.
However, as Alan said, the method
; The other thing I have on my mind is this: how could I have the program
> ask the math questions not horizontally but vertically? An example:
>
> 4
> x7
> =
Simply insert a \n in the print statement, like this:
print "%d\nx%d\n = "
Simone
Ch
use '?' instead of %s, like this:
tempCursor.execute ( "Select pg_get_serial_sequence ( ?, ? ) as seq", (
tableName, fieldName ) )
For further information see PEP 249
(http://www.python.org/dev/peps/pep-0249/)
HTH!
Simone
Chiacchiera con i tuoi amici in tempo
r to use 7zip for managing compressed archive
(www.7zip.org): open source & free (as in freedom) and better, IMHO,
than WinZip.
Simone
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
_
is not supported on Windows platforms
I think the problem is in '&' at the end of the command line.
The '&' is used on Linux/Unix system to start processes in a independent
thread.
Remove it and it works!
Simone
Chiacchiera con i tuoi amici in tempo reale!
10 matches
Mail list logo