Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51309
| From | Alister <alister.ware@ntlworld.com> |
|---|---|
| Subject | Re: Critic my module |
| Newsgroups | comp.lang.python |
| References | <mailman.5092.1374758683.3114.python-list@python.org> <87y58u20l0.fsf@dpt-info.u-strasbg.fr> <mailman.5144.1374836361.3114.python-list@python.org> |
| Message-ID | <ThwIt.13416$Ma6.10382@fx27.am4> (permalink) |
| Organization | virginmedia.com |
| Date | 2013-07-26 15:08 +0000 |
> > The main point of this is for shell users that are using Python and do > not know some of the Python commands. This module would make Python more > like a Linux shell. For instance, a shell user would type boash.uname() > because they may not know they can type "import platform; > platform.uname()". But they will know how to import your module? to be honest I think this module is a solution looking for a problem & you have re-invented the wheel (Square). don't let that put you off, there are many command line tools that could do with a good wrapper to make them easier to use,perhaps you are tryingto be too general. > > I know that printing is not really the best of ideas, but how else can I > make the output be displayed without quotes or newline marks? as this is a module intended for others to use in their programs (rather than a tool in its own right) the correct approach is to return the result & lave it for the user to print the result, or process it however they require. -- I also never expected Intel to dispose of themselves in such a cute way. - Rik van Riel on linux-kernel
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Critic my module Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-25 09:24 -0400
Re: Critic my module Alain Ketterlin <alain@dpt-info.u-strasbg.fr> - 2013-07-25 16:09 +0200
Re: Critic my module Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-26 06:59 -0400
Re: Critic my module Alister <alister.ware@ntlworld.com> - 2013-07-26 15:08 +0000
Re: Critic my module Joshua Landau <joshua@landau.ws> - 2013-07-26 18:24 +0100
Re: Critic my module Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-27 02:48 +0000
Re: Critic my module Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-27 08:56 -0400
Re: Critic my module Alister <alister.ware@ntlworld.com> - 2013-07-27 16:32 +0000
Re: Critic my module Dave Angel <davea@davea.name> - 2013-07-27 12:58 -0400
Re: Critic my module Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-27 09:19 -0400
Re: Critic my module Dave Angel <davea@davea.name> - 2013-07-27 09:35 -0400
Re: Critic my module Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-07-27 15:36 +0200
Re: Critic my module Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-27 09:44 -0400
Re: Critic my module Chris Angelico <rosuav@gmail.com> - 2013-07-27 14:37 +0100
Re: Critic my module Dave Angel <davea@davea.name> - 2013-07-27 10:33 -0400
Re: Critic my module Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-27 10:53 -0400
Re: Critic my module Chris Angelico <rosuav@gmail.com> - 2013-07-27 16:15 +0100
csiph-web