On Fri, Nov 27, 2020 at 1:41 PM dn via Python-list
wrote:
> On 26/11/2020 05:46, Bob van der Poel wrote:
> > I've got a program which accepts an optional env variable listing a
> single
> > or multiple directory for the app to use. I've done a bit of a search
When I run python from the command line and generate an error I get the
following:
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> z
/home/bob/.local/li
['', '/usr/lib/python38.zip', '/usr/lib/python3.8',
'/usr/lib/python3.8/lib-dynload', '/home/bob/.local
/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages',
'/usr/lib/python3/dist-packages']
- running pyt
On Thu, Dec 31, 2020 at 9:25 PM DL Neil via Python-list <
python-list@python.org> wrote:
> On 1/1/21 11:46 AM, Bob van der Poel wrote:
> > When I run python from the command line and generate an error I get the
> > following:
> >
> > Python 3.8.5 (default, Jul
ink!).
>
>
> That is where "python3.8 -m pip install --user" puts the packages you
> install.
>
> Barry
>
>
>
> Okay ... I'll take your word for it. But, I really don't think I've every
run that command :)
--
Listen to my FREE CD at http:/
On Fri, Jan 1, 2021 at 12:17 PM DL Neil via Python-list <
python-list@python.org> wrote:
> On 1/2/21 6:35 AM, Bob van der Poel wrote:
> > Found it!
>
> Well done!
>
>
> >> I had the proper urllib3 installed. But, in my .local/lib/ a
> previous
> >
that it's not 100%.
>
> There are multiple reasons for this, but the first time that code is
> run, a .pyc will (presumably) be created - and we're back to
> considerations of Python environments, Python cf C, perhaps even
>
>
Oh no! Not these damned dragons again :)
But, seriously. No, I have no idea of moving installed stuff around between
/usr /.local and /usr/local. There lies no dragons but madness :) I meant
that I will pay more attention as to what the installer(s) are doing.
Thanks for the input.
--
Listen to my FREE CD at http://www.mellowood.ca/music/cedars
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: b...@mellowood.ca
WWW: http://www.mellowood.ca
--
https://mail.python.org/mailman/listinfo/python-list
solo voice methods, and general cleanups/fixes.
Comments appreciated!
--
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: [EMAIL PROTECTED]
WWW: http://mypage.uniserve.com/~bvdp
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software
to enter
notes and play them back. After trying out half a dozen of these, I
ended rolling my own solution in just 400 lines of Python, plus a Python
module to read/write MIDI files.
Regards,
Jan
Just as a side note, I remember reading somewhere that the Casio WK3000
Keyboard uses Python. N
> For a one-liner:
>
> x[slice(*map(int, x[1:-1].split(':')))]
Thanks.
Almost works :)
For s="[2]" and s="[1:2]" it's fine. But, if I have
s = "[:2]" then I get:
>>> x[slice(*[int(i) for i in s.strip("[]").split(":")])]
Traceback (most recent call last):
File "", line 1, in
ValueError:
> Of course, you could also do something like this:
>
> eval('x' + s)
> or
> eval(str(x) + s)
>
Yes, I have user inputed 's'. So, if I can't get the generalized list
version from Robert working I'll have to use this. Speed is not a big
deal in this. As to malicious input, I could pretty
On Sep 2, 4:16 pm, "Rhodri James" wrote:
> On Wed, 02 Sep 2009 23:57:48 +0100, Bob van der Poel
> wrote:
>
>
>
> >> Of course, you could also do something like this:
>
> >> eval('x' + s)
> >> or
> >> e
On Sep 2, 4:43 pm, "Jan Kaliszewski" wrote:
> 03-09-2009 o 00:55:10 Bob van der Poel wrote:
>
>
>
> >> For a one-liner:
>
> >> x[slice(*map(int, x[1:-1].split(':')))]
>
> > Thanks.
>
> > Almost works :)
>
> >
On Sep 2, 5:16 pm, Steven D'Aprano wrote:
> On Wed, 02 Sep 2009 16:41:34 -0700, Bob van der Poel wrote:
>
> > But, translating 1, 2 or 3 ints into a valid splice isn't quit that
> > easy? I could figure each value, and convert them to either int or None
> > (key
On Sep 2, 4:27 pm, Ethan Furman wrote:
> Bob van der Poel wrote:
>
>
>
> >>For a one-liner:
>
> >> x[slice(*map(int, x[1:-1].split(':')))]
>
> > Thanks.
>
> > Almost works :)
>
> > For s="[2]" and s="[1:2]"
On Sep 2, 8:52 pm, Steven D'Aprano
wrote:
> On Wed, 02 Sep 2009 17:32:09 -0700, Bob van der Poel wrote:
>
> > Actually, nither this or Jan's latest is working properly. I don't know
> > if it's the slice() function or what (I'm using python 2.5). But
found
security-annou...@python.org, but there hasn't been anything posted there
in over a year as far as I can tell, and even before that it's pretty thin.
If there's a better place to ask, please advise.
Thanks.
--
Bob Kline
https://www.rksystems.com
mailto:bkl...@rks
On Fri, Jul 14, 2023 at 1:35 PM Bob Kline wrote:
> Can someone point me to the official catalog of security vulnerabilities
> in Python
I did try entering "python security vulnerabilities" in the search box
of the python.org web site, but what I got back was "No resu
On Fri, Jul 14, 2023 at 3:02 PM Barry wrote:
> Where do you get your python from?
Directly from python.org.
> You may find that the organisation that packages python that you use has such
> a list.
That's my hope. Just haven't found it yet. :-}
--
https://mail.python.org/mailman/listinfo/pyt
n_Vulnerabilities_and_Exposures";.
Thanks for the link, Dieter. I found the NIST search interface to be
buggy, and there doesn't seem to be a way to search the Mitre site
effectively to get vulnerabilities just for the Python language and
standard libraries. I've downloaded the entire cor
as a comment at the top of a function. I changed the "\" to a
"/" and all is well now.
--
Listen to my FREE CD at http://www.mellowood.ca/music/cedars
Bob van der Poel ** Wynndel, British Columbia, CANADA **
EMAIL: b...@mellowood.ca
WWW: http://www.mellowood.ca
--
https://mail.python.org/mailman/listinfo/python-list
601 - 621 of 621 matches
Mail list logo