HAppy New Year
Steve Holden
steve at holdenweb.com
Sun Jan 3 14:54:14 EST 2010
Dotan Cohen wrote:
> 2010/1/2 baboucarr sanneh <sanneh27 at hotmail.com>:
>> Hi guys,
>>
>> Jus want to wish you a happy new year to u all..
>>
>> 1.Copy the content below and Paste it on a Notepad.
>> 2 . Use replace all (Ctrl + H)
>> 3. Type in ‘6’ in the ‘find what’ column
>>
>> 4. Type in _ (underscore) in the ‘replace with’ column
>>
>> 5. Click on replace all.
>>
>
> Wow, I just love Windows users. Sending this to the Python list? Paste
> "on a notepad"?!? The "Replace All" function in "a notepad" is
> Ctrl-H?!?? What does H stand for?!?!? Explicit instructions how to
> :%s/6/_/g in "a notepad"?!?!?
>
> Happy new year!
>
What I want to know is why didn't he just write
"""\
... original long string ...
""".replace("6", "_")
But watch that snarkiness ... I'm a Windows user too!
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
PyCon is coming! Atlanta, Feb 2010 http://us.pycon.org/
Holden Web LLC http://www.holdenweb.com/
UPCOMING EVENTS: http://holdenweb.eventbrite.com/
More information about the Python-list
mailing list