I'm using mysqldb module and python 2.4. I'm a newbie. Thanks in advance.
1. Output desired:
"hello"
"world"
I know that MySQL takes \n and \t and what not.
But my python script, it takes that \n as literal. Meaning, when I retrieve
the records, they show up like "hello \n world".
How can
>Your problem is that the def statement reassignes the name "toHPU" to a
>function instead of a string. So when the code runs, you're passing a
>function object to s.copy2.
So...how do fix it?
>> import shutil
>>
>> #variables
>> s = shutil
>>
>> toHPU = "/etc/sysconfig/network/toHPU.wifi"
>
Is there any module to play mp3 or wav format files?
any sample code available somewhere?
thanks,
el chupacabra
--= Posted using GrabIt =
--= Binary Usenet downloading made easy =-
-= Get GrabIt for free from http://www.shemes.com/ =-
--
http
Hi, I'm just learning Pythonthanks in advance...
Do you get out of this loop?
Problem: When I type 'exit' (no quotes) the program doesn't quit the loop...it
actually attemps to find entries that containt the 'exit' string.
Desired behavior: when I type 'exit' the program should quit.
def s