Strings
Joshua Muskovitz
joshm at taconic.net
Fri Jan 18 14:55:20 EST 2002
More information about the Python-list mailing list
Fri Jan 18 14:55:20 EST 2002
- Previous message (by thread): Strings
- Next message (by thread): Strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
And just because there are so many ways to do things in Python:
dir = "C:/Files/Games/Pygame"
newDir = '\\'.join(dir.split('/'))
--
# Joshua Muskovitz
# joshm at taconic.net
def lyyrs(sig): return '-'.join(sig.split()+["ly y'rs"])
lyyrs('Hire me! I need the work!')
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
- Previous message (by thread): Strings
- Next message (by thread): Strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list