[Tutor] Enter? Tab?

Bill Mill bill.mill at gmail.com
Wed Nov 17 04:10:21 CET 2004


Where is this a python example and in what tutorial?

Peace
Bill Mill
bill.mill at gmail.com


On Tue, 16 Nov 2004 18:48:52 -0800 (PST), Harov Satmandirvich
<elrood_corrino_ii at yahoo.com> wrote:
> I have been going through the Python tutorial and
> tried to reproduce one of its first examples:
> 
> <html>
> <body>
> 
> <script language="JavaScript">
> 
> document.write('Hello World\n');
> 
> </script>
> 
> </body>
> </html>
> 
> However, this didn't work.  The only way I could get
> the prompt to display the above text like that was to
> hit TAB over and over again until the cursor advanced
> a line.  Hitting ENTER, of course, enters the line as
> if it were a whole program and produces an error.  And
> even when I used TAB for the spacing, the example
> program didn't work.
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list