On Thu, 2005-09-01 at 17:49, Bob Ippolito wrote: > That is absolutely true, print is becoming less and less useful in > the context of GUI or web applications. I know we're dinosaurs, but some of us still write console apps in Python! > Even in Just Debugging > scenarios, you're probably better off using something with more > flexibility, such as the logging module. The logging module is great, but logging and debugging are two different things (although that fact is obscured when you don't have a console). print is useful in scenarios other than debugging. And while I do occasionally use it, I wouldn't be too heartbroken if the trailing comma form were lost. I /would/ mourn the loss of print>> though -- not necessarily the syntax, which was clearly a compromise, but the functionality. If we could have spelled it "print to sys.stderr" we would have. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-dev/attachments/20050902/9fda4a2f/attachment.pgp
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4