Re: Use of a variable in parent loop

2020-09-28 Thread 황병희
Stephane Tougard writes: > ... > It's normal, he was an ass. When I manage a team, I don't enforce tools > or language, I ask them to work the best way they can to get the things > done. If they want to write C in Perl (as I often do), I'm happy. If > they prefer Ruby (that I never learnt), or Li

Re: Use of a variable in parent loop

2020-09-28 Thread Python
On Sun, Sep 27, 2020 at 03:18:44PM +0800, Stephane Tougard via Python-list wrote: > On 2020-09-27, 2qdxy4rzwzuui...@potatochowder.com > <2qdxy4rzwzuui...@potatochowder.com> wrote: > > As ChrisA noted, Python almost always Just Works without declarations. > > If you find yourself with a lot of glo

Re: pip update fails

2020-09-28 Thread Eryk Sun
On 9/28/20, Dennis Lee Bieber wrote: > On Sun, 27 Sep 2020 05:33:14 +0300, "Hylton" > declaimed the following: > >> "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\ >> distlib\scripts.py", line 386, in _get_launcher > > That path seems to imply that you have a Pytho

Re: Can't install Python

2020-09-28 Thread Eryk Sun
On 9/28/20, Dennis Lee Bieber wrote: > > Python is not a GUI. You do not "click on the phyton.exe file" (sic). > You open a command shell and, in a proper install which sets up the PATH > environment variable, enter "python" as the command to execute. You can run python.exe directly from Ex

Re: Use of a variable in parent loop

2020-09-28 Thread Grant Edwards
On 2020-09-27, Stephane Tougard via Python-list wrote: > However, I discovered that Emacs interprets as well an empty line or a > comment as a breaking point of a block, it's not as good as the use of > pass because I still have to indent up manually, but at least the > indent-region does not bre

Re: Use of a variable in parent loop

2020-09-28 Thread Grant Edwards
On 2020-09-27, Terry Reedy wrote: > On 9/26/2020 3:36 PM, Stephane Tougard via Python-list wrote: >> On 2020-09-26, Terry Reedy wrote: >>> Noise. Only 'pass' when there is no other code. >> >> Why ? >> >> I use pass and continue each time to break a if or a for because emacs >> understands it

Re: check dependencies of a pypi package

2020-09-28 Thread Arjun_tech
just go to command prompt and type pip install pandas. it will install the latest version with all the dependencies. On Sun, 27 Sep 2020 at 09:30, kamaraju kusumanchi < raju.mailingli...@gmail.com> wrote: > How can I check the dependencies of a pypi package without installing it? > > For example,

Re: Use of a variable in parent loop

2020-09-28 Thread Stephane Tougard via Python-list
On 2020-09-27, Joe Pfeiffer wrote: > and so forth. What I discovered in fairly short order was that it made > it easier for me to read my own code, but did absolutely nothing for > either me reading other people's code, nor for them reading mine. I > eventually concluded my best move was to just

Re: Use of a variable in parent loop

2020-09-28 Thread Stephane Tougard via Python-list
On 2020-09-27, MRAB wrote: >> If a extremist Pythonist takes over my code some day, he'll have to >> search and delete hundreds of useless pass. I laugh already thinking >> about it. > He could write some code to do it. I would do it in Perl, LOL. -- https://mail.python.org/mailman/listinfo/pyth

Re: Use of a variable in parent loop

2020-09-28 Thread Stephane Tougard via Python-list
On 2020-09-27, Manfred Lotz wrote: > - http://localhost:2015/tutorial/controlflow.html#pass-statements ... > (In comparison to guys like ChrisA and StefanR and others here I am also > a Python beginner) To give me a pointer on your localhost, I could guess. -- https://mail.python.org/mailman/lis

Re: Use of a variable in parent loop

2020-09-28 Thread Stephane Tougard via Python-list
On 2020-09-27, Grant Edwards wrote: > Maybe you need to choose different editors and tools. In my world, humans don't adapt to tools but human adapt tools to their needs. > A guy I worked for many years ago used to write BASIC programs in C by > using a bizarre set of pre-processor macros. Whil

Re: Use of a variable in parent loop

2020-09-28 Thread Manfred Lotz
On Mon, 28 Sep 2020 13:39:08 +0800 Stephane Tougard wrote: > On 2020-09-28, Manfred Lotz wrote: > > On Mon, 28 Sep 2020 05:20:20 +0800 > > Stephane Tougard wrote: > > > >> On 2020-09-27, Manfred Lotz wrote: > >> > - > >> > http://localhost:2015/tutorial/controlflow.html#pass-statements > >

Re: Use of a variable in parent loop

2020-09-28 Thread Christian Gollwitzer
Am 28.09.20 um 07:38 schrieb Stephane Tougard: On 2020-09-28, MRAB wrote: It's used where the language requires a statement. In, say, C, you would use empty braces: while (process_next_item()) { /* Do nothing. */ } If I want to express nothing in C, I put nothing and i