First  |  Prev |  Next  |  Last
Pages: 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
TypeError: list indices must be integers
I got this error twice today while creating lists of lists of complicated stuff. The first time I was puzzled, but the second time I knew that I had just forgotten a comma. If you google this, you will too. Reduced example [[1,2,3] # forgot comma [4,5,6]] Traceback (most recent call last): Fi... 1 Jun 2010 18:37
Drawing Multigraphs
Hi there, Is it possible to draw an (undirected) multigraph using a python library? I need to write a program that finds an Eulerian circuit in a graph (which might obviously be a multigraph). As the output of the program, I should draw the graph and print out the solution. I asked my question at NetworkX discus... 2 Jun 2010 05:28
labels legibility in matplotlib pie charts and bar plots
Hi, As a beginner in python and matplotlib I come here with a possibly naïve question. I need to write code for automation of bar-plots and pie-charts creation. I chose to use matplotlib which is well adapted for this purpose. Nevertheless, some of my charts are not very legible due to interferences between t... 1 Jun 2010 09:44
expat parsing error
Hi i'm doing the following: def start_element(name, attrs): print 'Start element:', name, attrs def end_element(name): print 'End element:', name def char_data(data): print 'Character data:', repr(data) class SimpleServer(LineReceiver): # Using Twisted def connectionMade(self): pr... 2 Jun 2010 03:19
expat parsing error
Hi i'm doing the following: def start_element(name, attrs): print 'Start element:', name, attrs def end_element(name): print 'End element:', name def char_data(data): print 'Character data:', repr(data) class SimpleServer(LineReceiver): # Using Twisted def connectionMade(self): pr... 1 Jun 2010 08:37
What does this PyChecker warning mean?
When fed the following code: def Foo(): class A(object): def __init__(self): pass class B(object): def __init__(self): pass PyChecker 0.8.18 warns: foo.py:9: Redefining attribute (__init__) original line (5) I do not understand what is meant... 1 Jun 2010 14:10
What timeouts are required when reading SSL certificates withPython 2.6.4?
Is bug #5103 relevant here? The one about the 30-minute connection hang? http://bugs.python.org/issue5103 John Nagle John Nagle wrote: I'm converting some M2Crypto code to use the new "ssl" module, and I'm concerned about protection against hung machines at the remote end. With M2Crypto,... 1 Jun 2010 02:11
What timeouts are required when reading SSL certificates with Python2.6.4?
I'm converting some M2Crypto code to use the new "ssl" module, and I'm concerned about protection against hung machines at the remote end. With M2Crypto, getting timeout to work properly required much tweaking. Here's the code. I've tried it on about fifteen domains, some of which support SSL and some wh... 1 Jun 2010 02:11
Error building on cygwin
Hi All: When i install wxPython on cygwin in windows xp, i get this error and can't continue... my enviroment: $ cygcheck -c cygwin Cygwin Package Information Package Version Status cygwin 1.7.5-1 Incomplete wxPython-src-2.8.11.0 Following the build instruc... 31 May 2010 21:51
DOWNLOAD FREE PALTALK LIVE VIDEO AND VOICE CHAT SOFTWARE
Download free here - http://bit.ly/auQHjB 4000+ VIDEO CHAT ROOMS 4 Million+ FRIENDLY USERS WORLDWIDE HOST YOUR OWN CAM SHOWS CONNECT WITH YOUR YAHOO/ICQ/AOL BUDDIES Download free here - http://bit.ly/auQHjB Thanks and Regards tony :) ... 31 May 2010 16:22
First  |  Prev |  Next  |  Last
Pages: 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112