First  |  Prev |  Next  |  Last
Pages: 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
PExpect Cross-Platform Alternative
Nathan Farrar wrote: Hello Community, Recently I've been automating lots of network operations tasks via simple python scripts. Originally, I utilized paramiko but found that the module had issues working with cisco equipment. I switched to pexpect and things have worked wonderfully since (I've bee... 12 Feb 2010 13:26
MODULE FOR I, P FRAME
Hello! I am currently developing a simple video player in python, and my problem is that i can't find a module which has a function that can determine if frame(image) is I or P coded (MPEG coding). I have been using PIL but I couldnt find anything that could help me with that problem. Thanks for sugestions! ... 24 Feb 2010 04:13
python and http POST
Hey All, Been teaching myself Python for a few weeks, and am trying to write a program that will go to a url, enter a string in one of the search fields, submit the search, and return the contents of the search result. I'm using httplib2. My two particular questions: 1) When I set my 'body' var, (i.e. 'b... 13 Feb 2010 16:02
exception in Tkinter on Ubtunu...
....hey guys, I posted this over on the Ubuntu forums with no luck. I'm running Ubuntu 9.10 and python 2.5. In Idle when I type in a function I get this error... Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1417, in __call__ return ... 11 Feb 2010 09:23
Bizarre arithmetic results
Can someone explain to me what python is doing here? Python 3.1.1 (r311:74480, Feb 3 2010, 13:36:47) [GCC 4.3.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. -0.1 ** 0.1 -0.7943282347242815 a = -0.1; b = 0.1 a ** b (0.7554510437117542+0.2454609236416552j) ... 27 Feb 2010 16:33
Unicode strings
Excellent! But what about the unicode? ... 11 Feb 2010 05:00
SocketServer error: AttributeError: instance has no __call__method
En Wed, 10 Feb 2010 17:13:58 -0300, Jordan Apgar <twistedphrame(a)gmail.com> escribi�: I'm having some issues connecting to my Socket Server, I get this traceback on the sever side: ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 56404) T... 11 Feb 2010 00:39
Is a merge interval function available?
I'm wondering there is already a function in python library that can merge intervals. For example, if I have the following intervals ('[' and ']' means closed interval as in http://en.wikipedia.org/wiki/Interval_(mathematics)#Excluding_the_endpoints) [1, 3] [2, 9] [10,13] [11,12] I want to get the following... 11 Feb 2010 20:43
not correct socket closing
Hi all, I have got a small script for upload file on http server, and I need interrupt uploading if I get tired wait. I create socket: self.conn = httplib.HTTPConnection("192.168.0.195") #self.conn.debuglevel = 1 self.conn.request("POST", "/upload/", body, head) if self.conn.sock: self.conn.sock.setsockop... 10 Feb 2010 11:06
Function attributes
Hi everyone, What is the simplest way to access the attributes of a function from inside it, other than using its explicit name? In a function like f below: def f(*args): f.args = args print args is there any other way? I am guessing the next question will be: should I really care? It just feels ... 13 Feb 2010 07:07
First  |  Prev |  Next  |  Last
Pages: 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209