First  |  Prev |  Next  |  Last
Pages: 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
What is the difference between 'type' and 'class'?
pydoc xrange says: Help on class xrange in module __builtin__: class xrange(object) python_2.6.5_library.pdf says: Objects of type xrange are similar to buffers Are type and class synonyms? It seems that they are at least according to some webpages that I read. But I'm not completely sure. Could you le... 21 Jun 2010 22:29
What module to parse/generate ical files?
What module is recommended for parsing/generating ical files? Specifically, I'd like to parse invitations generated by MS Outlook and generate accept/decline responses. I've tinkered with iCalendar 1.2, and have had some success after manualling munging/filtering the data for some fields: http://pypi.python... 21 Jun 2010 19:09
__slot__: what is it good for?
Hello out there, - what is the reason, that __slots__ are introduced in python? - I want to use slots to define a class where no attributes are added at runtime. Is that a good idea to use slots for that? Regards Alexander ... 21 Jun 2010 15:47
Decode II (more complex)
Hi all, I have written a small python xmlrpc server which checks logfiles of a build sending notifications to the responsible teams. On a machine I'm forced to a problem with one logfile with special characters inside generated by a gnu compiler. Using cheetah for generating the HTML mail I get a: ('ascii'... 21 Jun 2010 14:39
Hi I have 2 files (done and outf), and I want to chose unique elements from the 2nd column in outf which are not in done. This code works but is not efficient, can you think of a quicker way? The a=1 is just a redundant task obviously, I put it this way around because I think 'in' is quicker than 'not in' - is t... 21 Jun 2010 14:39
process cannot access the file because it is being used by otherprocess
On 21/06/2010 09:23, shanti bhushan wrote: i am using below code ,it works fine on ordinary python 26 ,but when i use this script in my python testing tool it gives me message "process cannot access the file because it is being used by other process" for the second time invoking of mongoose server. Pleas... 21 Jun 2010 16:54
start and kill process by command promt
Hi, I want to invoke local wen server named mogoose, and kill it after some time by python script. Then i want to change the argument and invoke it again. I am able to do this with below code. import subprocess import time def invoke_server1(): s1ret=subprocess.Popen(r'C:\WINDOWS\system32\cmd.exe /C "... 21 Jun 2010 08:01
tkInter Listbox question
So I'm trying to add a Listbox to my window. I want it to be the width of my window and the height of my window. I'm using the following code ('root' is my toplevel window): gsItems = Listbox(root, width=root.winfo_width(), height=root.winfo_height()) gsItems.pack() While you would think this code would set ... 22 Jun 2010 03:55
bug in parser?
Isn't this a bug? print \" SyntaxError: unexpected character after line continuation character ... 20 Jun 2010 20:02
[ANN] pyxser-1.4.4r --- Python Object to XML serializer/deserializer
Hello Python Community. I'm pleased to announce pyxser-1.4.4r, a python extension which contains functions to serialize and deserialize Python Objects into XML. It is a model based serializer. Here is the ChangeLog entry for this release: ---8<--- 1.4.4r (2010.02.10): Daniel Molina Wegener <dmw(a)cod... 20 Jun 2010 12:21
First  |  Prev |  Next  |  Last
Pages: 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87