Re: [Tutor] Documentation

2013-01-09 Thread Steven D'Aprano
On 07/01/13 14:48, Ed Owens wrote: [...] parser = HTMLParser(formatter.AbstractFormatter( formatter.DumbWriter(cStringIO.StringIO( HTMLParser is from htmllib. I'm having trouble finding clear documentation for what the functions that are on the 'parser =' line do and return. The thre

Re: [Tutor] Documentation

2013-01-06 Thread Alexander Mark
On Jan 6, 2013, at 22:48, Ed Owens wrote: > I have been working my way through Chun's book Core Python Applications. > > In chapter 9 he has a web crawler program that essentially copies all the > files from a web site by finding and downloading the links on that domain. > > One of the classes

[Tutor] Documentation

2013-01-06 Thread Ed Owens
I have been working my way through Chun's book /Core Python Applications. /In chapter 9 he has a web crawler program that essentially copies all the files from a web site by finding and downloading the links on that domain. One of the classes has a procedure definition, and I'm having trouble

Re: [Tutor] Documentation and top matter

2009-01-04 Thread Alan Gauld
"wormwood_3" wrote #!/usr/bin/env python #- """ My awesome purpose. """ author = "My Name" date_started = "2001-01-01" version = 0.1 #- IMPORT

[Tutor] Documentation and top matter

2009-01-04 Thread wormwood_3
While PEP 8 and PEP 257 provide ample helpful information on the recommended ways to document classes, functions, and comments within code, I am having a hard time finding recommendations on how to document scripts by way of top matter. For example, I used this format for a while: #!/usr/bin/en

Re: [Tutor] Documentation on how to run complete R scripts from Pythoninterpreter

2008-11-12 Thread Kent Johnson
On Wed, Nov 12, 2008 at 6:07 PM, Alan Gauld <[EMAIL PROTECTED]> wrote: > "Judith Flores" <[EMAIL PROTECTED]> wrote >> >> I am very new to Python and I have long R scripts that I would like to >> run under the Python Interpreter. > But I'd like to thank you for pointing me at R! R is very powerfu

Re: [Tutor] Documentation on how to run complete R scripts from Pythoninterpreter

2008-11-12 Thread Alan Gauld
"Judith Flores" <[EMAIL PROTECTED]> wrote I am very new to Python and I have long R scripts that I would like to run under the Python Interpreter. I'm sorry I can't help for reasons that will become apparent. But I'd like to thank you for pointing me at R! I've just bought a commercial sta

[Tutor] Documentation on how to run complete R scripts from Python interpreter

2008-11-12 Thread Judith Flores
Hello, I am very new to Python and I have long R scripts that I would like to run under the Python Interpreter. The reason for this is because I will try to construct a GUI using 'easygui' in Python. I read some of the the documentation regarding the RPy module, but it implies to add a 'r' a

Re: [Tutor] documentation tut.html Error 404

2008-10-17 Thread Marc Tompkins
> > http://www.python.org/doc/current/tut/tut.html >> > Reminds me of Christopher Robin helping Winnie-the-Pooh try to fool the bees: "Tut tut, looks like rain! Tut tut, looks like rain!" At least that's how Stanley Holloway said it on the Disney record I had as a child... -- www.fsrtechnologies

Re: [Tutor] documentation tut.html Error 404

2008-10-17 Thread Marc Tompkins
> > ... >> http://www.python.org/doc/current/tut/tut.html >> > Reminds me of Christopher Robin helping Winnie-the-Pooh try to fool the bees: "Tut tut, looks like rain! Tut tut, looks like rain!" -- www.fsrtechnologies.com ___ Tutor maillist - Tutor@

Re: [Tutor] documentation tut.html Error 404

2008-10-17 Thread Alan Gauld
"Marco" <[EMAIL PROTECTED]> wrote the link provided in one of the initiation mails from the tutor-mailinglist: ... http://www.python.org/doc/current/tut/tut.html ... responds with a 404 error. So it does, It should be http://docs.python.org/tutorial/ Good catch! Hopefully one of our list a

Re: [Tutor] documentation tut.html Error 404

2008-10-17 Thread Danny Yoo
On Fri, Oct 17, 2008 at 11:57 AM, Marco <[EMAIL PROTECTED]> wrote: > hi list, > > the link provided in one of the initiation mails from the tutor-mailinglist: > > ... > http://www.python.org/doc/current/tut/tut.html Ok, thanks. This should be fixed now. The link appears to have moved to: ht

[Tutor] documentation tut.html Error 404

2008-10-17 Thread Marco
hi list, the link provided in one of the initiation mails from the tutor-mailinglist: ... http://www.python.org/doc/current/tut/tut.html ... responds with a 404 error. Best regards, marco ___ Tutor maillist - Tutor@python.org http://mail.python.o

Re: [Tutor] documentation/sourceforge bug help

2006-10-30 Thread C or L Smith
Danny Yoo wrote: | On Mon, 30 Oct 2006, C or L Smith wrote: | || Can anyone help me figure out how to actually get logged in so I can || file the report? | | Do you happen to have cookies disabled? You might need to enable | them, since that's what SF will use to track your login status. I'm |

Re: [Tutor] documentation/sourceforge bug help

2006-10-30 Thread Senthil_OR
C or L Smith wrote: > I know this is off topic, but can anyone give me a hand? I have a > sourceforge account. I want to make a correction to the python > documentation. I click on the appropriate link at the bottom of the > documentation page and then the bug tracker link on the page that I > am s

Re: [Tutor] documentation/sourceforge bug help

2006-10-30 Thread Danny Yoo
On Mon, 30 Oct 2006, C or L Smith wrote: > Can anyone help me figure out how to actually get logged in so I can > file the report? Do you happen to have cookies disabled? You might need to enable them, since that's what SF will use to track your login status. I'm getting the feeling that i

[Tutor] documentation/sourceforge bug help

2006-10-30 Thread C or L Smith
I know this is off topic, but can anyone give me a hand? I have a sourceforge account. I want to make a correction to the python documentation. I click on the appropriate link at the bottom of the documentation page and then the bug tracker link on the page that I am sent to which takes me to

Re: [Tutor] Documentation

2006-02-06 Thread Kent Johnson
Paul Kraus wrote: > I have been working through a couple of books and learning alot. However I > can't seem to find any easy way to learn more about different methods and > commands. > > For instance what are all of the methods that can be applied to lists and > what > do they do and how do th

Re: [Tutor] Documentation

2006-02-06 Thread Alan Gauld
> There is a free book on using Tkinter to be found at > http://infohost.nmt.edu/tcc/help/lang/python/tkinter.html > >Another great resource is to be found on > http://www.pythonware.com/library/index.htm And a useful paper book is Tcl/Tk in a Nutshell You have to translate from native Tcl/Tk com

Re: [Tutor] Documentation

2006-02-05 Thread John Fouhy
On 06/02/06, Paul Kraus <[EMAIL PROTECTED]> wrote: > Thanks for the fast response. This was exactly what I was looking for. One > last question how would I 'call the method keys'. from the example above. If b is a Tkinter.Button, then it means call b.keys(). eg: >>> from Tkinter import * >>> tk

Re: [Tutor] Documentation

2006-02-05 Thread Andre Roberge
On 2/5/06, Paul Kraus <[EMAIL PROTECTED]> wrote: > > >>> help(Tkinter.Button.configure) > > > > Help on method configure in module Tkinter: > > > > configure(self, cnf=None, **kw) unbound Tkinter.Button method > > Configure resources of a widget. > > > > The values for resources are specifi

Re: [Tutor] Documentation

2006-02-05 Thread Paul Kraus
> >>> help(Tkinter.Button.configure) > > Help on method configure in module Tkinter: > > configure(self, cnf=None, **kw) unbound Tkinter.Button method > Configure resources of a widget. > > The values for resources are specified as keyword > arguments. To get an overview about > the

Re: [Tutor] Documentation

2006-02-05 Thread Andre Roberge
On 2/5/06, Paul Kraus <[EMAIL PROTECTED]> wrote: > I have been working through a couple of books and learning alot. However I > can't seem to find any easy way to learn more about different methods and > commands. > > For instance what are all of the methods that can be applied to lists and what >

[Tutor] Documentation

2006-02-05 Thread Paul Kraus
I have been working through a couple of books and learning alot. However I can't seem to find any easy way to learn more about different methods and commands. For instance what are all of the methods that can be applied to lists and what do they do and how do they work. Or in TKinter what are a