On Fri, Jul 25, 2008 at 7:35 PM, Mike Meisner [EMAIL PROTECTED] wrote:
Do you happen to know if there is an efficient way to initialize a list
like this without explicitly writing out each element?
You can make a copy of the inner list each time through the loop:
IP = []
temp = [[0, 0,
On Fri, Jul 25, 2008 at 8:20 PM, Michiel Overtoom [EMAIL PROTECTED] wrote:
Mike wrote...
Do you happen to know if there is an efficient way to initialize a list
like this without explicitly writing out each element?
temp = [[0, 0, 0],[0, 0, 0],[0, 0, 0]]
print temp
[[0, 0, 0], [0, 0, 0],
I have the first edition of Python Programming for the Absolute Beginner.
Will this work instead of the 2nd edition?
i just found out from bookpool today that the 2nd edition is now also
out-of-print. does anyone know if a 3rd edition is being worked on?
-- wesley
- - - - - - - - - - - - - -
hi,
Can somebody tell me about tools to convert stereo mp3 signal to mono wave
signal . I tried using pymedia but i am not able to understand how to
convert stereo signal to a mono signal .
--
A-M-I-T S|S
___
Tutor maillist - Tutor@python.org
At 01:43 AM 7/26/2008, wesley chun wrote:
I have the first edition of Python Programming for the Absolute Beginner.
Will this work instead of the 2nd edition?
i just found out from bookpool today that the 2nd edition is now also
out-of-print.
But:
Running IDLE 1.2.2 under MacPython 2.5 on Mac OS X 5.1.
Configured shell window to wrong size, now can't seem to find the menu
(Options Configure) to resize the shell.
Tried going to username Library Preferences and removing
org.python* files, but that did not work.
Thanks!
Thomas Corbett [EMAIL PROTECTED] wrote
Configured shell window to wrong size, now can't seem to find the
menu (Options Configure) to resize the shell.
Don't you just resize it then close it and the next time it opens
it uses the new size?
Thats how I thought it was supposed to work!
Alan
On Fri, Jul 25, 2008 at 03:11:57PM -0700, Dave Kuhlman wrote:
On Fri, Jul 25, 2008 at 10:04:35AM -0400, Rick Pasotto wrote:
I have a script that works fine on my linux machine but bombs out when
run under windows using the exact same data files. The script downloads
a file then unzips it
On Sat, Jul 26, 2008 at 7:11 AM, Dick Moores [EMAIL PROTECTED] wrote:
At 01:43 AM 7/26/2008, wesley chun wrote:
I have the first edition of Python Programming for the Absolute
Beginner.
Will this work instead of the 2nd edition?
i just found out from bookpool today that the 2nd edition
Hi,
I'm trying to connect to a site that requires a php login. I used the
urllib2 module in the following way:
import urllib2
user='xxx'
password='yyy'
hp = urllib2.HTTPPasswordMgr()
uri = 'http://s2.ikariam.it/index.php?action=loginAvatarfunction=login'
hp.add_password(None, uri, user,
On Sat, Jul 26, 2008 at 7:31 PM, Daniele [EMAIL PROTECTED] wrote:
Hi,
I'm trying to connect to a site that requires a php login. I used the
urllib2 module in the following way:
It requires a php login, or php handles the login?
import urllib2
user='xxx'
password='yyy'
hp =
On Jul 26, 2008, at 9:02 AM, Alan Gauld wrote:
Thomas Corbett [EMAIL PROTECTED] wrote
Configured shell window to wrong size, now can't seem to find the
menu (Options Configure) to resize the shell.
Don't you just resize it then close it and the next time it opens
it uses the new size?
12 matches
Mail list logo