I'm writing a custom logging Handler that sends emails through AWS Simple
Email Service using the boto library.
As there's a quota cap on how many (200) emails I can send within 24hrs, I
think I need to buffer my log messages from the emit() calls (Or is that a bad
idea?).
And I was reading the
The 14th Python Game Programming Challenge (PyWeek) is coming. It'll
run from the 22nd to the 29th of April.
http://pyweek.org/14/
New user registration is NOT YET OPEN. It will open one month before
the challenge starts.
The PyWeek challenge:
- Invites entrants to write a game in one week fr
On Feb 21, 3:45 am, Brian Blais wrote:
> Essentially I need users to be able to start a proposal, with
> some basic information, and then be able to add files to it.
> Other users will be allowed to add files as well, but I'd like
> to limit deletions to the committee members.
> It seems as if th
On 21/02/2012 01:33, David Monaghan wrote:
On Sun, 12 Feb 2012 10:20:17 -0500, inq1ltd wrote:
I don't know the first thing about this math problem however,
if I were to code this I might try ;
except ZeroDivisionError:
assert w = -1
rather than;
except ZeroDivisionError:
On Sun, 12 Feb 2012 10:20:17 -0500, inq1ltd wrote:
>
>
>I don't know the first thing about this math problem however,
>
>if I were to code this I might try ;
>
> except ZeroDivisionError:
> assert w = -1
>
>rather than;
>
> except ZeroDivisionError:
> assert w == -1
Why?
DM
On Mon, 20 Feb 2012 12:37:22 -0800, Sheldon wrote:
> Hi,
>
> I'm trying to read a netCDF4 variable from a file (no problem) and then
> scale it before writing over the original variable in the file.
>
> I'm using python 2.7 and the latest netCDF4 module. It's not that I keep
> getting an error m
On 02/20/2012 03:37 PM, Sheldon wrote:
Hi,
I'm trying to read a netCDF4 variable from a file (no problem) and
then scale it before writing over the original variable in the file.
I'm using python 2.7 and the latest netCDF4 module. It's not that I
keep getting an error message but I want to do t
On Wed, Feb 15, 2012 at 3:36 PM, Paul Rubin wrote:
> Martin Schöön writes:
> > A very quick internet search indicated that this should be no big
> > deal if I go for an Android-based phone. What about the alternatives?
>
> It works pretty well with Maemo, though phones with that are not so easy
Hi,
I'm trying to read a netCDF4 variable from a file (no problem) and
then scale it before writing over the original variable in the file.
I'm using python 2.7 and the latest netCDF4 module. It's not that I
keep getting an error message but I want to do this without using for
loops and all the m
On 2/20/2012 1:47 PM, Andrea Crotti wrote:
On 02/20/2012 05:45 PM, Brian Blais wrote:
I'd like to find a web-based system to help a committee I'm on, where
we receive proposals from different faculty. I wrote something in
python, from scratch, a number of years ago because there wasn't
anything
On Feb 20, 5:47 pm, Vinay Sajip wrote:
> I will reinstate it in the reference API docs, but the answer to
> Jason's problem is to either subclass HTTPHandler and override
> handleError to suppress the error, or set logging.raiseExceptions to
> True (in which case all logging exceptions will be sw
Ross Boylan wrote:
>> No [easy] way to go from bytecodes back to AST, but I see no reason
>> why you can't create a new code object with your filename and line
>> numbers and then create a new function using your modified code
>> object.
> Could you elaborate? I don't understand what you are su
On 02/20/2012 05:45 PM, Brian Blais wrote:
Hello,
I'd like to find a web-based system to help a committee I'm on, where we
receive proposals from different faculty. I wrote something in python, from
scratch, a number of years ago because there wasn't anything available then but
it is showing
On Feb 20, 5:07 pm, Jean-Michel Pichavant
wrote:
> However, I looked into the code and find out an (undocumented ?)
> attribute of the logging module : raiseException which value is set to 1
> by default (python 2.5.2 logging.__version__ < '0.5.0.2' > ).
>
> When set to 1, handlerError print the
Hello,
I'd like to find a web-based system to help a committee I'm on, where we
receive proposals from different faculty. I wrote something in python, from
scratch, a number of years ago because there wasn't anything available then but
it is showing its age and I figured that someone has writt
JohannesTU wrote:
> Hello everyone,
>
> I'm new to linux/suse, but I was given the task to install the print
> accounting software PyKota.
> Before that I never even touched a linux system, so I don't have any basic
> knowlegde at all!
> Up to now I was able to solve all problems with the help of
Arnaud Delobelle wrote:
On 20 February 2012 16:03, Jason Friedman wrote:
I am logging to HTTP:
logger.addHandler(logging.handlers.HTTPHandler(host, url))
Works great, except if my HTTP server happens to be unavailable:
socket.error: [Errno 111] Connection refused
Other than wrapping all
On 20 February 2012 16:03, Jason Friedman wrote:
> I am logging to HTTP:
>
> logger.addHandler(logging.handlers.HTTPHandler(host, url))
>
> Works great, except if my HTTP server happens to be unavailable:
>
> socket.error: [Errno 111] Connection refused
>
> Other than wrapping all my logger.log()
I am logging to HTTP:
logger.addHandler(logging.handlers.HTTPHandler(host, url))
Works great, except if my HTTP server happens to be unavailable:
socket.error: [Errno 111] Connection refused
Other than wrapping all my logger.log() calls in try/except blocks, is
there a way to skip logging to th
Duncan Booth wrote
> Ross Boylan wrote:
>
> > As an extension or alternate, could there be a decorator like
> > @source_line(lineno, filename)
> > for classes and methods that could do the conversion on the fly? I
> > don'
Hello everyone,
I'm new to linux/suse, but I was given the task to install the print
accounting software PyKota.
Before that I never even touched a linux system, so I don't have any basic
knowlegde at all!
Up to now I was able to solve all problems with the help of google, but now
I'm stuck.
My p
Michael Torrie wrote:
I do not understand what you are saying, or at least why you are saying
this. But I don't understand most of your posts.
It's a bot. Add it to your kill file.
JM
--
http://mail.python.org/mailman/listinfo/python-list
MRAB wrote:
On 19/02/2012 20:23, Herman wrote:
I tried to use file to config my logger and I got a weird situation
that each message is outputted twice...
Here is my scenario:
python: 2.6
file abc_logging.conf:
[snip]
[logger_abc]
level=DEBUG
handlers=consoleHandler
qualname=abc
Add this l
Ross Boylan wrote:
> As an extension or alternate, could there be a decorator like
> @source_line(lineno, filename)
> for classes and methods that could do the conversion on the fly? I
> don't know if there's a way to go from the function (or class) object
> the decorator receives to the AST.
>
By the way, i like 1.exe, can i have it?
在 2012年2月18日 上午6:01,Jugurtha Hadjar 写道:
> On 16/02/2012 01:34, Jugurtha Hadjar wrote:
>
>> Hello gentlemen,
>>
>> I'm writing these words to give you a heads up. My computer has recently
>> been infected with "1.exe", and I am doing what I can to contain i
On 16/02/2012 01:34, Jugurtha Hadjar wrote:
Hello gentlemen,
I'm writing these words to give you a heads up. My computer has
recently been infected with "1.exe", and I am doing what I can to
contain it. It spreads via mail and I fear it will send SPAM to lists
I am subscribed to.
If you rec
26 matches
Mail list logo