Logger module in python

Cameron Simpson cs at zip.com.au
Wed Dec 18 04:36:21 CET 2013


On 18Dec2013 03:27, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
> On 18/12/2013 03:22, smilesonisamal at gmail.com wrote:
> >   I am a newbie in python. I am looking for a existing module which I can import in my program to log the objects to a file?
> >I know there is a module Data::Dumper in perl which dumps the objects to file. But not sure about python.
> >Can anybody help me in this regard?
> 
> http://docs.python.org/3/library/logging.html

No, Mark, no.

The pickle and pickletools modules sound like what he wants.

Cheers,
-- 

Tomkin Coleman (tcolema at nv7.uswnvg.com) wrote:
| Well, yes, get the bike but BEWARE!!
| At first, you will just want to get, like, a 250 Rebel, just for commuting
| and maybe a little fun, but you will wind up buying a 550, (just in case you
| want to tour), and then you will stop paying any attention to the theatre
| company you are working with and the graduate school you are attending, and
| then you will spend all your summers touring and riding around with your
| newfound biking buddies, and then you will find that you have got a real job
| just so you can buy the bike of your dreams and pretty soon you will find
| that your entire life has centered around your monster bike and you can only
| date women who love bikes and hang with buddies who love bikes and work at a
| job that supports your lifestyle and you will be incredibly happy, but always
| very greasy.
Shhhh!  The meaning of life is supposed to be a SECRET!   :-)
- Bob Larson..DoD#1711..bobl at honshu.ho.att.com..1994 Suzuki RF600R



More information about the Python-list mailing list