I found what I was after, right after I posted to this list. It's
Py_AtExit. I'm accessing an old, unsupported database using it's C
API. I've tried using Cython but found it hard to get my head around
and I'm finding it somewhat easier to just write by hand.
On Mon, Jan 18, 2010 at 6:40 PM, Stefa
On Sun, Jan 17, 2010 at 5:19 PM, Alan Gauld wrote:
>
> "Magnus Kriel" wrote
>
>> It might be that when you create a file for the first time with 'a', that
>> it
>> will through an exception. So you will have to try with 'w', and if there
>> is
>> an exception, you know the file does not exist and
Shuying Wang, 18.01.2010 08:58:
> I found what I was after, right after I posted to this list. It's
> Py_AtExit. I'm accessing an old, unsupported database using it's C
> API.
I didn't write the respective code in Cython, but there's a comment next to
it saying
/* Don't use Py_AtExit because
2010/1/17 Kirk Z Bailey
> I am writing a script that will send an email message. This will run in a
> windows XP box. The box does not have a smtp server, so the script must
> crete not merely a smtp client to talk to a MTA, it must BE one for the
> duration of sending the message- then shut off,
On Sun, Jan 17, 2010 at 9:57 PM, Kirk Z Bailey wrote:
> There is no smtp server available, these are the cards I am delt; can you
> advise on how to play them?
A couple of possibilities:
- I'm no expert on SMTP but don't the MTAs talk SMTP to each other on
port 25? Could you use smtplib to talk
If you're using this as an interactive command to help you populate a
database, as you appear to be, don't open the file more than once. As
previously suggested you should also put all your strings together and
then write them to the database in one go.
I don't know if you've thought about this ye
I want to share a couple of insights that I had getting started with
Python that I did not come across in the literature all that often. I
am discovering that there are two primary supporting tools needed in
order to create an efficient and productive Python programming
workspace: IDE and V
wrote
order to create an efficient and productive Python programming
workspace: IDE and Version Control.
Both important, although an IDE is perhaps a generous
description of vim! :-)
Obviously, no tool can think for you. The real programming work of
course is going on in your brain. I am c
I usually just use NetBeans or the Python IDLE.
I prefer to use NetBeans because it's easier to change and modify code and
test. And also because I like to use Jython.
Anything wrong with my setup?
On Tue, Jan 19, 2010 at 8:17 AM, Alan Gauld wrote:
>
> wrote
>
>
> order to create an efficient
"Matthew Lee" wrote
I usually just use NetBeans or the Python IDLE.
I prefer to use NetBeans because it's easier to change and modify code
and
test. And also because I like to use Jython.
Anything wrong with my setup?
If it works for you then its fine.
IDEs, editors etc are all very perso
I am using Netbeans, it has many features.
The following IDEs i used before Netbeanse
Anjuta, Komodo, python IDLE, etc..
There is a python plugin in Netbease and also it has subversion integrated.
On Tue, Jan 19, 2010 at 5:59 AM, Alan Gauld wrote:
>
> "Matthew Lee" wrote
>
>
> I usually just
Hi,
I recently joined this mailing list so as to improve my knowledge on Python.
Its been 4 months I am using Python. So I decided to contribute to any Open
source project. Can you help me on how to proceed on this, Whom to contact
etc.
Thanks,
Nikunj Badjatya
BTech
Bangalore, India
12 matches
Mail list logo