On Sat, Jan 10, 2009 at 8:08 PM, Wayne Watson
wrote:
> I immediately answered my own question by clicking on a link that took me
> to a web site with the pdf; however, it looks like I installed Python 2.6.
> It'll be easy to uninstall, but I don't see 2.5 -- yet.
>
http://www.activestate.com/sto
Hello,
this is a rather specific question about parsing an indented grammar.
I have a working implementation (presented below) that may be worth a critic
review -- if you like
it.
First issue is: is there a way to express an indented formatfing using a common
grammar
language such as BNF (or re
I have no expierence using python. I was following a tutorial and i kept
getting a syntax error. it was >>> print "hello world!" hello world was not
coming up underneath it.. i tried to run the module but that didnt work either.
___
Tutor mai
On Sun, 2009-01-11 at 14:01 -0800, rev pacce wrote:
> I have no expierence using python. I was following a tutorial and i
> kept getting a syntax error. it was >>> print "hello world!" hello
> world was not coming up underneath it.. i tried to run the module but
> that didnt work either.
>
> __
"rev pacce" wrote
I have no expierence using python.
I was following a tutorial and i kept getting a syntax error.
it was >>> print "hello world!" hello world was not coming up
OK, I guess that you tried typing the >>> howerver that bit
should be produced by the Python interpreter. You n
Title: Signature.html
I installed "Python" 2.5 a few months ago, and decided I'd like to try
windowpy from ActiveState. Is having both of these installed going to
cause me trouble?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg.
I'm also new to python, but I have another suggestion on what might be
going on. If you downloaded the newly released python version 3.0, '
print "hello world" ' is a syntax error because in 3.0 the "print"
command has changed into a function. The correct statement would now
be:
print("Hello W
I have Python 3.0. I tried to use the 2to3 program included with the
interpreter to convert some scripts for Python 2.5 to Python 3.0 ones.
When I try to start it form the Python command line, it says it is a
syntax error.
This was the line of code:
$ 2to3 testscript.py
Any help would be appr