[Tutor] working with email module

2010-02-21 Thread Rick Pasotto
e docs show msg.attach() to create an email but I can't find anything that would allow deleting an attachment. I know how to delete an entire message from a mailbox. -- "There is no medicine like hope, no incentive so great, and no tonic so powerful as expectation of something tomorrow."

[Tutor] string encoding

2010-06-17 Thread Rick Pasotto
you must set a low value on everything else." -- Lucius Annaeus Seneca, 65 A.D. Rick Pasottor...@niof.nethttp://www.niof.net ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] string encoding

2010-06-17 Thread Rick Pasotto
On Fri, Jun 18, 2010 at 12:24:25PM +1000, Lie Ryan wrote: > On 06/18/10 06:41, Rick Pasotto wrote: > > I'm using BeautifulSoup to process a webpage. One of the fields has a > > unicode character in it. (It's the 'registered trademark' symbol.) When > > I t

[Tutor] segmentation fault

2009-07-12 Thread Rick Pasotto
ss is having a large, loving, caring, close-knit family in another city." -- George Burns Rick Pasottor...@niof.nethttp://www.niof.net ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] segmentation fault

2009-07-12 Thread Rick Pasotto
On Sun, Jul 12, 2009 at 09:54:26AM -0700, Emile van Sebille wrote: > On 7/12/2009 9:09 AM Rick Pasotto said... >> I've got a script that I wrote several years ago and have been happily >> using daily. Suddenly when I try to run it I get a segmentation fault. >> >&g

[Tutor] MySQLdb field type

2009-08-10 Thread Rick Pasotto
need to experiment and make my own list? -- "As empty vessels make the loudest sound, so they that have the least wit are the greatest blabbers." -- Plato Rick Pasottor...@niof.nethttp://www.niof.net ___ Tutor maillist - Tutor@

Re: [Tutor] MySQLdb field type

2009-08-10 Thread Rick Pasotto
On Mon, Aug 10, 2009 at 02:50:01PM -0400, Kent Johnson wrote: > On Mon, Aug 10, 2009 at 1:08 PM, Rick Pasotto wrote: > > After executing a query that returns values, cursor.description contains > > a list of tuples, one tuple for each field. Each tuple has seven values > > con

Re: [Tutor] MySQLdb field type

2009-08-11 Thread Rick Pasotto
On Mon, Aug 10, 2009 at 07:22:03PM -0400, Kent Johnson wrote: > On Mon, Aug 10, 2009 at 3:52 PM, Rick Pasotto wrote: > > Not exactly what I'm looking for. > > > > The type_code in the tuple is a number. For one of my tables I see the > > following numbers: 1, 2,

Re: [Tutor] Updating MySQL Database

2007-10-07 Thread Rick Pasotto
pdatequery,(fqdn,ip)) connection.close() Note that for these last two there is a comma between the arguments to cursor.execute() rather than a percent. -- "I am only one. But I am one. I cannot do everything but I can do something. And I will not let what I cannot do interfere with what I

Re: [Tutor] Split a string into characters

2005-08-22 Thread Rick Pasotto
ring. >Str.split() without any arguments looks for whitespace as splitting > character. So, this doesn't serve the purpose. > And str.split("") appears to be illegal. list('Hans') -- "History will be kind to me, for I intend to writ

Re: [Tutor] New GUI module

2005-09-04 Thread Rick Pasotto
On Sun, Sep 04, 2005 at 03:28:11PM +0100, Alan G wrote: > > Tix has actually been included since Python 2.2! But there are still no *python* docs. The Tcl docs are very confusing. -- "Happiness is the interval between periods of unhappiness." -- Don Marquis

Re: [Tutor] shebang problem

2006-11-04 Thread Rick Pasotto
sons. Now type in: './shebangtest' and your program should run. Putting the './' in front tells bash to use the command in the current directory. -- "Rousseau was convinced that God, nature and man were wrong. I know that this opi

[Tutor] where to report a bug?

2008-07-25 Thread Rick Pasotto
send the error report? -- "With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied chains us all irrevocably." -- Judge Aaron Satie (As quoted by J.L. Picard) Rick Pasotto[EMAIL PROTECTED]http://ww

Re: [Tutor] where to report a bug?

2008-07-26 Thread Rick Pasotto
On Fri, Jul 25, 2008 at 03:11:57PM -0700, Dave Kuhlman wrote: > On Fri, Jul 25, 2008 at 10:04:35AM -0400, Rick Pasotto wrote: > > I have a script that works fine on my linux machine but bombs out when > > run under windows using the exact same data files. The script downloads

[Tutor] help with sorted()

2008-08-17 Thread Rick Pasotto
at is doubtful. So get as much happiness out of what you are doing as you can and don't put off being happy until some future date." -- Dale Carnegie Rick Pasotto[EMAIL PROTECTED]http://www.niof.net ___ Tutor maillist - Tutor@

[Tutor] BadPickleGet error

2011-06-25 Thread Rick Pasotto
t generation by issuing bonds payable by the next generation." -- Lawerence J.Peter Rick Pasottor...@niof.nethttp://www.niof.net ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor