Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26603
| Date | 2012-08-05 22:50 -0400 |
|---|---|
| From | "Steven W. Orr" <steveo@syslang.net> |
| Organization | SysLang, Inc. |
| Subject | Re: conditional running of code portion |
| References | <0a61aed2-bd14-4022-bf59-a3bb3af55b3c@sn4g2000pbc.googlegroups.com> <CAExgZOi4TnCko2uEkup6sVKevYF0v7DcSctv4yLt1ydREce4sg@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2998.1344221413.4697.python-list@python.org> (permalink) |
On 8/5/2012 12:43 AM, Ramchandra Apte wrote: > Try pypreprocessor <http://code.google.com/p/pypreprocessor/> . > Better idea: > You should be using the logging <http://docs.python.org/library/logging.html> > module if you want to print debug information quickly.It uses threads and is > optimized to run fast. I never saw pypreprocessor. Looks interesting. I have experience with Ned's cog preprocessor. http://nedbatchelder.com/code/cog/ I used this in something that was operating at the packet socket level. I had no time to test if debug was true. -- Time flies like the wind. Fruit flies like a banana. Stranger things have .0. happened but none stranger than this. Does your driver's license say Organ ..0 Donor?Black holes are where God divided by zero. Listen to me! We are all- 000 individuals! What if this weren't a hypothetical question? steveo at syslang.net
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
conditional running of code portion JW Huang <ngcbmy@gmail.com> - 2012-08-04 21:16 -0700
Re: conditional running of code portion Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-08-05 06:30 +0000
Re: conditional running of code portion Serhiy Storchaka <storchaka@gmail.com> - 2012-08-05 19:40 +0300
Re: conditional running of code portion Dieter Maurer <dieter@handshake.de> - 2012-08-06 19:02 +0200
Re: conditional running of code portion Serhiy Storchaka <storchaka@gmail.com> - 2012-08-06 23:59 +0300
Re: conditional running of code portion "Steven W. Orr" <steveo@syslang.net> - 2012-08-05 22:50 -0400
csiph-web