Re: New to python, open source Mac OS X IDE?

2009-01-28 Thread aspersieman
7stud wrote: On Jan 27, 6:07 pm, Burukena wrote: On 1/27/09 8:44 PM, James Stroud wrote: joseph.a.mar...@gmail.com wrote: Greetings! I've heard enough raving about Python, I'm going to see for myself what all the praise is for! I'm on a Mac. I use Netbeans for Java, P

Re: How to send body and attachements in an email message?

2008-12-03 Thread Aspersieman
On Wed, 03 Dec 2008 12:40:30 +0200, srinivasan srinivas <[EMAIL PROTECTED]> wrote: HI, I would like to send an email message with body-content 'test' and an attachment. The snippet i used is: outer = email.mime.multipart.MIMEMultipart() msg1 = email.mime.text.MIMEText(, _subtype = 'text')

Re: 'pretty print' for built in types

2008-12-09 Thread aspersieman
On Tue, 09 Dec 2008 17:31:41 +0200, Robert Dailey <[EMAIL PROTECTED]> wrote: Is there a built in way to 'pretty print' a dict, list, and tuple (Amongst other types)? Dicts probably print the ugliest of them all, and it would be nice to see a way to print them in a readable way. I can come up wi

Re: Porn Addiction Solutions?

2008-10-10 Thread Aspersieman
On Fri, 10 Oct 2008 16:11:07 +0200, <[EMAIL PROTECTED]> wrote: On Oct 10, 7:03 am, Um Jammer NATTY <[EMAIL PROTECTED]> wrote: On Oct 10, 5:37 am, [EMAIL PROTECTED] wrote: > It's very simple. You need to know the world is much more than the > imaginery life you are looking. Spend some time in t

Re: pymssql - execute loads all results into memory!

2008-10-21 Thread Aspersieman
On Tue, 21 Oct 2008 10:14:56 +0200, ChaosKCW <[EMAIL PROTECTED]> wrote: On Oct 20, 3:38 pm, Tim Golden <[EMAIL PROTECTED]> wrote: Eric Wertman wrote: >> I am trying to use pymssql, and have an issue where by the execute >> (not the fetch) is appearing to load all records into memory. >> if I e

Re: pymssql - execute loads all results into memory!

2008-10-21 Thread Aspersieman
On Tue, 21 Oct 2008 13:06:37 +0200, Tim Golden <[EMAIL PROTECTED]> wrote: Aspersieman wrote: However, pyODBC doesn't support return variables(parameters) in stored procedures (at least with MS SQL). pymssql is the only db api for python that I've found that can reliab

pymssql stored procedures - NEW THREAD

2008-10-21 Thread Aspersieman
On Tue, 21 Oct 2008 20:44:24 +0200, Mike Hansen <[EMAIL PROTECTED]> wrote: Hi, I saw your posting on the python list about pymssql and you mentioned that you call stored procedures and get back output parameters. Are you doing this on Windows or Linux? I can't seem to get it to work on Li

Re: Django or TurboGears or Pylons? for python web framework.

2008-11-05 Thread Aspersieman
On Wed, 05 Nov 2008 08:35:23 +0200, 3000 billg <[EMAIL PROTECTED]> wrote: Hi Senior, Hi There was a case for web site that will be public to Internet for me. I like python so I do not consider the use of Ruby on Rails. Excellent choice :) I searched more web framework of python from G

Re: damn street venders

2008-11-05 Thread Aspersieman
+1 -- Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo On Mon, 03 Nov 2008 16:05:13 +0200, r <[EMAIL PROTECTED]> wrote: Hey, go sell your stupid watch somewhere else. i am tired of the message boards clogged with these stupid ads. Nobody here cares about your cheap rolex watches

Re: Python and the Bartender

2008-05-12 Thread Aspersieman
[EMAIL PROTECTED] wrote: Incidentally, now that everyone knows English, writer would like to critique his behavior. I have leaned to the group for approval, at times by disparaging the efforts of others, but other times not. I have expressed negative emotion. Is anyone in earshot getting work

Running compiled windows service python script

