Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29822 > unrolled thread
| Started by | jimbo1qaz <jimmyli1528@gmail.com> |
|---|---|
| First post | 2012-09-23 09:36 -0700 |
| Last post | 2012-09-25 12:20 +0100 |
| Articles | 4 on this page of 44 — 17 participants |
Back to article view | Back to comp.lang.python
For Counter Variable jimbo1qaz <jimmyli1528@gmail.com> - 2012-09-23 09:36 -0700
Re: For Counter Variable Rodrick Brown <rodrick.brown@gmail.com> - 2012-09-23 12:45 -0400
Re: For Counter Variable Chris Angelico <rosuav@gmail.com> - 2012-09-24 02:52 +1000
Re: For Counter Variable jimbo1qaz <jimmyli1528@gmail.com> - 2012-09-23 10:45 -0700
Re: For Counter Variable Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-23 22:54 +0000
Re: For Counter Variable Tim Chase <python.list@tim.thechases.com> - 2012-09-23 18:29 -0500
Re: For Counter Variable Tim Chase <python.list@tim.thechases.com> - 2012-09-23 19:05 -0500
Re: For Counter Variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-24 02:03 +0100
RE: For Counter Variable "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-09-27 17:34 +0000
Re: For Counter Variable Ethan Furman <ethan@stoneleaf.us> - 2012-09-24 15:09 -0700
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 18:26 -0400
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 18:58 -0400
Re: For Counter Variable alex23 <wuwei23@gmail.com> - 2012-09-24 16:33 -0700
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 19:49 -0400
Re: For Counter Variable alex23 <wuwei23@gmail.com> - 2012-09-24 16:58 -0700
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 20:17 -0400
Re: For Counter Variable alex23 <wuwei23@gmail.com> - 2012-09-24 17:19 -0700
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 20:25 -0400
Re: For Counter Variable "Littlefield, Tyler" <tyler@tysdomain.com> - 2012-09-24 18:32 -0600
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 20:45 -0400
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 20:50 -0400
Re: For Counter Variable Paul Rubin <no.email@nospam.invalid> - 2012-09-24 18:10 -0700
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 21:32 -0400
Re: For Counter Variable Chris Angelico <rosuav@gmail.com> - 2012-09-25 17:55 +1000
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 21:13 -0400
Re: For Counter Variable Ramchandra Apte <maniandram01@gmail.com> - 2012-09-29 06:41 -0700
Re: For Counter Variable Ramchandra Apte <maniandram01@gmail.com> - 2012-09-29 06:41 -0700
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 19:50 -0400
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 19:39 -0400
Re: For Counter Variable alex23 <wuwei23@gmail.com> - 2012-09-24 16:48 -0700
Re: For Counter Variable Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-09-25 07:53 +0200
Re: For Counter Variable Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-25 07:46 +0000
Re: For Counter Variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-25 08:59 +0100
Re: For Counter Variable wxjmfauth@gmail.com - 2012-09-25 02:32 -0700
Re: For Counter Variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-25 10:46 +0100
Re: For Counter Variable Chris Rebert <clp2@rebertia.com> - 2012-09-25 02:53 -0700
Re: For Counter Variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-25 11:16 +0100
Re: For Counter Variable Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-25 14:19 +0000
Re: For Counter Variable Chris Angelico <rosuav@gmail.com> - 2012-09-26 00:38 +1000
Re: For Counter Variable Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-25 11:54 -0400
Re: For Counter Variable wxjmfauth@gmail.com - 2012-09-25 02:32 -0700
(non sequitur) Re: For Counter Variable Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-25 11:51 -0400
Re: For Counter Variable Tim Chase <python.list@tim.thechases.com> - 2012-09-25 05:57 -0500
Re: For Counter Variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-25 12:20 +0100
Page 3 of 3 — ← Prev page 1 2 [3]
| From | wxjmfauth@gmail.com |
|---|---|
| Date | 2012-09-25 02:32 -0700 |
| Message-ID | <mailman.1301.1348565534.27098.python-list@python.org> |
| In reply to | #30040 |
I wrote my first program on a PDP-8. I discovered Python
at release 1.5.?
Now years later... I find Python more and more unusable.
As an exemple related to this topic, which summarizes a
little bit the situation. I just opened my interactive
interpreter and produced this:
>>> for i in range(len(s)-1, -1,-1):
... '{} {}'.format(i, s[i])
...
'2 c'
'1 b'
'0 a'
I did it so many times with a reverse/enumerate combination,
I'm unable to do it again, I simply do not remember!
One another really annoying aspect of Python, illustrated
in my previous code: ''.format() .
Was it not supposed to be *the* new formating scheme?
I'm toying more and more with the go language. I really
appreciate and rediscover the strictness I learned with
Pascal.
jmf
[toc] | [prev] | [next] | [standalone]
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2012-09-25 11:51 -0400 |
| Subject | (non sequitur) Re: For Counter Variable |
| Message-ID | <mailman.1347.1348588288.27098.python-list@python.org> |
| In reply to | #30037 |
On 25 Sep 2012 07:46:31 GMT, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> declaimed the following in
gmane.comp.python.general:
>
> It was a humbling lesson to always check what features a programming
> environment or language offers before reinventing the wheel with four
> sides.
Especially since wheels with six sides work so much better (and only
require defining the value of Pi as 3 <G>)
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
[toc] | [prev] | [next] | [standalone]
| From | Tim Chase <python.list@tim.thechases.com> |
|---|---|
| Date | 2012-09-25 05:57 -0500 |
| Message-ID | <mailman.1315.1348570585.27098.python-list@python.org> |
| In reply to | #30028 |
On 09/25/12 00:53, Thomas Rachel wrote: > Am 25.09.2012 01:39 schrieb Dwight Hutto: >> You don't always know all the built-ins, so the builtin is >> simpler, but knowing how to code it yourself is the priority of >> learning to code in a higher level language, which should be >> simpler to the user of python. > > When learning Python, it often happend me to re-inven the wheel. > But as soon as I saw the presence of something I re-wrote, I > skipped my re-written version and used the built-in. As a beginning Pythonista, I found myself doing the same thing. I implemented my own CSV parsing until I discovered how easy it was to do with the built-in library. I implemented my own option-parsing until I found optparse/argparse. I implemented config-files until I found ConfigFile. Coming from C where just about *nothing* is in the stdlib and Java & PHP where only some core functionalities are in the stdlib, to Python where just the list of modules in the stdlib is humongous, I have to make http://docs.python.org/library/ my first stop before I try implementing anything I think might have even a remote possibility of being there. -tkc
[toc] | [prev] | [next] | [standalone]
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2012-09-25 12:20 +0100 |
| Message-ID | <mailman.1321.1348571976.27098.python-list@python.org> |
| In reply to | #30028 |
On 25/09/2012 11:57, Tim Chase wrote: [snip] > > Coming from C where just about *nothing* is in the stdlib and Java & > PHP where only some core functionalities are in the stdlib, to > Python where just the list of modules in the stdlib is humongous, I > have to make http://docs.python.org/library/ my first stop before I > try implementing anything I think might have even a remote > possibility of being there. > > -tkc I find the above paragraph amusing given the recent discussion about the Java singletonMap, i.e. it's someone that is rarely if ever needed but core functionalities are missing, how strange. I think the next port of call after the standard library should be pypi followed by the search engine, possibly targetted at sites like github, followed by a question here. I'm not certain about the next step, help please. -- Cheers. Mark Lawrence.
[toc] | [prev] | [standalone]
Page 3 of 3 — ← Prev page 1 2 [3]
Back to top | Article view | comp.lang.python
csiph-web