Re: Python question

2020-03-11 Thread DL Neil via Python-list
On 12/03/20 3:03 AM, Rhodri James wrote: On 11/03/2020 04:06, Michael Torrie wrote: On 3/10/20 6:49 PM, Souvik Dutta wrote: What about moving on to a social media app completely made in pythoj for python? No thanks. I don't want to be on yet another web forum.  I don't need "social media" or a

Is there a Python profiler that preserves function arguments?

2020-03-11 Thread Go Luhng
I'm profiling a Python function `foo()` that takes a single argument, but that argument makes a huge difference in what the function actually does. Currently I'm using `cProfile`, which records every call to `foo()` as if it was the same, preventing me from figuring out what's going on. Is there

Re: Lock acquisition by the same thread - deadlock protection

2020-03-11 Thread Barry Scott
> On 11 Mar 2020, at 14:24, Yonatan wrote: > > That code I'm talking about didn't require a reentrant lock - the > algorithm really wasn't reentrant. > > Let me clarify my point: I'm wondering why the non-reentrant lock > doesn't raise an exception immediately on this > erroneous situation. >

Re: Issue with PYSFTP - Working in WINSCP

2020-03-11 Thread Dieter Maurer
NAND KISHORE wrote at 2020-3-10 20:20 -0500: > We have requirement where we need to get file from client path and then >upload the same to vendor directory path. I am not able to upload the file >to vendor directory path , however when I tried to use the WINSCP it worked >fine. So I thought of ch

Re: link to venv python sees a different sys.path

2020-03-11 Thread Dieter Maurer
Robin Becker wrote at 2020-3-11 15:26 +: >I'm trying to understand why python 3.8.2 venv behaves differently when it is >executed va a link > >Make the env >> rptlab@everest:~/code/hg-repos >> $ python38 -mvenv __py__/382v >> rptlab@everest:~/code/hg-repos > >make a link >> $ ln -s ../__py__/3

Re: Python question

2020-03-11 Thread Grant Edwards
On 2020-03-11, Michael Torrie wrote: > On 3/10/20 6:49 PM, Souvik Dutta wrote: >> What about moving on to a social media app completely made in pythoj for >> python? > > No thanks. I don't want to be on yet another web forum. I don't need > "social media" or a "social media app." Email works exc

ANN: PyDDF Python Spring Sprint 2020

2020-03-11 Thread eGenix Team: M.-A. Lemburg
[This announcement is in German since it targets a local user group meeting in Düsseldorf, Germany] ANKÜNDIGUNG PyDDF Python Spring Sprint 2020 in Düsseldorf

Re: Lock acquisition by the same thread - deadlock protection

2020-03-11 Thread Yonatan
That code I'm talking about didn't require a reentrant lock - the algorithm really wasn't reentrant. Let me clarify my point: I'm wondering why the non-reentrant lock doesn't raise an exception immediately on this erroneous situation. I thought it could be altered, or at least we could add an opti

Re: link to venv python sees a different sys.path

2020-03-11 Thread Jon Ribbens via Python-list
On 2020-03-11, Robin Becker wrote: > I'm trying to understand why python 3.8.2 venv behaves differently > when it is executed va a link Because site.py contains a function called venv() which looks up the path of the executed python binary, and searches for the virtual environment relative to tha

link to venv python sees a different sys.path

2020-03-11 Thread Robin Becker
I'm trying to understand why python 3.8.2 venv behaves differently when it is executed va a link Make the env rptlab@everest:~/code/hg-repos $ python38 -mvenv __py__/382v rptlab@everest:~/code/hg-repos make a link $ ln -s ../__py__/382v/bin/python bin/python382v the venv sys.path rptlab@e

reactive programming use case

2020-03-11 Thread Raf B
hi, i am thinking about using RxPy to solve the following problem, and not yet sure if its the right tool for the job. I am working on a calculation engine, that takes a dataset (or multiple sets) and calculates new columns. so in pandas terms, it starts as DataFrame, and then i run it thro

Re: Python question

2020-03-11 Thread Rhodri James
On 11/03/2020 04:06, Michael Torrie wrote: On 3/10/20 6:49 PM, Souvik Dutta wrote: What about moving on to a social media app completely made in pythoj for python? No thanks. I don't want to be on yet another web forum. I don't need "social media" or a "social media app." Email works exceedin