Python is going to be hard

Roy Smith roy at panix.com
Fri Sep 5 04:51:40 CEST 2014


In article <mailman.13780.1409884245.18130.python-list at python.org>,
 Chris Angelico <rosuav at gmail.com> wrote:

> On Fri, Sep 5, 2014 at 12:24 PM, Rustom Mody <rustompmody at gmail.com> wrote:
> > On Thursday, September 4, 2014 7:38:40 PM UTC+5:30, Chris Angelico wrote:
> >
> >> So a fairer comparison is: How many applications produce non-debug
> >> output on stderr or stdout? And that would be a much larger
> >> percentage. Even GUI programs will, in some cases - for instance, try
> >> firing up your favorite GUI text editor with no X server active, or
> >> with invalid .Xauthority. You'll get some sort of error message - on
> >> the console. Which means that somewhere in the GUI library, there's
> >> fall-back code that produces console output. That's why I say it's the
> >> most basic of all forms of that fundamental of programming, producing
> >> output that a human can read. It's the simple one that you teach
> >> first; everything else is built on that.
> >
> > Seeing the unix-centricity of this -- What's .Xauthority?? --
> 
> That's one particular example that's from Unix. I've seen (and
> written) Windows GUI programs that use consoles, too. And OS/2 ones.
> Can't speak for Mac OS Classic as I've never used it, but I'd be
> surprised if it's not possible.
> 
> So I still stand by my statement that console output is a fundamental,
> and it's not a bad thing to teach it.
> 
> ChrisA

      write(6, 11)
11    format(21H.XAUTHORITY NOT FOUND)



More information about the Python-list mailing list