Put the output from all my programs in one place

2008-09-01 Thread Jesse Aldridge
I want to put all the output from all of my python programs in one place. I've been trying to get this working for the last few days, but there are lots of annoying little details that are making the process quite difficult. I'm wondering if anyone can help me get this working. Currently I have o

Re: Python string.title Function

2006-04-11 Thread Jesse Hager
Try something like: def capwords(words): return ' '.join([x.capitalize() for x in words.split()]) capwords("here's my title!") "Here's My Title!" -- Jesse Hager email = "[EMAIL PROTECTED]".decode("rot13") -- http://mail.python.org/mailman/listinfo/python-list

Re: How to Convert a string into binary

2006-04-15 Thread Jesse Hager
; -> ',' To put a separator between digits of the same character, put it between the second set of empty quotes. '.' -> '0.1.0.1.0.1.0.1' This is probably slower than one based on lookup tables like the others are proposing. -- Jesse Hage

Re: Sending part of a page as the body of an email

2006-04-16 Thread Jesse Hager
ring_io.truncate(0) #More normal output goes here #Do whatever you want with captured_text here... #When finished with string_io, close it to free up the memory buffers string_io.close() -- Jesse Hager email = "[EMAIL PROTECTED]".decode("rot13") -- http://mail.python.org/mailman/listinfo/python-list

PyCon 2011 Registration and Financial aid open and available!

2010-12-13 Thread Jesse Noller
Just q -- http://mail.python.org/mailman/listinfo/python-list

PyCon 2011 Registration and Financial aid open and available!

2010-12-13 Thread Jesse Noller
7;s going to be huge. Financial aid is also open and available: http://us.pycon.org/2011/registration/financialaid/ Feel free to reach out to anyone on the PyCon 2011 team to ask any questions you might have. We look forward to seeing you in Atlanta. Jesse Noller PyCon 2011 -- http://mail.pyt

PyCon 2011 - Full talk and tutorial list now available, registration open!

