Special printing

Olivier Dagenais olivierS.dagenaisP at canadaA.comM
Tue Oct 17 09:38:45 EDT 2000


You can use either single or double quotes to define strings, in Python.
Since you want to print a double quote in your string, I recommend you
surround your string in single quotes:

print '``!"#¤¤%%%/&(%()==??'

--
----------------------------------------------------------------------
Olivier A. Dagenais - Software Architect and Developer
"Someone called 'Type your name here' is impersonating me on the
internet and is posting exactly the same things I am posting!"


"joonas" <keisari_ at hotmail.com> wrote in message
news:39EC4F70.5AA50246 at hotmail.com...
> How can i print special characters like
>
> ``!"#¤¤%%%/&(%()==??
>
> i think that
>
> print "``!"#¤¤/\%%%/&(%()==??"
>
> wont work.
>
> Joonas.





More information about the Python-list mailing list