Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62270
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <cameron@cskk.homeip.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.027 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'python.': 0.02; 'newbie': 0.05; 'lawrence': 0.09; 'subject:module': 0.09; '(just': 0.16; 'centered': 0.16; 'commuting': 0.16; 'dumps': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'get,': 0.16; 'happy,': 0.16; 'mark,': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'touring': 0.16; 'subject:python': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'module': 0.19; 'import': 0.22; 'header:User- Agent:1': 0.23; 'cheers,': 0.24; 'file.': 0.24; 'first,': 0.26; 'header:In-Reply-To:1': 0.27; 'perl': 0.31; 'pickle': 0.31; 'wind': 0.31; 'supposed': 0.32; 'url:python': 0.33; 'maybe': 0.34; 'anybody': 0.35; 'no,': 0.35; 'objects': 0.35; 'but': 0.35; 'there': 0.35; 'fun,': 0.36; 'like,': 0.36; 'received:com.au': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'received:211': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'little': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'company': 0.60; 'no.': 0.61; 'url:3': 0.61; 'entire': 0.61; 'content- disposition:inline': 0.62; 'email addr:gmail.com': 0.63; 'real': 0.63; 'soon': 0.63; 'school': 0.64; 'love': 0.65; 'buying': 0.65; 'life': 0.66; 'hang': 0.67; 'sound': 0.68; 'attention': 0.75; '250': 0.78; 'bikes': 0.84; 'buddies': 0.84; 'lifestyle': 0.84; 'riding': 0.84; 'secret!': 0.84; 'dreams': 0.93; 'incredibly': 0.96 |
| Date | Wed, 18 Dec 2013 14:36:21 +1100 |
| From | Cameron Simpson <cs@zip.com.au> |
| To | python-list@python.org |
| Subject | Re: Logger module in python |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| In-Reply-To | <l8r4mn$teh$1@ger.gmane.org> |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| References | <l8r4mn$teh$1@ger.gmane.org> |
| X-Optus-CM-Score | 0 |
| X-Optus-CM-Analysis | v=2.1 cv=HZAtEE08 c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=LcaDllckn3IA:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=8AHkEIZyAAAA:8 a=ZAQJkd7A7iYA:10 a=BrDiTsk0AAAA:8 a=pGLkceISAAAA:8 a=wvLiBSsRAAAA:8 a=zQP7CpKOAAAA:8 a=Zdc8mfIbI00jBT9L9owA:9 a=oZwON2TygDeHic-o:21 a=iLUKlKo1zKDziuQD:21 a=CjuIK1q_8ugA:10 a=gpvmh1a50wQA:10 a=-hJg1tCh9CgA:10 a=MSl-tDqOz04A:10 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4331.1387339173.18130.python-list@python.org> (permalink) |
| Lines | 30 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1387339173 news.xs4all.nl 2920 [2001:888:2000:d::a6]:51829 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:62270 |
Show key headers only | View raw
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