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 Laura Creighton
Yes, in Thunderbird disabling the flowing is separate from setting plain text. http://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Flowed_format see: 'Completely plain email' right down on the bottom of the page. That is what you want. Laura ___

Re: [Tutor] How to kill a thread

2015-11-23 Thread Steven D'Aprano
On Mon, Nov 23, 2015 at 10:07:36AM +, Oscar Benjamin wrote: > On 23 November 2015 at 01:42, CMG Thrissur wrote: > > Is the below text in plain text? I am using thunderbird. > > No it isn't. I've kept the first part of it so you can see how it looks: Looks like plain text to me. CMG's email

Re: [Tutor] ascii to/from AL32UTF8 conversion

2015-11-23 Thread Steven D'Aprano
On Sun, Nov 22, 2015 at 11:19:17PM -0500, bruce wrote: > Hi. > > Doing a 'simple' test with linux command line curl, as well as pycurl > to fetch a page from a server. > > The page has a charset of >>AL32UTF8. I had never heard of that before, so I googled for it. No surprise, it comes from Or

Re: [Tutor] How to kill a thread

2015-11-23 Thread Oscar Benjamin
On 23 November 2015 at 01:42, CMG Thrissur wrote: > Is the below text in plain text? I am using thunderbird. No it isn't. I've kept the first part of it so you can see how it looks: > import datetime import time import mysql.connector import threading import > pythonwhois cnx = > mysql.connector

Re: [Tutor] How to kill a thread

2015-11-23 Thread Steven D'Aprano
On Mon, Nov 23, 2015 at 07:12:29AM +0530, CMG Thrissur wrote: > Is the below text in plain text? I am using thunderbird. Yes, it is plain text, but the word-wrapping of the text is completely broken, as you should be able to see below: > import datetime import time import mysql.connector import

Re: [Tutor] How to kill a thread

2015-11-23 Thread Steven D'Aprano
On Mon, Nov 23, 2015 at 09:58:50AM +, Alan Gauld wrote: > On 23/11/15 01:42, CMG Thrissur wrote: > > >>Since spacing is significant in python, there is no way we > >>can tell what it is your code is doing until you get gmail to > >>behave. > >> > >>Laura > >Is the below text in plain text? I a

Re: [Tutor] How to kill a thread

2015-11-23 Thread Alan Gauld
On 23/11/15 01:42, CMG Thrissur wrote: Since spacing is significant in python, there is no way we can tell what it is your code is doing until you get gmail to behave. Laura Is the below text in plain text? I am using thunderbird. Nope import datetime import time import mysql.connector i

[Tutor] how to invert tuples, 2nd question solved

2015-11-23 Thread marcus lütolf
dear pythonistas, i solved my 2. question in my mail of Sunday 22.11.2015 21:59, sorry for bothering you, Marcus. --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus ___ Tutor maillist - Tutor@pyt

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 exampl