Is Python as capable as Perl for sysadmin work?

Jeremy Bowers jerf at jerf.org
Tue Feb 8 08:20:47 EST 2005


On Tue, 08 Feb 2005 18:18:13 +0000, Marc Huffnagle wrote:

> Jeff Epler wrote:
>> 
>> There's another little-known fact about Python:  No string is permitted
>> to end with a backslash!  You might think that variations like
>>     r'\'
>> or
>>     """"""\\\\\""""""
>> would allow you to create this elusive value, but you'd mistaken!
>> Now, this may not bother Unix sysadmins, but the honest truth is that
>> you'll be administrating Windows systems, too, anywhere you work!
> 
>  >>> a = "\\"
>  >>> print a
> \

That's really the only problem you had with his post?

:-O

*wink*





More information about the Python-list mailing list