It's not a newbie distro by any means, but i am very fond of Arch Linux.
It has 3 versions of python available. Currently,
python24 2.4.6-1
python 2.6.2-1
python3 3.0.1-1
are all very simple to install in Arch. I have 2.6 and 3.0 both installed.
[cro...@veronica ~]$ python --version
Python 2.6.2
I got the same thing with idle, but when running as a script, it's not
the same, it errors. I tried it on Windows and Linux.
---
[da...@arch64 Python]$ less test.py
#/usr/bin/python3
print ('The \"This is a test \" {')
[da...@arch64 Python]$ sh test.py
tes
The double {{ }} worked perfectly, THANK YOU ! :)
This was driving me crazy.
On Wed, Apr 29, 2009 at 2:03 PM, Kent Johnson wrote:
> print ('The \"This is a test \" {')
>
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/
Trying to print something with a { in it.
Probably extremely simple, but it's frustrating me. :(
print ('The \"This is a test \" {')
i get this error
ValueError: Single '{' encountered in format string
___
Tutor maillist - Tutor@python.org
http://ma