Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62270
| Date | 2013-12-18 14:36 +1100 |
|---|---|
| From | Cameron Simpson <cs@zip.com.au> |
| Subject | Re: Logger module in python |
| References | <l8r4mn$teh$1@ger.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4331.1387339173.18130.python-list@python.org> (permalink) |
On 18Dec2013 03:27, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote: > On 18/12/2013 03:22, smilesonisamal@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@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@honshu.ho.att.com..1994 Suzuki RF600R
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Logger module in python Cameron Simpson <cs@zip.com.au> - 2013-12-18 14:36 +1100
csiph-web