Re: [Tutor] Urgent: unicode problems writing CSV file

2016-06-09 Thread CMG Thrissur
On Wednesday 08 June 2016 07:24 PM, Alex Hall wrote: All, I'm working on a project that writes CSV files, and I have to get it done very soon. I've done this before, but I'm suddenly hitting a problem with unicode conversions. I'm trying to write data, but getting the standard cannot encode cha

[Tutor] (SIP installation problem) Best way to install Python 3 onto Windows 10

2016-03-20 Thread CMG Thrissur
On Wednesday 16 March 2016 03:15 AM, Alan Gauld wrote: On 15/03/16 21:31, Ken G. wrote: Having acquired a new laptop yesterday with Windows 10 installed and up-to-date, what would be the best way to install the latest version of Python 3? Personally I always install ActiveState Python on Windo

Re: [Tutor] (SIP installation problem) Best way to install Python 3 onto Windows 10

2016-03-19 Thread CMG Thrissur
On Thursday 17 March 2016 12:40 AM, eryk sun wrote: On Wed, Mar 16, 2016 at 12:56 PM, Alan Gauld wrote: On 16/03/16 12:46, CMG Thrissur wrote: I tried to install activestate on win 10 but due to my ignorance or lack of knowlege i could n't get to install pyqt or sip. i tried it th

Re: [Tutor] (SIP installation problem) Best way to install Python 3 onto Windows 10

2016-03-19 Thread CMG Thrissur
On Wednesday 16 March 2016 11:26 PM, Alan Gauld wrote: On 16/03/16 12:46, CMG Thrissur wrote: Personally I always install ActiveState Python on Windows I tried to install activestate on win 10 but due to my ignorance or lack of knowlege i could n't get to install pyqt or sip. i tri

[Tutor] pyqt __del__ race conditions in subclassed form

2016-02-29 Thread CMG Thrissur
Hello, This below given code is giving a race condition, i.e. sometimes gives the result as expected, sometimes gives error, sometimes just does nothing. It is part of a subclassed qt form which i am using as main dialog. This behaviour occurs when i close the dialog whereby ending the appl

Re: [Tutor] asyncio or threading

2016-02-16 Thread CMG Thrissur
Thank you all, especially Danny for enlightening about "synchronous" vs "asynchronous" style. Further the groups response has helped me in my decision making, and views about using asyncio. George ___ Tutor maillist - Tutor@python.org To unsubscrib

[Tutor] asyncio or threading

2016-02-15 Thread CMG Thrissur
Hello, I just wanted an opinion on the subject, asyncio and threading both seam to do the same job, but i feel threading is better because of the multiple ways i can control it. Just want get the groups opinion based on there experience in using asyncio or threading in real life problems.

Re: [Tutor] me, my arm, my availability ...

2016-01-14 Thread CMG Thrissur
take care, get well soon, regards CMG On Thursday 14 January 2016 02:17 AM, Laura Creighton wrote: I fell recently. Ought to be nothing, but a small chip of bone, either an existing one or one I just made is nicely wedged in the joint taking away a whole lot of the ability of my arm to rotate

Re: [Tutor] How to kill a thread

2015-11-23 Thread CMG Thrissur
Thank you all. i have pasted the code on pastebin. http://pastebin.com/embed_iframe.php?i=kHAUJQC2 My one main question in the code is that there are times when my thread using pythonwhois hangs up the process by statying active very long time. can i hope for a better solution to this proble

Re: [Tutor] How to kill a thread

2015-11-23 Thread CMG Thrissur
On Monday 23 November 2015 12:12 AM, Laura Creighton wrote: In a message of Sun, 22 Nov 2015 21:40:13 +0530, CMG Thrissur writes: On Sunday 22 November 2015 05:24 PM, Laura Creighton wrote: In a message of Sun, 22 Nov 2015 11:23:58 +0530, CMG Thrissur writes: Hello, I have seen some

Re: [Tutor] How to kill a thread

2015-11-22 Thread CMG Thrissur
On Sunday 22 November 2015 05:24 PM, Laura Creighton wrote: In a message of Sun, 22 Nov 2015 11:23:58 +0530, CMG Thrissur writes: Hello, I have seen some examples of terminating a thread the safe way. But is there a way to kill a thread without worrying about what happens next. Like

[Tutor] How to kill a thread

2015-11-22 Thread CMG Thrissur
Hello, I have seen some examples of terminating a thread the safe way. But is there a way to kill a thread without worrying about what happens next. Like thread.stop() or something George ___ Tutor maillist - Tutor@python.org To unsubscribe or c