Re: Is this a correct way to generate an exception when getting a wrong parameter

2015-08-12 Thread Bernd Waterkamp
Mark Lawrence schrieb: The wonderful http://docopt.org/ makes this type of thing a piece of cake. I believe there's a newer library that's equivalent in functionality to docopt but I can never remember the name of it, anybody? Never used it, but Click is another choice:

Re: Why Python 3?

2014-04-20 Thread Bernd Waterkamp
Michael Torrie schrieb: For example, RHEL 6 is Red Hat's most current enterprise distribution and it does not yet even ship Python 2.7, to say nothing of Python 3. RHEL 7 has python 2.7 as the default system dependency, and currently does not yet have any python3 packages in the official

Re: CentOS 6.5 / SPEC file

2014-03-28 Thread Bernd Waterkamp
Michael Torrie schrieb: I should add, that the only correct way to package Python 3 on RHEL 6 is by making the package called python3 or something that won't collide with the system Python 2.x package. Another option for Fedora and RHEL6: Software Collections

Re: Python 3 and SSH Tunnel

2013-08-09 Thread Bernd Waterkamp
D. Xenakis schrieb: I've played with putty to achieve this but to be honest i'd like something more efficient. Opening putty everytime and making all the connection settings etc, and then running the programm, is kinda messy. Id like this to be done in an automatic way from the program so

Re: Is Python a commercial proposition ?

2012-07-29 Thread Bernd Waterkamp
Michael Hrivnak schrieb: Python is used frequently on the server side of web applications for sites of all sizes, with the UI generally being done in javascript. Two large companies with lots of python code are dropbox and youtube: