python a znak # v configu

Matej Cepl ceplm na seznam.cz
Úterý Září 26 20:51:35 CEST 2006


Jiří Pidrman wrote:
> nejak nemohu prijit na to, jak v konfiguracnim souboru pro script v
> pythnu, ktery pouziva modul config, zadat parametr, ktery obsahuje znak #.

To je zvláštní -- mě tenhle skript funguje:

        #!/usr/bin/env python
        print "aaaa#a"

Matěj

-- 
http://matej.ceplovi.cz/blog/
Templová 6, phone: 604 893 825, JID: ceplma<at>jabber.cz 
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
Never, never, never believe any war will be smooth and easy, or
that anyone who embarks on the strange voyage can measure the
tides and hurricanes he will encounter. The statesman who yields
to war fever must realise that once the signal is given, he is no
longer the master of policy but the slave of unforeseeable and
uncontrollable events.
        -- Winston Churchill, 1930




Další informace o konferenci Linux