On 2/26/2024 6:02 AM, Steve GS via Python-list wrote:
Although your code produces the value of Ww outside the function, I do not see
how I can use the value of Ww unless I close the program.
The configuration event hasn't fired at the time you include the print
statement in the handler's def
On 3/6/2024 5:59 AM, Alan Gauld via Python-list wrote:
On 05/03/2024 22:46, Grant Edwards via Python-list wrote:
Unfortunately (presumably thanks to SEO) the enshittification of
Google has reached the point where searching for info on things like
Python name scope, the first page of links are to
On 3/6/2024 7:55 AM, Jacob Kruger via Python-list wrote:
Ok, simpler version - all the code in a simpler test file, and working
with two separate variables to explain exactly what am talking about:
# start code
from datetime import datetime, timezone, timedelta
from copy import copy
# initi
On 3/8/2024 1:03 PM, Albert-Jan Roskam via Python-list wrote:
Hi,
I was replacing some os.path stuff with Pathlib and I discovered this:
Path(256 * "x").is_file() # OSError
os.path.isfile(256 * "x") # bool
Is this intended? Does pathlib try to resemble os.path as closely as
On 3/8/2024 2:21 PM, Grant Edwards via Python-list wrote:
On 2024-03-08, Thomas Passin via Python-list wrote:
On 3/8/2024 1:03 PM, Albert-Jan Roskam via Python-list wrote:
Hi,
I was replacing some os.path stuff with Pathlib and I discovered this:
Path(256 * "x"
On 3/8/2024 5:14 PM, Albert-Jan Roskam wrote:
On Mar 8, 2024 19:35, Thomas Passin via Python-list
wrote:
On 3/8/2024 1:03 PM, Albert-Jan Roskam via Python-list wrote:
> Hi,
> I was replacing some os.path stuff with Pathlib and I
discovered this:
>
On 3/10/2024 6:17 AM, Barry wrote:
On 8 Mar 2024, at 23:19, Thomas Passin via Python-list
wrote:
We just learned a few posts back that it might be specific to Linux; I ran it
on Windows.
Depending on the exact win32 api used there is a 257 limit on windows.
The 257 includes 2 for the
On 3/10/2024 9:33 AM, Albert-Jan Roskam wrote:
On Mar 10, 2024 12:59, Thomas Passin via Python-list
wrote:
On 3/10/2024 6:17 AM, Barry wrote:
>
>
>> On 8 Mar 2024, at 23:19, Thomas Passin via Python-list
wrote:
>>
>> We just learn
d9>.
(Some removals present in alpha 1 have been reverted in alpha 2, as the
removals were deemed too disruptive at this time.)
(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)
The next pre-release of Python 3.13 will be 3.13.0a6,
On 3/15/2024 5:30 AM, Loris Bennett via Python-list wrote:
Hi,
I am initialising an object via the following:
def __init__(self, config):
self.connection = None
self.source_name = config['source_name']
self.server_host = config['server_host']
self.serv
On 3/15/2024 3:09 PM, Grant Edwards via Python-list wrote:
On 2024-03-15, Thomas Passin via Python-list wrote:
On 3/15/2024 5:30 AM, Loris Bennett via Python-list wrote:
Hi,
I am initialising an object via the following:
def __init__(self, config):
self.connection = None
On 3/15/2024 5:33 PM, Dan Sommers via Python-list wrote:
On 2024-03-15 at 15:48:17 -0400,
Thomas Passin via Python-list wrote:
[...] And I suppose there is always the possibility that sometime in
the future an "or" clause like that will be changed to return a
Boolean, which one wo
On 3/16/2024 8:12 AM, Roel Schroeven via Python-list wrote:
Barry via Python-list schreef op 16/03/2024 om 9:15:
> On 15 Mar 2024, at 19:51, Thomas Passin via Python-list
wrote:
> > I've always like writing using the "or" form and have never gotten
bit
I, on the
thon 3.11.2
$ pip3 freeze
asgiref==3.7.2
blinker==1.7.0
click==8.1.7
Flask==3.0.2
itsdangerous==2.1.2
Jinja2==3.1.3
MarkupSafe==2.1.5
Werkzeug==3.0.1
```
Thanks for any help!
Cheers,
Thomas
--
https://mail.python.org/mailman/listinfo/python-list
On 3/21/2024 4:19 PM, Grant Edwards via Python-list wrote:
On 2024-03-21, MRAB via Python-list wrote:
As it's recommended to use the Python Launcher py on Windows, I use
that instead:
py -m pip install something
because it gives better support if you have multiple versions of
Python installe
I feel like the easiest approach is to just throw away
threads entirely and learn how to do all I want fully in the brave new
async world, but I'm still curious why this is failing and how to make
this sort of setup work since it points to my not understanding the
basic implementation/
y do not install pip out of the box. Refer to their instructions how
to install packages.
--
Thomas
OpenPGP_signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-list
On 4/2/2024 1:47 PM, Piergiorgio Sartor via Python-list wrote:
On 02/04/2024 19.18, Stefan Ram wrote:
Some people can't believe it when I say that chatbots improve
my programming productivity. So, here's a technique I learned
from a chatbot!
It is a structured "break". "Break" still
d when the conditions are complex and many points of immediate
return, fine, then it may be dangerous. But a single return is fine.
The function does have a flaw as it is not clear what it should do if nothing
is found. Calling a silly long name does not necessarily return anything.
Others, like Th
On 4/3/2024 3:06 PM, WordWeaver Evangelist via Python-list wrote:
Hello everyone! It has been a l-o-n-g time -- nine years in fact --since I last
participated on this mailing list.
[snip]
3. You are very familiar with the Jython 2 environment, which I am told is
based on Python 2 and NOT Pyt
On 4/4/2024 3:03 PM, Mark Bourne via Python-list wrote:
Thomas Passin wrote:
On 4/2/2024 1:47 PM, Piergiorgio Sartor via Python-list wrote:
On 02/04/2024 19.18, Stefan Ram wrote:
Some people can't believe it when I say that chatbots improve
my programming productivity. So, her
On 4/5/2024 5:32 PM, shannon makasale via Python-list wrote:
Hi there,
My name is Shannon. I installed Python 3.12 on my laptop a couple months ago,
but realised my school requires me to use 3.11.1.
I uninstalled 3.12 and installed 3.11.1.
Unfortunately, I am unable to run python now. It keeps
On 4/8/2024 2:01 PM, Dietmar Schwertberger via Python-list wrote:
To be sure, you can always go the the directory of the Python
interpreter and open a cmd window there.
(By entering 'cmd' into the explorer address bar.)
Then enter 'python.exe -mpip install paramiko'.
This way you can be sure tha
On 4/8/2024 3:35 PM, Keith Thompson via Python-list wrote:
Thomas Passin writes:
On 4/8/2024 2:01 PM, Dietmar Schwertberger via Python-list wrote:
To be sure, you can always go the the directory of the Python
interpreter and open a cmd window there.
(By entering 'cmd' into th
tsnew/3.13.html#id9>.
(Some removals present in alpha 1 were reverted in alpha 2, as the removals
were deemed too disruptive at this time.)
(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know . It’s getting to be
really
On 4/10/2024 6:41 PM, Alan Gauld via Python-list wrote:
On 10/04/2024 19:50, WordWeaver Evangelist via Python-list wrote:
I have a simple question. I use the following textPrompt in some of my Jython
modules:
'\n[1;33mYour choice is? (A B C D E): ', maxChars=1, autoAccept=False,
forceUpper
On 4/11/2024 8:42 AM, Olivier B. via Python-list wrote:
I am trying to use StringIO to capture stdout, in code that looks like this:
import sys
from io import StringIO
old_stdout = sys.stdout
sys.stdout = mystdout = StringIO()
print( "patate")
mystdout.seek(0)
sys.stdout = old_stdout
print(mystd
On 5/3/2024 9:56 AM, Johanne Fairchild via Python-list wrote:
How to discover what values produced an exception? Or perhaps---why
doesn't the Python traceback show the values involved in the TypeError?
For instance:
--8<>8---
(0,0) < 4
T
.)
- New deprecations
<https://docs.python.org/3.13/whatsnew/3.13.html#deprecated>, most of
which are scheduled for removal from Python 3.15 or 3.16.
(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)
For more details on t
On 5/12/2024 7:56 PM, Enrder via Python-list wrote:
good tader
I need help to install the bcml, and is that after installing the python
and I go to the command prompt and put ''pip install bcml'' to install it
tells me "pip" is not recognized as an internal or external command,
On 5/19/2024 3:32 AM, Alan Gauld via Python-list wrote:
On 18/05/2024 19:12, Piergiorgio Sartor via Python-list wrote:
[snip]
The dependency nightmare created by python, pip
and all the rest cannot be resolved otherwise.
I've honestly never experienced this "nightmare".
I install stuff an
On 5/19/2024 6:08 PM, Skip Montanaro via Python-list wrote:
Modern debian (ubuntu) and fedora block users installing using pip.
Even if you're telling it to install in ~/.local? I could see not allowing
to run it as root.
I honestly haven't tried. Maybe I should... 🤔 I have an old laptop run
On 5/19/2024 6:34 PM, Grant Edwards via Python-list wrote:
On 2024-05-19, Barry via Python-list wrote:
On 18 May 2024, at 16:27, Peter J. Holzer via Python-list
wrote:
I don't think Linux users have to deal with venvs
Modern debian (ubuntu) and fedora block users installing using pip.
On 5/19/2024 6:00 PM, Karsten Hilbert via Python-list wrote:
Am Sun, May 19, 2024 at 10:45:09PM +0100 schrieb Barry via Python-list:
On 18 May 2024, at 16:27, Peter J. Holzer via Python-list
wrote:
I don't think Linux users have to deal with venvs
Modern debian (ubuntu) and fedora block us
On 5/26/2024 2:28 AM, Gilmeh Serda via Python-list wrote:
The web claims (I think on all pages I've read about Markdown and Python)
that this code should work, with some very minor variants on the topic:
```python
import os
with open(os.path.join('/home/user/apath', 'somefile')) as f:
pri
Your code is unreadable. The lines have all run together. And after
that, kindly explain what you want your code sample to do. "Process"
doesn't say much.
From what I can make out about what you are trying to do, you would do
better to index through your string with
for i, chr in enumerate
On 5/29/2024 3:14 AM, Chris Angelico via Python-list wrote:
On Wed, 29 May 2024 at 16:03, Cameron Simpson via Python-list
wrote:
By which Thomas means stuff like this:
print(f'if block {name[index]} and index {index}')
Notice the leading "f'". Personally I
ll not be burned: the flames will not set you ablaze."
*Isaiah 43:2
*
On Wednesday, May 29, 2024 at 06:19:56 AM MDT, Thomas Passin via
Python-list wrote:
On 5/29/2024 3:14 AM, Chris Angelico via Python-list wrote:
> On Wed, 29 May 2024 at 16:03, Cameron Simpson via Python-list
On 5/29/2024 10:59 AM, MRAB via Python-list wrote:
On 2024-05-29 15:32, Thomas Passin via Python-list wrote:
On 5/29/2024 8:55 AM, Kevin M. Wilson wrote:
Please recall, I said the format for the email failed to retain the
proper indents.
I'll attach a picture of the code!
Purpos
On 5/30/2024 4:03 PM, HenHanna via Python-list wrote:
Given a text file of a novel (JoyceUlysses.txt) ...
could someone give me a pretty fast (and simple) Python program that'd
give me a list of all words occurring exactly once?
-- Also, a list of words occurring once, twice o
On 6/1/2024 4:04 AM, Peter J. Holzer via Python-list wrote:
On 2024-05-30 19:26:37 -0700, HenHanna via Python-list wrote:
hard to decide what to do with hyphens
and apostrophes
(I'd, he's, can't, haven't, A's and B's)
Especially since the same character is us
On 6/5/2024 12:33 AM, dn via Python-list wrote:
On 31/05/24 14:26, HenHanna via Python-list wrote:
On 5/30/2024 2:18 PM, dn wrote:
On 31/05/24 08:03, HenHanna via Python-list wrote:
Given a text file of a novel (JoyceUlysses.txt) ...
could someone give me a pretty fast (and simple) Python pr
New deprecations
<https://docs.python.org/3.13/whatsnew/3.13.html#deprecated>, most of
which are scheduled for removal from Python 3.15 or 3.16.
(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)
For more details on the changes to P
y volunteers who help make Python Development and
these releases possible! Please consider supporting our efforts by
volunteering yourself or through organization contributions to the Python
Software Foundation.
Regards from still quite sunny Sunnyvale,
Your release team,
Thomas Wouters @thomas
On 6/8/2024 11:54 AM, Larry Martell via Python-list wrote:
On Sat, Jun 8, 2024 at 10:39 AM Mats Wichmann via Python-list <
python-list@python.org> wrote:
On 6/5/24 05:10, Thomas Passin via Python-list wrote:
Of course, we see this lack of clarity all the time in questions to the
li
On 6/8/2024 2:46 PM, avi.e.gr...@gmail.com wrote:
Agreed, Thomas.
As someone who has spent lots of time writing code OR requirements of various
levels or having to deal with the bugs afterwards, there can be a huge
disconnect between the people trying to decide what to do and the people
On 6/12/2024 1:59 PM, Chris Angelico via Python-list wrote:
On Thu, 13 Jun 2024 at 03:41, AVI GROSS via Python-list
wrote:
Change is hard even when it may be necessary.
The argument often is about whether some things are necessary or not.
Python made a decision but clearly not a unanimous on
On 6/17/2024 9:30 PM, MRAB via Python-list wrote:
On 2024-06-17 20:27, Rob Cliffe via Python-list wrote:
Recently I acquired a new laptop running WIndows 11; my previous one
uses WIndows 10. I encountered a strange problem:
I am using the win32clipboard backage (part of pywin32), and when I use
On 6/24/2024 5:51 AM, Barry Scott via Python-list wrote:
On 23 Jun 2024, at 06:58, Sebastian Wells via Python-list
wrote:
The spammers won the spam wars, so even if you have someone's real
e-mail address, that's no guarantee that you can contact them. You
certainly wouldn't be able to conta
l#id9>.
(Some removals present in alpha 1 were reverted in alpha 2, as the removals
were deemed too disruptive at this time.)
- New deprecations
<https://docs.python.org/3.13/whatsnew/3.13.html#deprecated>, most of
which are scheduled for removal from Python 3.15 or 3.16.
(Hey,
On 6/28/2024 12:08 PM, Ulrich Goebel via Python-list wrote:
Hi,
a class can have methods, and it can have attributes, which can hold a
function. Both is well known, of course.
My question: Is there any difference?
The code snipped shows that both do what they should do. But __dict__ includes
On 7/6/2024 6:49 AM, Rob Cliffe via Python-list wrote:
Consider this scenario (which I ran into in real life):
I want to open a text file and do a lot of processing on the lines
of that file.
If the file does not exist I want to take appropriate action, e.g.
print an error message and
tml#deprecated>, most of
which are scheduled for removal from Python 3.15 or 3.16.
(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)
For more details on the changes to Python 3.13, see What’s new in Python
3.13 <https:/
On 7/26/2024 7:25 AM, Lizna Shah via Python-list wrote:
OSError: [WinError 225] Operation did not complete successfully because the
file contains a virus or potentially unwanted software
That part of the error message tells you the story. Windows thinks some
file in the install has been corru
On 7/30/2024 2:18 PM, marc nicole via Python-list wrote:
Hello all,
I want to predict an object by given as input an image and want to have my
model be able to predict the label. I have trained a model using tensorflow
based on annotated database where the target object to predict was added to
t
tand what those function calls
are returning. It's documented somewhere, right?
And you really do need to know the probabilities of the competing images
because otherwise you won't know how confident you can be that the
identification is a strong one.
Le mar. 30 juil. 202
this time.)
- New deprecations
<https://docs.python.org/3.13/whatsnew/3.13.html#deprecated>, most of
which are scheduled for removal from Python 3.15 or 3.16.
(Hey, *fellow core developer,* if a feature you find important is missing
from this list, let Thomas know .)
For more
On 8/3/2024 2:49 PM, Barry Scott via Python-list wrote:
On 30 Jul 2024, at 18:36, Schimon Jehudah via Python-list
wrote:
Greetings, to one and all!
My name is Schimon, and I am the developer of a news chat bot for the
XMPP network, called Slixfeed.
I have recently added support for OMEMO
Python Development and
these releases possible! Please consider supporting our efforts by
volunteering yourself or through organization contributions to the Python
Software Foundation.
Your release team,
Thomas Wouters
Łukasz Langa
Ned Deily
Steve Dower
--
Thomas Wouters
--
https://mail.python.org/mailman/listinfo/python-list
On 8/28/2024 5:09 PM, Daniel via Python-list wrote:
As you all have seen on my intro post, I am in a project using Python
(which I'm learning as I go) using the wikimedia API to pull data from
wiktionary.org. I want to parse the json and output, for now, just the
definition of the word.
Wiktiona
On 8/28/2024 8:07 PM, dn via Python-list wrote:
On 29/08/24 10:32, Thomas Passin via Python-list wrote:
On 8/28/2024 5:09 PM, Daniel via Python-list wrote:
As you all have seen on my intro post, I am in a project using Python
(which I'm learning as I go) using the wikimedia API to pull
On 8/30/2024 3:18 PM, Simon Connah via Python-list wrote:
I need to write a script that will take some user input (supplied on a website)
and then execute a Python script on a host via SSH. I'm curious what the best
options are for protecting against malicious input in much the smae way as you
Hi,
How about asserting that test2 of class Bar is called?
Of course I can do a patch for a concrete method but
I was looking for something like:
mocked_object.assert_method_called_with(name="test2", "hello")
If find following totally different to the normal API which
is provided by the mock
Am Freitag, 14. August 2015 04:53:56 UTC+2 schrieb Steven D'Aprano:
> On Fri, 14 Aug 2015 07:21 am, Ben Finney wrote:
>
> >> If find following totally different to the normal API which
> >> is provided by the mock library:
> >>
> >> assert call().test2("hello") in mocked_objects.mock_calls
> >
>
On 10/11/2024 8:37 PM, MRAB via Python-list wrote:
On 2024-10-11 22:13, AVI GROSS via Python-list wrote:
Is there some utility function out there that can be called to show
what the
regular expression you typed in will look like by the time it is ready
to be
used?
Obviously, life is not that
On 10/12/2024 6:59 AM, Peter J. Holzer via Python-list wrote:
On 2024-10-11 17:13:07 -0400, AVI GROSS via Python-list wrote:
Is there some utility function out there that can be called to show what the
regular expression you typed in will look like by the time it is ready to be
used?
I assume
Development and
these releases possible! Please consider supporting our efforts by
volunteering yourself or through organization contributions to the Python
Software Foundation <https://www.python.org/psf-landing/>.
Choo-choo from the release train,
Your release team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa
--
https://mail.python.org/mailman/listinfo/python-list
On 10/5/2024 4:27 PM, Ulrich Goebel via Python-list wrote:
Hi,
I learned to use virtual environments where ever possible, and I learned to pip
install the required packages there.
That works quite nice at home. Now I come to deploy a Python script on a debian
linux server, making it usable fo
On 11/8/2024 2:09 PM, dn via Python-list wrote:
On 8/11/24 14:40, Mild Shock via Python-list wrote:
Well you can use your Browser, since
JavaScript understand post and pre increment:
Question: are we talking Python or JavaScript?
So we have x ++ equals in Python:
Trying to find a word-for
On 10/25/2024 12:25 PM, marc nicole via Python-list wrote:
Hello Python fellows,
I hope this question is not very far from the main topic of this list, but
I have a hard time finding a way to check whether audio data samples are
containing empty noise or actual significant voice/noise.
I am usi
On 9/30/2024 11:30 AM, Barry via Python-list wrote:
On 30 Sep 2024, at 06:52, Abdur-Rahmaan Janhangeer via Python-list
wrote:
import polars as pl
pl.read_json("file.json")
This is not going to work unless the computer has a lot more the 60GiB of RAM.
As later suggested a streaming par
to the Python
Software Foundation.
Regards from a positively *melting* Menlo Park for some reason
<https://social.coop/@Yhg1s/113051321976759729>this time,
Your release team,
Thomas Wouters
Łukasz Langa
Ned Deily
Steve Dower
--
https://mail.python.org/mailman/listinfo/python-list
On 9/30/2024 1:00 PM, Chris Angelico via Python-list wrote:
On Tue, 1 Oct 2024 at 02:20, Thomas Passin via Python-list
wrote:
On 9/30/2024 11:30 AM, Barry via Python-list wrote:
On 30 Sep 2024, at 06:52, Abdur-Rahmaan Janhangeer via Python-list
wrote:
import polars as pl
pl.read_json
On 9/30/2024 11:30 AM, Barry via Python-list wrote:
On 30 Sep 2024, at 06:52, Abdur-Rahmaan Janhangeer via Python-list
wrote:
import polars as pl
pl.read_json("file.json")
This is not going to work unless the computer has a lot more the 60GiB of RAM.
As later suggested a streaming par
On 9/18/2024 10:49 AM, Ulrich Goebel via Python-list wrote:
Hi,
Debian Linux seems to love Python 3.7 - that is shown by apt-get list, and it's
installed on my Debian Server.
But I need at least Python 3.8
Is there a repository which I can give to apt to get Python 3.8 or later?
Or do I real
eers who help make Python Development and
these releases possible! Please consider supporting our efforts by
volunteering yourself or through organization contributions to the Python
Software Foundation.
Regards from your team,
Thomas Wouters
Ned Deily
Steve Dower
Łukasz Langa
--
https://mail.python.or
Please consider supporting our efforts by
volunteering yourself or through organization contributions to the Python
Software Foundation.
Regards from your tireless, tireless release team,
Thomas Wouters
Ned Deily
Steve Dower
Pablo Galindo Salgado
Łukasz Langa
--
https://mail.python.org/mailman/listinfo/python-list
On 1/10/2025 4:00 PM, Tim Johnson via Python-list wrote:
On 1/10/25 11:32, MRAB via Python-list wrote:
,,, snipped
Below is the pertinent code:
Popen(choice, stdout=PIPE, stderr=PIPE,
stdin=PIPE, close_fds=True)
My guess is my argument list is either insufficient or
On 1/12/2025 7:11 AM, Chris Green via Python-list wrote:
Stefan Ram wrote:
Chris Green wrote or quoted:
E.g. I want to install and use pksheet but, as it's not available from
the Debian repositories, I'll have to install it from PyPi.
I can't dig up any "pksheet" on PyPI. So, you got to
On 1/13/2025 11:09 AM, Henry S. Thompson via Python-list wrote:
I've spent several days trying to get this example [1] working, using
Python3.11 and Cython 3.0.11 of Debian.
I've copied the example files as carefully as I can, renamed some to
avoid a name clash with the queue.py library, but the
On 1/14/2025 6:32 AM, Chris Green via Python-list wrote:
I have a (relatively) clean Debian 12 installation running on my two
workhorse systems, a desktop server at home and my laptop that travels
around with me.
I moved from Xubuntu to Debian on both these systems a few months ago.
I ran Xubun
On 12/31/2024 7:00 PM, Tim Johnson via Python-list wrote:
Please let me grumble for a minute : I've been using python since before
1. 5, when I could email Guido van Rossum directly with questions
and on at least one occasion we swapped stories about our cats. I put
six kids though college wr
On 12/24/2024 4:08 PM, marc nicole via Python-list wrote:
The full python package (pypi) being represented as the outermost frame
here including the 4 sub-frames)
Le mar. 24 déc. 2024 à 22:05, marc nicole a écrit :
I want to convey the idea that main.py (main algorithm) imports 3 modules
(V,
On 12/24/2024 3:42 PM, marc nicole via Python-list wrote:
it is here https://i.sstatic.net/ykk5Wd0w.png
This diagram does not make much sense to me:
1. What is the purpose of the diagram and who is it intended for?
2. A module and an algorithm are different kinds of things, yet they are
conne
On 2/16/2025 4:00 PM, Jan Erik Moström via Python-list wrote:
On 16 Feb 2025, at 20:59, dn via Python-list wrote:
When stop to think about it, this is quite a request:
don't give me what I do know,
do give me what I don't know!
😜
That said, you are correct: the bulk of new publications seem
On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote:
Hi Python community and members,
I hope this email finds you well, I want you to be assisted in resolving
this following issue. kindly look at the below concern,
"""I’m running into an error where I get a 'This app can’t run on your PC'
On 3/8/2025 10:47 PM, Praveen Kumar wrote:
Hi Thomas and team,
It's worked In non-admin privileges after put the file in path at the
first on environmental path variables, but with admin privileges it
doesn't work though. Showing same error, as I mentioned earlier.
If the path ha
On 3/9/2025 3:16 PM, Gilmeh Serda via Python-list wrote:
On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote:
"C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe"
Is that an approved location for executables?
Yes, that's where a python.org install normally goes. If you a
fore it will find the system's or user's. You know
the activation has been successful because the prompt changes to show
you. The activation applies to the terminal session in which you
activated the venv.
On Sun, Apr 13, 2025 at 10:11 PM Thomas Passin <mailto:li...@tompassin.net>
On 4/15/2025 5:38 PM, rbowman via Python-list wrote:
On Tue, 15 Apr 2025 14:12:19 -0400, Thomas Passin wrote:
On Linux, at least, it's standard for pip to install into the user's
site-packages location if it's not invoked with admin privileges - even
without --user. Pip will
On 4/17/2025 4:58 AM, Roel Schroeven via Python-list wrote:
Op 15/04/2025 om 20:31 schreef Mats Wichmann via Python-list:
To be clear: you do not have to activate a virtualenv to use *Python*
from it. If you just call the python by the path it's in, it figures
everything out (and sets some vari
On 4/15/2025 12:43 PM, Friedrich Romstedt via Python-list wrote:
Am Mo., 14. Apr. 2025 um 01:14 Uhr schrieb Jonathan Gossage via Python-list
:
I am using *Python 3.13* in a virtual environment under *Ubuntu Linux
24.04*
.
[...]
Instead, it was
installed into the site-packages directory in
On 4/15/2025 3:41 PM, dn via Python-list wrote:
Various responses have been provided but the OP has not yet replied on-
list (as verified by Archive). Is this an error with the list-processor
or have some posts been sent to one person only (using Reply instead of
ReplyList)?
There are always
On 4/14/2025 6:20 PM, Keith Thompson via Python-list wrote:
Thomas Passin writes:
[...]
To activate a venv, you have to source its activate script, which is
in the venv. First you have to mark it as executable. Then you source
it -
source ~/venv/gf4/bin/activate
[...]
No, you don't ha
On 4/14/2025 6:20 PM, Keith Thompson via Python-list wrote:
Thomas Passin writes:
[...]
To activate a venv, you have to source its activate script, which is
in the venv. First you have to mark it as executable. Then you source
it -
source ~/venv/gf4/bin/activate
[...]
No, you don't ha
On 4/19/2025 4:56 AM, Peter J. Holzer via Python-list wrote:
On 2025-04-18 13:08:36 -0400, Thomas Passin via Python-list wrote:
On 4/18/2025 11:38 AM, Peter J. Holzer via Python-list wrote:
On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote:
On 18/04/25 9:41 am, Mats Wichmann
On 4/18/2025 11:38 AM, Peter J. Holzer via Python-list wrote:
On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote:
On 18/04/25 9:41 am, Mats Wichmann wrote:
There's just not a really great answer to this.
Seems to me a system-installed application shouldn't be looking in the
user's
Kindly guide on how to solve this problem from Python3.9 with pycharm. See
the below
import numpy as np
import pandas as pd
from pandas import series
object = series([5,10,15,20])
print (object)
C:\Users\THOMAS\AppData\Local\Programs\Python\Python39\python.exe
C:/Users/THOMAS/PycharmProjects
Spot on!! Thank you very much, am back on track with your aid
On Sat, Nov 28, 2020 at 9:23 PM MRAB wrote:
> On 2020-11-28 15:59, A. M. Thomas [PETech MIET MBA] wrote:
> > Kindly guide on how to solve this problem from Python3.9 with pycharm.
> See
> > the below
> >
&g
Kindly help manage read .xlsx files using pandas, thank you
import numpy as np
import pandas as pd
from pandas import Series, DataFrame
excelfile = pd.ExcelFile('C:\Users\THOMAS\Documents/Hash Analytics
Internship - DemoS2.xlsx')
dframe = excelfile.parse('Sheet10')
print
3701 - 3800 of 3800 matches
Mail list logo