[Tutor] trouble using 2to3.py

Richard D. Moores rdmoores at gmail.com
Wed Nov 4 02:21:59 CET 2009


On Tue, Nov 3, 2009 at 16:46, Alan Gauld <alan.gauld at btinternet.com> wrote:
>
> "Richard D. Moores" <rdmoores at gmail.com> wrote
>>
>> My sincere thanks to Dave Angel and Alan Gauld for their clear
>> explanations of .bat files and how to use them. I've already made
>> several useful ones.
>
> Start the cmd shell in windows and run the help command to get a list of
> things you can put in to spruce them up.

Sorry, put in where?

> It will explain how to use IF
> statements and FOR loops to make them much more powerful. But in practice if
> you know Python you will usually find it easier with that! :-)

Wow, the "online help utility" for 3.1 looks really useful and
informative. One question. Many of the articles are LONG. When I've
got what wanted out of one, I want to quit, but don't know how to quit
More. How to?

Another is, although I've seen this before in older Python docs, I
never really understood things like

for_stmt ::= "for" target_list "in" expression_list ":" suite
             ["else" ":" suite]

help> ::=
no Python documentation found for '::='

In particular, what exactly does "::=" mean?

Thanks,

Dick


More information about the Tutor mailing list