2008-05-13 Thread Aspersieman
Hi All I have a windows service (attached file). I basically just calls another script every 60 seconds. I can install, start and stop this service as expected with: ParseMailboxService.py install | start | stop The problem is: if I create an exe of this script (all required modules are i

Re: Need to install Python in windows 32 bit processor

2008-05-13 Thread Aspersieman
[EMAIL PROTECTED] wrote: Hi people,  I am working with windows32 bit processor machine.   I want to install Python in my machine. I am not able to get the preferable installer  for installing python. Can you tell, Which windows installer is preferable for windows32 bit proc

Re: send yield

2008-05-16 Thread Aspersieman
castironpi wrote: On May 15, 7:16 pm, castironpi <[EMAIL PROTECTED]> wrote: On May 15, 6:43 pm, castironpi <[EMAIL PROTECTED]> wrote: On May 15, 6:16 pm, castironpi <[EMAIL PROTECTED]> wrote: On May 15, 4:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

SPAM

2008-06-19 Thread Aspersieman
SPAM -- http://mail.python.org/mailman/listinfo/python-list

SPAM

2008-06-19 Thread Aspersieman
SPAM -- http://mail.python.org/mailman/listinfo/python-list

Re: don't make it worse! - was Re: SPAM

2008-06-20 Thread Aspersieman
Michael Torrie wrote: Aspersieman wrote: SPAM Obviously. Please refrain from replying to the SPAM on this list. It just makes the problem worse. Thanks. -- http://mail.python.org/mailman/listinfo/python-list ErrrOk. I read somewhere that replying to

Re: IDE on the level of Eclipse or DEVc++?

2008-06-25 Thread Aspersieman
David wrote: Rich Healey wrote: I don't want to start a flamewar. But I like vim. Hi Rich, could I take a look at your .vimrc , the python stuff. thanks -- http://mail.python.org/mailman/listinfo/python-list Try this : http://blog.sontek.net/2008/05/11/python-with-a-modular-ide-vim/ Nicol

Re: Freesoftware for auto/intelligent code completing in Python

2008-07-04 Thread Aspersieman
Jeroen Ruigrok van der Werven wrote: -On [20080630 23:51], Ali Servet Dönmez ([EMAIL PROTECTED]) wrote: This could be an extension, a plugin, an Emacs mode, a new editor or even a brand new huge all-fancy IDE, I don't care, but what am I missing here? Vim's omnicomplete (CTRL-X CTRL-O)

Re: Autocompletion and Interactive Tables in a Python IDE

2008-07-24 Thread Aspersieman
Anthony wrote: > Hi, I'm a FoxPro programmer, but I want to learn python before it's > too late. I do a lot of statistical programming, so I import SPSS > into python. In my opinion, the best features of Visual FoxPro 9.0 > were: > a) Intellisense (tells you what classes/methods are available and

Re: Autocompletion and Interactive Tables in a Python IDE

2008-07-24 Thread Aspersieman
> > On Jul 24, 4:10 am, Aspersieman <[EMAIL PROTECTED]> wrote: > >> Anthony wrote: >> >>> Hi, I'm a FoxPro programmer, but I want to learn python before it's >>> too late. I do a lot of statistical programming, so I import SPSS >&

Re: Standard module for parsing emails?

2008-07-30 Thread Aspersieman
Phillip B Oldham wrote: > If there isn't a standard library for parsing emails, is there one for > connecting to a pop/imap resource and reading the mailbox? > -- > http://mail.python.org/mailman/listinfo/python-list > > The search [1] yielded these results: 1) http://docs.python.org/lib/mod

Re: saving an e-mail attachement

2008-08-01 Thread Aspersieman
[EMAIL PROTECTED] wrote: > I'm trying to figure out how to save an e-mail attachment from a POP3 > mailbox. I've scoured the web, but -none- of the examples I have > found have actually worked. For instance, in this example: > http://groups.google.com/group/comp.lang.python/browse_thread/thread/8

Re: Decoding an attachment

2008-08-01 Thread Aspersieman
[EMAIL PROTECTED] wrote: > I figured out how to save an e-mail message as a text file, but I'm > not sure how to decode the encoded part as I am not sure how much I > need to include to decode it properly. Here is what a message looks > like: > > > Received: from INGESTOR2SQA ([10.220.83.198]) by

Re: win32service and Python

2008-08-13 Thread Aspersieman
David wrote: > I am collecting informations about win32 services for Python but, except for > few basic examples about Mark Hammond's win32serviceutil, I found nothing > useful. > > Any link is welcome. > > Thank you. > David > > This might also be useful: http://support.microsoft.com/kb/137

POP connection timeout.

2008-05-08 Thread Aspersieman
Hi All I am have written an application that queries a POP mailbox and downloads messages. When the application tries to connect to the mail server, but takes too long (eg. longer than 60 seconds) I want to have it time out. Something like try: pop = poplib.POP3(POPHOST, POPPORT) except

POP connection timeout.

2008-05-08 Thread Aspersieman
Hi All I have written an application that queries a POP mailbox and downloads messages. When the application tries to connect to the mail server, but takes too long (eg. longer than 60 seconds) I want to have it time out. Something like try: pop = poplib.POP3(POPHOST, POPPORT) except some

Parsing Email 'References' header.

2008-05-08 Thread Aspersieman
Hi I have a python script that parses email headers to extract information from them. I need to get the _last_ messageid in the 'References' field (http://cr.yp.to/immhf/thread.html) to create a threaded view of these emails (these messageid's are stored in a database). Now, I can easily acc

Re: POP connection timeout.

2008-05-08 Thread Aspersieman
Gabriel Genellina wrote: Use socket.setdefaulttimeout(timeout_in_seconds) before you create the POP3 object; this value will be used by the initial connect. Once it is connected, you can set a different timeout for retrieving mail using pop.sock.settimeout(...) Note that setdefaulttimeout appl