Hello. Been studying Python for about a week now. I did a quick read
of the tutorial in the manual and I'm reading Programming Python by
Mark Lutz. I'm still getting used to the Python syntax, but I'm able
to pretty much follow what is being said. But tonight Lutz was
talking about implementing
Hi folks. I'm learning Python from the Mark Lutz Book, Programming
Python 3rd edition.
He seems to be able to invoke the Python interpreter from any command
line prompt.
C:\temp>python
C:\PP3rdEd\examples>python
C:\PP3rdEd\Examples\PP3E\System>cd
Whereas I am only able to invoke it when the co
On Dec 9, 8:54 am, Adonis Vargas <[EMAIL PROTECTED]>
wrote:
> waltbrad wrote:
> > Hi folks. I'm learning Python from the Mark Lutz Book, Programming
> > Python 3rd edition.
>
> > He seems to be able to invoke the Python interpreter from any command
> >
Working through the Mark Lutz book Programming Python 3rd Edition.
A couple of modules in the "Preview" chapter give me errors. Both on a
shelve.open call:
Pretty simple code, (2nd example):
=code begin=
import shelve
from people import Person, Manager
bob = Person('Bob Smith', 42, 3
On Feb 8, 5:29 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Fri, 08 Feb 2008 06:36:53 -0200, waltbrad <[EMAIL PROTECTED]>
> escribió:
>
>
>
> > Working through the Mark Lutz book Programming Python 3rd Edition.
>
> > A couple of module
The script comes from Mark Lutz's Programming Python. It is the
second line of a script that will launch a python program on any
platform.
import os, sys
pyfile = (sys.platform[:3] == 'win' and 'python.exe') or 'python'
Okay, run on a win32 machine, pyfile evaluates to python.exe
That makes sen
I'm proceeding slowly though the Lutz book "Programming Python". I'm
in the section on named pipes. The script he uses has two functions:
one for the child the other for the parent. You start the parent then
the child:
python pipefifo.py #starts the parent
file /tmp/pipefifo # shows that the f
On Mar 17, 1:50 pm, waltbrad <[EMAIL PROTECTED]> wrote:
>
> I then wanted to start the child process first and see what happened
> when I ran the parent. Well that works but the reads come out in
> random order.
Well, I take that back. I accidentally had two 'parent' p
On Mar 17, 1:59 pm, Jeff Schwab <[EMAIL PROTECTED]> wrote:
>
> A Unix fifo is only nominally a file. It's really just a convenient way
> of referring to an in-memory object.
> mkfifo f
> some_prog > f &
> cat f
>
> Is semantically equivalent to:
>
> some_prog | cat
>
> If you w
Stumbling through Mark Lutz's "Programming Python 3rd", he gives an
example of a program that will automatically configure environment
settings and launch other programs. Then he gives an example of
running this program. On his command line he types:
C:\...\PP3E>Launcher.py
and this begins the
I want to upgrade from 2.5 to 2.6. Do I need to uninstall 2.5 before
I do that? If so, what's the best way to uninstall it? Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
PYTHONPATH is a concept I've never been able to get straight. I can't
see the difference between this and just setting paths in the Windows
environment variables. So, for the longest time I just never worried
about it.
Now, I'm going through James Bennett's "Practical Django Projects" and
the iss
On Nov 29, 1:39 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> waltbrad schrieb:
>
>
>
> > PYTHONPATH is a concept I've never been able to get straight. I can't
> > see the difference between this and just setting paths in the Windows
>
13 matches
Mail list logo