Re: Python books?

2007-03-14 Thread Paul Hummer
Alex Martelli wrote: > BartlebyScrivener <[EMAIL PROTECTED]> wrote: > > >> On Mar 14, 3:50 pm, [EMAIL PROTECTED] (Aahz) wrote: >> >> >>> Some people prefer shorter books -- Python for Dummies (for new >>> programmers) and Python in a Nutshell (for experienced programmers) both >>> try to gi

Re: help developing an editor to view openoffice files.

2007-03-13 Thread Paul Hummer
krishnakant Mane wrote: > hello, > well what I exactly need to do is firstly have a way to read .odt and > .ods files. > I have a lot of information in open office format which I need to access. > The most important thing is that I completely want to avoid the use of > microsoft office. > so I need

Re: Newbie Question

2007-02-12 Thread Paul Hummer
Stef Mientki wrote: > Oh I forgot that, ... > ... in Delphi you don't have to choose ;-) Dang it! I hate it when they give me choices like that! Paul -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython libraries never detected

2007-02-10 Thread Paul Hummer
[EMAIL PROTECTED] wrote: > Hi, I recently started coding with Python and I've been trying for the > past hour or so to determine why, every time I "import wx" (or compile > another piece of code that imports wx), Python can never find the > libraries. > > I'm running Ubuntu Edgy 6.10, and, as per

Re: Hacking in python

2007-02-10 Thread Paul Hummer
enes naci wrote: > i would like to know about hacking in python too whether its illegal > or not is not the point and anyway it doesn't mean i'm gong to use it. > > Does your mom know you're using her computer to take down the government? I'm gonna tell on you! -- http://mail.python.org/mail

Re: help with subscription to a process

2007-01-26 Thread Paul Hummer
The Python socket module, although lightweight, can be used to quickly establish a socket between client and server for the purpose of feeding data. I've done this once or twice with XML. If you are looking for something a bit more robust, might I suggest reading up on the Twisted libraries? Pau

Re: Anyone persuaded by "merits of Lisp vs Python"?

2006-12-28 Thread Paul Hummer
I am rather annoyed at the "apples vs. oranges" arguments I frequently see on Reddit and the like. I picked up python last summer after going through a very messy breakup (it seemed like a good thing to do with all the alone time). Anyway, ever since I started writing python, I've been bugged by

Re: How to return a simple variable from a function (still newbie) ?

2006-12-28 Thread Paul Hummer
How about restructuring your function like this: def some_function( z,y ): z = 2 y[2] = 'global ?' return z And then you'll have to react to the returning variable, like this in your code: x = 5 y = [1,2,3,4] print x,y print some_function( x, y ) print x,y Now, it appears like you want so