[Tutor] argparse iterable

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Apr 2 15:49:00 CEST 2013


On 02/04/2013 10:48, Dave Angel wrote:
>
> BTW, can you tell me how you get the #the-namespace-object part of your
> link?  Is there some technique (without actually looking in the source
> code for the page) for finding the nearest id= ?  I've now figured out
> how to do it for pages like this one with a TOC, but is there a more
> general way?

I'm not aware of one, which obviously doesn't mean there's no such beast.

>
> For others like me:
> If there's a TOC (table of contents) for a page, you can right-click on
> the link to the particular section of the page, and COPY it to the
> clipboard.  It'll then have the form like:
>    http://docs.python.org/3/library/argparse.html#the-namespace-object
>
> where the last field specifies the particular section of the page desired.
>

I also go for the cut and paste approach.  Maybe we need Bicycle Repair 
Man to do some searching for us? :)

-- 
If you're using GoogleCrap™ please read this 
http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence



More information about the Tutor mailing list