Re: The perils of multiple Pythons

2018-04-30 Thread Youta TAKAOKA
I am using pipenv... http://docs.pipenv.org/en/latest/ It has bootstrap probrem. pyenv solves it, but windows is NOT a first-class citizen for pyenv. 2018年5月1日(火) 14:00 Percival John Hackworth : > On 30-Apr-2018, Chris Angelico wrote > (in article): > > > https://xkcd.com/1987/ > > > > So t

Re: Reg python regexp

2018-03-21 Thread Youta TAKAOKA
sankarramanv, It seems for me that this task does not need both python AND shell. Only python does it, as well as only shell. Of course, there can be some restrictions let you use both. (the real world is filled up with such troublesome matters !) If you *really* need to use `lgrep`, try `-f` opt

Which part of the loop is it going through in this class frame?

2018-03-07 Thread Youta TAKAOKA
When we want to set attributes of `self`, we should do it explicitly. Not like `this.` in java or C#, `self.` is needed in python. So, the method > def print_time(self): > time = '6:30' > print(self.time) does 1. set a local variable `time` as '6:30' 2. print `time` which is an

"except" and "subclasscheck" changed between CPython2 and 3

2018-03-06 Thread Youta TAKAOKA
Thank you, Steven. > There is a feature-request to support that (as Python 2.7 does): > > https://bugs.python.org/issue12029 > > but it is stalled. I passed over the ticket. Now, I know that this is a bug, but has not fixed yet. There are (or ware ?) problems about performance and integrity for