2011-01-08 Thread Jesse Noller
As a reminder: Early Bird registration (http://us.pycon.org/2011/tickets/) closes January 17th - and we have an attendance cap of 1500 total attendees (speakers are counted against this number, and guaranteed a slot) so be sure to register today! Jesse Noller PyCon 2011 -- http://mail.python.org/mailman/listinfo/python-list

TypeError: _new_() takes exactly 3 arguments (2 given) - what does it mean?

2010-05-26 Thread Jesse McDonnell
I'm attempting to install Powerline http://code.google.com/p/powerline/, a computer reservation software based on CherryPy/Python using a MYSql database, at my local library and I've run up against an error that I cannot google my way out of!   The google groups for the application is inactive so

Re: TypeError: _new_() takes exactly 3 arguments (2 given) - what does it mean?

2010-05-28 Thread Jesse McDonnell
On Wed, 26 May 2010 14:30:21 -0400 Terry Reedy wrote: > On 5/24/2010 2:52 PM, Jesse McDonnell wrote: > > I'm attempting to install Powerline http://code.google.com/p/powerline/, > > a computer reservation software based on CherryPy/Python using a MYSql > > database, at

Call for Applications - PSF Sponsored Sprints

2010-07-08 Thread Jesse Noller
The PSF is happy to open our first call for applications for sprint funding! Have you ever had a group of people together to hack towards a common goal? You've hosted a sprint! Have you ever wanted to get a group of like minded Pythonistas together to hack for a day? You're going to want to hold

Re: running a piece of code at specific intervals?

2010-08-04 Thread Jesse Jaggars
On Wed, Aug 4, 2010 at 2:44 PM, Chris Hare wrote: > Don't say cron : > > I want to have a section of my code executed at 15 minute intervals.  I am > using Threading.timer, but it is causing a problem sinxe I am using sqlite3 > and the thread support gives me an error, which aborts part of my co

Re: Class initialization

2010-08-08 Thread Jesse Jaggars
On Sun, Aug 8, 2010 at 10:01 AM, Tim Harig wrote: > On 2010-08-08, Costin Gament wrote: >> Thank you for your answer, but it seems I didn't make myself clear. >> Take the code: >> class foo: >>   a = 0 >>   b = 0 >> c1 = foo() >> c1.a = 5 >> c2 = foo() >> print c2.a >> 5 >> >> Somehow, when I try

Re: spammers on pypi

2009-06-08 Thread Jesse Noller
On Mon, Jun 8, 2009 at 3:14 PM, Robert Kern wrote: > On 2009-06-08 07:44, Skip Montanaro wrote: >> >> On Jun 5, 1:39 pm, joep  wrote: >>> >>> Is there a way to ban spammers from pypi? >> >> Can you provide some examples?  It's possible that we can apply >> SpamBayes >> to PyPI submissions in much t

Re: Status of Python threading support (GIL removal)?

2009-06-19 Thread Jesse Noller
On Fri, Jun 19, 2009 at 12:50 PM, OdarR wrote: > On 19 juin, 16:16, Martin von Loewis > If you know that your (C) code is thread safe on its own, you can >> release the GIL around long-running algorithms, thus using as many >> CPUs as you have available, in a single process. > > what do you mean ?

Re: Status of Python threading support (GIL removal)?

2009-06-19 Thread Jesse Noller
On Fri, Jun 19, 2009 at 6:10 PM, Jure Erznožnik wrote: > On Jun 19, 11:59 pm, Jesse Noller wrote: >> On Fri, Jun 19, 2009 at 12:50 PM, OdarR wrote: >> > On 19 juin, 16:16, Martin von Loewis > >> If you know that your (C) code is thread safe on its own, you can >&g

Re: Is this a bug in multiprocessing or in my script?

2009-08-05 Thread Jesse Noller
on Linux (it should use sys.exit). Gaël Varoquaux and I > noticed this when we implemented shared memory ndarrays for numpy; we > consistently got memory leaks with System V IPC for no obvious reason. > Even after Jesse Noller was informed of the problem (about half a year > ago), the bug still

Re: Is this a bug in multiprocessing or in my script?

2009-08-05 Thread Jesse Noller
n.org/view/python/trunk/Lib/multiprocessing/forking.p... Since the bug was never filed in the tracker (it was sent to my personal mail box, and I dropped it - sorry), I've filed a new one: http://bugs.python.org/issue6653 In the future please use the bug tracker to file and track bugs with, so things a

Re: Is this a bug in multiprocessing or in my script?

2009-08-05 Thread Jesse Noller
On Aug 5, 4:41 pm, sturlamolden wrote: > On 5 Aug, 22:28, Jesse Noller wrote: > > >http://bugs.python.org/issue6653 > > > In the future please use the bug tracker to file and track bugs with, > > so things are not as lossy. > > Ok, sorry :) > > Also see P

Invitation to connect on LinkedIn

2009-09-20 Thread jesse zhao
LinkedIn jesse zhao requested to add you as a connection on LinkedIn: -- Jaime, I'd like to add you to my professional network on LinkedIn. - jesse Accept invitation from jesse zhao http://www.linkedin.

Call for proposals -- PyCon 2011

2010-09-23 Thread Jesse Noller
* December 15th, 2010: Acceptance emails sent. * January 19th, 2010: Early bird registration closes. * March 9-10th, 2011: Tutorial days at PyCon. * March 11-13th, 2011: PyCon main conference. * March 14-17th, 2011: PyCon sprints days. Contact Emails: Van Lindberg (Conference

PyCon 2011 Reminder: Call for Proposals, Posters and Tutorials - us.pycon.org

2010-10-25 Thread Jesse Noller
1st, 2010: Talk proposals due. December 15th, 2010: Acceptance emails sent. January 19th, 2011: Early bird registration closes. March 9-10th, 2011: Tutorial days at PyCon. March 11-13th, 2011: PyCon main conference. March 14-17th, 2011: PyCon sprints days. Contact Emails: Van Lindberg (Conference Chair

Embedding Python in C

2019-07-17 Thread jesse . ibarra . 1996
I am using Python3.6: [jibarra@redsky ~]$ python3.6 Python 3.6.8 (default, Apr 25 2019, 21:02:35) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux Type "help", "copyright", "credits" or "license" for more information. I am referencing:https://docs.python.org/3.6/extending/embedding.html#beyond

mailbox module, Maildir, and flags

2007-09-10 Thread jesse . k . rosenthal
lbox module had a way to do it. One other question. Given a mailbox.Maildir folder like the one above, is there a way to run through it and just get the headers? Basically, the opposite of get_payload? I know I can scew around with msg.keys(), but is there something like for msg in folder: hdr =

pylirc question: clearing the queue

2008-04-07 Thread jesse . k . rosenthal
r the mplayer process to complete, but then it always runs through all the keypresses I've been sending mplayer. So i would like it to either stop listening until I give it a certain command, or to simply clear the queue (I could tell it to that after I return from wait()). Any ideas? Tha

<    1   2