Re: pep 8 constants

2009-06-29 Thread Eric S. Johansson
Rhodri James wrote: > > Could you elucidate a bit? I'm not seeing how you're intending to keep > PEP-8 conventions in this, and I'm not entirely convinced that without > them the smart editor approach doesn't in fact reduce your productivity. > thank you for asking for an elaboration. Program

Re: pep 8 constants

2009-06-29 Thread Eric S. Johansson
Steven D'Aprano wrote: > Why do you think a smart editing environment is in opposition to coding > conventions? Surely an editor smart enough to know a variable name spoken > as "pear tree" is an instance and therefore spelled as pear_tree (to use > your own example) would be smart enough to kn

Re: pep 8 constants

2009-06-30 Thread Eric S. Johansson
Rhodri James wrote: > [Trimming for length, sorry if that impacts too much on intelligibility] no problem, one of the hazards of speech recognition uses you become very verbose. > This goes a long way, but it doesn't eliminate the need for some forms > of escape coming up on a moderately frequen

Re: pep 8 constants

2009-06-30 Thread Eric S. Johansson
Tim Chase wrote: > Eric S. Johansson wrote: > np. I get this confusion often. > > While I have used SR in some testing, I've found that while it's > passable for prose (and even that, proclamations of "95% accuracy" sound > good until you realize how many w

Re: pep 8 constants

2009-07-01 Thread Eric S. Johansson
Tim Chase wrote: >> I've tried it least two dozen editors and they all fail miserably >> because they're focused on keyboard use (but understandable) > [...snip...] >> I've tried a whole bunch, like I said at least a dozen. They >> all fail for first reasons such as inability to access all >> funct

Re: pep 8 constants

2009-07-01 Thread Eric S. Johansson
Rhodri James wrote: > > Gah. Ignore me. I hit 'send' instead of 'cancel', after my musings > concluded that yes, an editor could be smart enough, but it would have to > embed a hell of a lot of semantic knowledge of Python and it still wouldn't > eliminate the need to speak the keyboard at time

Re: pep 8 constants

2009-07-01 Thread Eric S. Johansson
Steven D'Aprano wrote: > That assumes that every word is all caps. In practice, for real-life > Python code, I've tripled the vocal load of perhaps one percent of your > utterances, which cuts your productivity by 2%. > > If you have 1 words in you per day, and one percent get wrapped with

Re: pep 8 constants

2009-07-03 Thread Eric S. Johansson
Horace Blegg wrote: > I've been kinda following this. I have a cousin who is permanently wheel > chair bound and doesn't have perfect control of her hands, but still > manages to use a computer and interact with society. However, the > idea/thought of disabled programmers was new to me/hadn't ever

Re: Static typing, Python, D, DbC

2010-09-12 Thread Eric S. Johansson
On 9/12/2010 4:28 PM, Paul Rubin wrote: Bearophile writes: I see DbC for Python as a way to avoid or fix some of the bugs of the program, and not to perform proof of correctness of the code. Even if you can't be certain, you are able reduce the probabilities of some bugs to happen. I think Db

list.insert

2010-07-14 Thread Eric J. Van der Velden
Hi, I understand this: >>> l=[1,2,3] >>> l[1:2]=[8,9] >>> l [1,8,9,3] But how do you do this with list.insert? Thanks, Eric J. -- http://mail.python.org/mailman/listinfo/python-list

__init__ as a lambda

2010-08-04 Thread Eric J. Van der Velden
nnot write the second argument with a dot, self.name . Or can I somehow? Thanks, Eric J. -- http://mail.python.org/mailman/listinfo/python-list

mi

2010-08-11 Thread Eric J. Van der Velden
mes back in B and prints "B". He goes to C. Then somehow he doesn't go again to A. He prints "C". Then back to D and prints "D". Thanks, Eric J. -- http://mail.python.org/mailman/listinfo/python-list

__class__ of what

2010-08-12 Thread Eric J. Van der Velden
Hello, I have, class C: n=0 def __init__(s): __class__.n+=1 I do >>> C() This is fine. But of what thing I am taking the __class__ of? I can also do @staticmethod def p(): print(__class__.n) >>> C.p()

tkinter

2010-08-19 Thread Eric J. Van der Velden
Hello, I have python2.7 .I have compiled tcl en tk and installed them in my home directory, say /home/eric/tcl and /home/eric/tk . I have edited $ vi Modules/Setup ... _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ -L/home/eric/tcl/lib \ -L/home/eric/tk/lib \ -I/home/eric/tcl/include \ -I/home

windows 7 install trouble

2016-05-04 Thread Eric and Bella via Python-list
ll related, tried all combinations of firewall. here are the links to the error logs. any help would be appreciated. -eric https://docs.google.com/document/d/1V_1BrmKdCMOwXH9Lt4Zl2xlXp8wkM-sjcrteSRzkucM/pub Python 3.5.1 (32-bit)_20160503210453_000_core_JustForMe.log | |

<    6   7   8   9   10   11