Re: Good books in computer science?

2009-06-14 Thread Christof Donat
Hi, > Which are the classic books in computer science which one should > peruse? >From having read this discussion up to now I'd recomend you to read code written by good programmers. Christof -- http://mail.python.org/mailman/listinfo/python-list

Re: Will multithreading make python less popular?

2009-02-16 Thread Christof Donat
for the Tabs in Chrome, because that way they get around many Memory Management Problems they would have with Threads or with a singlethreaded reactor. Using Processes is not per se a bad Idea. You pay a bit with Memory and CPU but in many situations you get a much simpler programming model. Chr

Re: Bitwise 2009 ($5000 prize money)

2009-02-03 Thread Christof Donat
Hi, > http://www.bitwise.iitkgp.ernet.in/ I'm having quite some fun reading the questions since I got this Post in comp.lang.c++ before. Here it is of topic and this crosspostings will definatelly not be a good advertisement for your contest. Christof -- http://mail.python.org

Re: what IDE is the best to write python?

2009-02-02 Thread Christof Donat
, I guess you are using butterflies then: http://xkcd.com/378/ Christof -- http://mail.python.org/mailman/listinfo/python-list

Re: what IDE is the best to write python?

2009-02-02 Thread Christof Donat
Hi, > Just to register a contrary opinion: I *hate* syntax highlighting With vim you simply don't turn it on. Would that be OK for you? Christof -- http://mail.python.org/mailman/listinfo/python-list

Re: what IDE is the best to write python?

2009-02-01 Thread Christof Donat
stem and can be used for special purpous utilities like e.g. code generators. If you need User Interface Design, there are quite powerful stand alone tools, like e.g. the QtDesigner which can be used with that "OS IDE". Christof -- http://mail.python.org/mailman/listinfo/python-list

Re: SOAPpy WSDL problem: namespace of schema and import match error

2008-07-28 Thread Christof Winter
Christof Winter wrote, On 28.07.2008 12:32: I am trying to use a webservice with SOAPpy: import SOAPpy intact_wsdl = "http://www.ebi.ac.uk/intact/binary-search-ws/binarysearch?wsdl"; intact_serv = SOAPpy.WSDL.Proxy(intact_wsdl) [...] My question: - Is there a problem with the

SOAPpy WSDL problem: namespace of schema and import match error

2008-07-28 Thread Christof Winter
Is there a problem with the Python SOAP/WSDL implementation? Any suggestions? Christof Traceback (most recent call last): File "testEBIIntactWebservice.py", line 3, in intact_serv = SOAPpy.WSDL.Proxy(intact_wsdl) File "/var/lib/python-support/python2.5/SOAPpy/WSDL.py", line

Re: KeyError in pickle

2008-05-23 Thread christof
On 23 Mai, 10:48, Peter Otten <[EMAIL PROTECTED]> wrote: > christof wrote: > > I am using pickle/unpickle to let my program save its documents to > > disk. While this it worked stable for a long time, one of my users now > > complained, that he had a file which can'

KeyError in pickle

2008-05-23 Thread christof
e.pyo", line 858, in load KeyError: 'A' Does anybody know this problem. How this can happen and how can I avoid it? Thanks, Christof -- http://mail.python.org/mailman/listinfo/python-list

SimpleHTTPServer send wrong Content-Length for text/* on Windows?

2008-02-26 Thread Christof Hoeke
hi, I noticed while trying a simple (but still very useful) server based on SimpleHTTP that it does report a wrong "Content-Length" for "text/*" files if Windows line-end "\r\n" is used. Most clients (e.g. browsers) do simply ignore a wrong Content-Length but there are programs that do care and

Javascript parser

2008-01-08 Thread Christof Hoeke
ke to work in (C)Python only. thanks for any hint Christof -- http://mail.python.org/mailman/listinfo/python-list

Re: state of XSLT2/XPath2 or XQuery in CPython

2007-12-26 Thread Christof Hoeke
Stefan Behnel wrote: > Christof Hoeke wrote: >> I was wondering if there is any way to use XSLT2 or maybe even XQuery >> with "normal" CPython. Using Saxon/XSLT2 with Jython is no problem (I >> have not tried Saxon.NET with IronPython but suspect no problem?) but I &

state of XSLT2/XPath2 or XQuery in CPython

2007-12-26 Thread Christof Hoeke
hi, I was wondering if there is any way to use XSLT2 or maybe even XQuery with "normal" CPython. Using Saxon/XSLT2 with Jython is no problem (I have not tried Saxon.NET with IronPython but suspect no problem?) but I could not find any way to use XSLT2 or XPath Features with CPython. All the usu

Re: list (range) syntax

2007-10-26 Thread Christof Winter
Ryan Ginstrom wrote: >> On Behalf Of Steven D'Aprano >> Because in common English, counting starts at 1 and ranges >> normally include both end points (that is, it is a "closed" >> interval). If you say "I'll be away from the 4th to the 7th" >> and then turn up on the 7th, nearly everyone will w

Re: 2 python questions!

2007-09-05 Thread Christof Winter
[EMAIL PROTECTED] wrote: [...] > Now the second question has to do with images retrieval and > manipulation. Which libraries do you propose to work with to > retrieve and resize images from the web? urllib.urlretrieve() and Python Imaging Library (PIL) -- http://mail.python.org/mailman/listin

Re: How to optimise this code?

2007-08-21 Thread Christof Winter
David N Montgomery wrote: > class testCase: > def __init__(self, tc): > if tc == 1:self.testCase1() > if tc == 2:self.testCase2() > if tc == 3:self.testCase3() > if tc == 4:self.testCase4() > if tc == 5:self.testCase5() > if tc == 6:self.testCase6

Re: Want to learn Python

2007-06-15 Thread Christof Winter
nt from a book, I must admit. Cheers, Christof -- http://mail.python.org/mailman/listinfo/python-list

Re: Method much slower than function?

2007-06-14 Thread Christof Winter
uot;).repeat(number=1) > > ...after a few minutes I aborted the process... > Using Python 2.4.4 (#2, Jan 13 2007, 17:50:26) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2 f1() and f2() also virtually take the same amount of time, although I must admit that this is quite different from what I expected. Cheers, Christof -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Help!!!

2007-06-13 Thread Christof Winter
both work fine. You could also try >>> help(SeqIO) >>> help(Fasta) after your import for some further information. Cheers, Christof -- http://mail.python.org/mailman/listinfo/python-list