Re: [Tutor] Interfaces in Python

2006-06-13 Thread Dave Kuhlman
On Tue, Jun 13, 2006 at 12:59:47PM -0400, Emily Fortuna wrote: > Hi friends, > I am learning Python and relating to my knowledge of Java... What is (Is > there?) the equivalent of Java interfaces in Python? How could I write > my own? > Emily > You may be interested in this article: http:

Re: [Tutor] debug process

2006-06-13 Thread Matt Richardson
Bob Gailer wrote: > Kent Johnson wrote: >> [EMAIL PROTECTED] wrote: >> >>> Hello, >>> >>> Is there a way to debug (trace) the python code line by >>> line? >>> I'll put in my $.02 for SPE. PyChecker and Tab Nanny are built in and run as you code, which saved me from making lots of silly

Re: [Tutor] die or exit function?

2006-06-13 Thread Mike Hansen
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Andy Koch > Sent: Tuesday, June 13, 2006 8:42 AM > To: tutor@python.org > Subject: [Tutor] die or exit function? > > Bkgd: I've been doing PHP for the last several years. > > Q: In PHP there are

[Tutor] Interfaces in Python

2006-06-13 Thread Emily Fortuna
Hi friends, I am learning Python and relating to my knowledge of Java... What is (Is there?) the equivalent of Java interfaces in Python? How could I write my own? Emily ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/t

Re: [Tutor] Python related mags

2006-06-13 Thread Michael Sullivan
On Tue, 2006-06-13 at 16:49 +, ingo wrote: > in news:[EMAIL PROTECTED] Evans Anyokwu wrote: > > > But then again, who is going to initiate the first move?? > > > > Here's a name: Monthly Python Yes. They had a large influence in the birth of the language, but I'm not so sure if they still

Re: [Tutor] Python related mags

2006-06-13 Thread ingo
in news:[EMAIL PROTECTED] Evans Anyokwu wrote: > But then again, who is going to initiate the first move?? > Here's a name: Monthly Python ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] [tutor] debug process

2006-06-13 Thread Dave Kuhlman
On Tue, Jun 13, 2006 at 08:51:49AM +0200, Wolfram Kraus wrote: > [EMAIL PROTECTED] schrieb: > > Hello, > > > > Is there a way to debug (trace) the python code line by line? > > > > emily > > > > Hi emily! > > You can use The Python Debugger or pdb, see: > http://www.python.org/doc/2.4.2/lib/mo

[Tutor] die or exit function?

2006-06-13 Thread Andy Koch
Bkgd: I've been doing PHP for the last several years. Q: In PHP there are functions die and exit which terminate processing of a script with an optional string output. Is there something similar to this in Python? ___ Tutor maillist - Tutor@python.

Re: [Tutor] [tutor] debug process

2006-06-13 Thread Bob Gailer
Kent Johnson wrote: [EMAIL PROTECTED] wrote: Hello, Is there a way to debug (trace) the python code line by line? There is a simple debugger included with IDLE, the editor that comes with Python. winpdb is a nice debugger with a GUI. Pydev and Eric3 are Python develop

Re: [Tutor] [tutor] debug process

2006-06-13 Thread Kent Johnson
[EMAIL PROTECTED] wrote: > Hello, > > Is there a way to debug (trace) the python code line by > line? There is a simple debugger included with IDLE, the editor that comes with Python. winpdb is a nice debugger with a GUI. Pydev and Eric3 are Python development tools that include debuggers. http

Re: [Tutor] Python related mags

2006-06-13 Thread Evans Anyokwu
- Original Message - From: "Michael Sullivan" <[EMAIL PROTECTED]> To: "Andrew Robert" <[EMAIL PROTECTED]> Cc: "Python Tutor" Sent: Tuesday, June 13, 2006 3:26 AM Subject: Re: [Tutor] Python related mags > On Mon, 2006-06-12 at 21:13 -0400, Andrew Robert wrote: >> -BEGIN PGP SIGNED