Re: ucs2 and ucs4 python

2012-05-16 Thread zayatzz
On May 15, 7:42 pm, Miki Tebeka miki.teb...@gmail.com wrote: Can someone point me towards a resource or two which will tell me how to do this - im not very good with whole linux/servers stuff. Im using ubuntu linux - if that makes any difference. Did not test, but this is the direction I

Re: ucs2 and ucs4 python

2012-05-16 Thread zayatzz
There is one problem though... when i start script with shebang like #!/opt/bin/python and then try to run the script i get: /opt/bin/python^M: bad interpreter: No such file or directory /opt/bin/python /opt/bin/python2 /opt/bin/python2.7 all start this new version of python, but none of those

Re: ucs2 and ucs4 python

2012-05-16 Thread zayatzz
On May 16, 11:50 am, Matej Cepl mc...@redhat.com wrote: On 16.5.2012 10:36, zayatzz wrote: /opt/bin/python^M: bad interpreter: No such file or directory Your script has CRLF end-of-lines. Change it to plain Unix LF. Matěj Thanks :) but i have no idea what that means or how to achieve

Sockets and threading

2009-07-12 Thread zayatzz
Im trying to get aquinted to python on bit more basic level and am following socket and threading programming tutorials from these 2 addresses : http://heather.cs.ucdavis.edu/~matloff/Python/PyNet.pdf http://heather.cs.ucdavis.edu/~matloff/Python/PyThreads.pdf in this PyThreads file he sets up