[Py] [Ideas] Small suggestion regarding type errors and subscription

2024-10-15 Thread James Parrott via Discussions on Python.org


If that line of code is broken up across two lines, the error will be more 
specific, and the bug simple to fix.

Python one liners are superficially great, but only when they work.  Debugging 
them and trying to understand them, not so much.





---
[Visit 
Topic](https://discuss.python.org/t/small-suggestion-regarding-type-errors-and-subscription/67898/8)
 or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.python.org/email/unsubscribe/d70535195e9c29a4820e41a7bcfa79b7deade460218a94a5633e19f1ee87c5ab).


[Py] [Python Help] Venv: `activate` script changes `$PATH` while executing the binary doesn't

2024-10-11 Thread James Parrott via Discussions on Python.org


It's expected behaviour.

To be able to run a command line tool globally, it could be installed with 
pipx.  Pipx'll put it in its own venv, and add the tool's executable to the 
global path.





---
[Visit 
Topic](https://discuss.python.org/t/venv-activate-script-changes-path-while-executing-the-binary-doesnt/67580/6)
 or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.python.org/email/unsubscribe/5e92f290d7564fe143ba665a7116c9d8aeb9d2f537c691d3cd2d1bd7c0509c19).


[Py] [Python Help] Venv: `activate` script changes `$PATH` while executing the binary doesn't

2024-10-11 Thread James Parrott via Discussions on Python.org


"Should" is a strong word.  Why not simply import the package and call the 
entry point directly?





---
[Visit 
Topic](https://discuss.python.org/t/venv-activate-script-changes-path-while-executing-the-binary-doesnt/67580/9)
 or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.python.org/email/unsubscribe/feda3e8602b5d5b33cc61f01773c831dd8800e21902146feac5bb673ef42f3f3).