On 12/07/2022 18:39, אורי wrote:
Is `python -W all` and `python -Wa` the same? And what are the options
for `python -W`? I didn't find it documented. For example, I'm using
`python -W error::DeprecationWarning` and I didn't see it documented on
https://docs.python.org/3/using/cmdline.html
Is th
On 20/07/2022 12:08, Chris Angelico wrote:
On Wed, 20 Jul 2022 at 20:55, Frank Millman wrote:
On 2022-07-20 11:37 AM, Chris Angelico wrote:
> On Wed, 20 Jul 2022 at 18:34, Frank Millman wrote:
>>
>> Hi all
>>
>> C:\Users\E7280>python
>> Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38
On 21/07/2022 20:47, Marco Sulla wrote:
I tried to check for memory leaks in a bunch of functions of mine using a
simple decorator. It works, but it fails with this code, returning a random
count_diff at every run. Why?
import tracemalloc
import gc
import functools
from uuid import uuid4
import
On 21/07/2022 23:39, Marco Sulla wrote:
I've done this other simple test:
#!/usr/bin/env python3
import tracemalloc
import gc
import pickle
tracemalloc.start()
snapshot1 = tracemalloc.take_snapshot().filter_traces(
(tracemalloc.Filter(True, __file__), )
)
for i in range(1000):
pi
On 23/07/2022 18:30, Leif Svalgaard wrote:
error message: invalid file path: C:/Users/leifs/anaconda3/python3105.exe
what is wrong with that?
Is there a file called python3105.exe in the folder
C:/Users/leifs/anaconda3?
That filename looks wrong to me because the file is usually called
pytho
On 23/07/2022 05:28, Khairil Sitanggang wrote:
Hello Expert:
I just started using python. Below is a simple code. I was trying to check
if, say, NO1 is not in the NODELIST[:].NO
How can I achieve this purpose?
Regards,
-Irfan
class Node:
def __init__(self):
self.NO = 0
On 27/07/2022 16:43, Cecil Westerhof via Python-list wrote:
"Michael F. Stemper" writes:
This is orthogonal to your question, but might be of some use to you:
The combination of using len(to_try) as an argument to randint() and
saving the output to a variable named "index" suggests that you m
On 27/07/2022 18:24, Cecil Westerhof via Python-list wrote:
MRAB writes:
On 27/07/2022 16:43, Cecil Westerhof via Python-list wrote:
"Michael F. Stemper" writes:
This is orthogonal to your question, but might be of some use to you:
The combination of using len(to_try) as an a
On 28/07/2022 10:54, Ben Hirsig wrote:
Hi, I noticed this when using the requests library in the response.elapsed
object (type timedelta). Tested using the standard datetime library alone
with the example displayed on
https://docs.python.org/3/library/datetime.html#examples-of-usage-timedelta
On 01/08/2022 15:16, Gonzalo V wrote:
Hi everyone!
i need a guide or advice or anything.
I few years ago, i was able to connect to my music receiver via spotify app
from my phone or laptop. You had to connect to receiver and your laptop to
the same wifi network and this is. Years later, that serv
On 2022-08-04 12:51, Loris Bennett wrote:
Hi,
I am constructing a list of dictionaries via the following list
comprehension:
data = [get_job_efficiency_dict(job_id) for job_id in job_ids]
However,
get_job_efficiency_dict(job_id)
uses 'subprocess.Popen' to run an external program and th
On 2022-08-08 12:20, Stefan Ram wrote:
Andreas Croci writes:
Basically the question boils down to wether it is possible to have parts
of a program (could be functions) that keep doing their job while other
parts do something else on the same data, and what is the best way to do
this.
Yes
On 2022-08-10 09:02, Helmut Weingrill wrote:
I installed Python 3.11 0b3. In the IDLE, cols_justification works fine
in my program "sg.Table". When installing Pycharm 2022.2 later,
"cols_just.." does not work. Error message: File "H:\pf\PyFibu\FIBU.py",
line 85, in beg_buchen [sg.table(values=lis
On 2022-08-30 16:09, George Rwaga wrote:
I last installed an updated version of python more than a year back. I am
trying to download (from https://www.python.org/downloads/ ) and install
Python 3.10.6 for Windows - but I keep running into problems.
1. I installed Python 3.10.6 in the default
On 2022-09-10 19:46, c.bu...@posteo.jp wrote:
Hello,
My `flake8` gives me a "W605 invalid escape sequence" [1] warning for
this piece of example code.
import re
def foobar():
rex = re.compile('Version: \d+.\d+.\d+.*', re.MULTILINE)
for match in rex.finda
On 2022-09-21 14:49, My Pen Services wrote:
Hello,
I am having an issue after installing the latest application. I do not seem
to locate it on my PC nor am I able to get the shortcut for launching the
application.
On Windows, it should be in the main application menu.
When I try running the
On 2022-09-29 16:54, Jen Kris via Python-list wrote:
Recently I completed a project where I used PyObject_CallFunctionObjArgs
extensively with the NLTK library from a program written in NASM, with no
problems. Now I am on a new project where I call the Python random library. I
use the same s
_NoneStruct>
Exactly. It's Py_None, not a PyLong.
Thanks again.
Jen
Sep 29, 2022, 13:02 by python-list@python.org:
Thanks very much to @MRAB for taking time to answer. I changed my
code to conform to your answer (as best I understand your comments
on references), but I st
ange_calc);
Leak.
return return_val;
}
That returns 28, which is what I get from the Python command line.
Thanks again to MRAB for helpful comments.
Jen
Getting refcounting right can be difficult!
Sep 29, 2022, 15:31 by pyt...@mrabarnett.plus.com:
On 2022-09-29 21:47, Jen
On 2022-09-30 01:02, MRAB wrote:
On 2022-09-29 23:41, Jen Kris wrote:
I just solved this C API problem, and I’m posting the answer to help
anyone else who might need it.
[snip]
What I like to do is write comments that state which variables hold a
reference, followed by '+' if
o reference to it. Now call the function again. It
creates another object, you use it, then return from the function. You
now have 2 objects with no reference to them.
Thanks again for your input on this question.
Jen
Sep 29, 2022, 17:33 by pyt...@mrabarnett.plus.com:
On 2022-09-3
On 2022-10-07 16:45, Skip Montanaro wrote:
On Fri, Oct 7, 2022 at 9:42 AM Andreas Ames
wrote:
1. The culprit was me. As lazy as I am, I have used f-strings all over the
place in calls to `logging.logger.debug()` and friends, evaluating all
arguments regardless of whether the logger was enabled
On 2022-10-08 00:40, Cameron Simpson wrote:
On 07Oct2022 20:16, Robin van der veer wrote:
If I have two processes communicating through a JoinableQueue, and I do the
following:
process 1:
queue.put(1) #unfished tasks = 1
queue.join() #block until unfished tasks = 0
print('hello')[/py
On 2022-10-09 18:51, Antoon Pardon wrote:
Op 9/10/2022 om 19:23 schreef Karsten Hilbert:
Am Sun, Oct 09, 2022 at 06:59:36PM +0200 schrieb Antoon Pardon:
Op 9/10/2022 om 17:49 schreef Avi Gross:
My guess is that finding 100 errors might turn out to be misleading. If you
fix just the first, m
On 2022-10-10 00:40, dn wrote:
On Sun, 9 Oct 2022 at 15:39, Axy via Python-list
wrote:
"shortest block first"
Have never heard this advice before. Kind-of rankled with me, as it did
for others.
Enquiring minds want to know... Played Duck, duck, go on this: zero hits
amongst a pile of simila
On 2022-10-11 20:38, Thomas Passin wrote:
On Windows, when I tried to install gdal using pip, it needed to compile
part of it. I'm not set up with the Microsoft compiler and header
files, so that failed. If you are on Windows, you will need to look for
a binary wheel to install, or install and
On 2022-10-11 21:09, Stefan Ram wrote:
r...@zedat.fu-berlin.de (Stefan Ram) writes:
. I never understood "yield from" until just now, when I was
thinking, "Maybe this could be the piece that fits in here!"
PS: If I'm starting to think about it: Having succeeded
after using it by trial in
On 2022-10-12 06:11, jak wrote:
Il 12/10/2022 06:00, Paulo da Silva ha scritto:
Hi!
The simple question: How do I find the full path of a shell command
(linux), i.e. how do I obtain the corresponding of, for example,
"type rm" in command line?
The reason:
I have python program that launches
On 2022-10-13 13:47, Chris Green wrote:
I have a short python3 program that collects E-Mails from a 'catchall'
mailbox, sends the few that might be interesting to me and dumps the
rest.
It has suddenly (after working for some years) started throwing the
following:-
Traceback (most recent c
On 2022-10-15 23:50, avi.e.gr...@gmail.com wrote:
This has been discussed so often precisely because I swear NO CHOICE of keyword
would satisfy everybody! Most languages start with designated keywords and some
reserve a few for later use. But then things can get frozen in place to avoid
breaki
On 2022-10-17 16:43, David Lowry-Duda wrote:
One can use the `dis` module and investigate the generated python
bytecode. For me, I get
# file "dis1.py"
thing = 123
for i in range(10):
if "hi" == str(thing):
print("found")
break
The bytecode is then
1 0 L
On 2022-10-22 04:43, ishar jaiswal wrote:
my problem is not solving i sended you a message when i open python there
one error comes. then you why not taking action
[image: Screenshot (2).png]
This list does not accept screenshots. Please copy and paste the error.
--
https://mail.python.org/mailm
On 2022-10-29 19:21, Bernard LEDRU wrote:
Hello,
https://docs.python.org/3/library/stdtypes.html#string-methods
str.replace(old, new[, count])¶
Return a copy of the string with all occurrences of substring old
replaced by new. If the optional argument count is given, only the first
count occurr
On 2022-10-30 14:57, Yassine Nasri wrote:
Hello,
len('') # => 0''[0]# => error''[::] # => [::] # <=> ''[0:len(''):1]
the syntax of slice:
slice(start, end, step)
The start in ''[::] equivalent at index 0 of the ''
Since the index 0 of '' returns an error.
The ''[::] should not
On 2022-11-05 11:07, Stefan Ram wrote:
Robert Latest writes:
result += ' ' *( length - len( result ))
Nice, I didn't know that one could multiply strings by negative numbers without
error.
Thanks, but today I thought that maybe there might
be a solution for getting a field of a fixed l
On 2022-11-05 18:52, cactus wrote:
On Saturday, 5 November 2022 at 16:06:52 UTC, cactus wrote:
I should have quoted the full comprehensions:
all((srt(m, n) in c_np) == (srt(a, b) in c_ap) for (m, a), (n, b) in
combinations(na8, 2))
all( srt(m, n) in c_np == srt(a, b) in c_ap) for (m, a
On 2022-11-11 08:54, dn wrote:
[snip]
The module's function definition is:
def build_product_prices_dictionary( WORKBOOK_DEFINITIONS:dict )->dict:
...
price_array = xl.iget_array(
file_name=WORKBOOK_DEFINITIONS[ "file_name" ],
...
(the function def is flagged, as abov
On 2022-11-14 00:55, Greg Ewing wrote:
On 14/11/22 1:31 pm, Jon Ribbens wrote:
On 2022-11-13, DFS wrote:
But why is it allowed in the first place?
Because it's an expression, and you're allowed to execute expressions.
To put it a bit more clearly, you're allowed to evaluate
an expression a
On 2022-12-02 22:38, biglee12...@gmail.com wrote:
> Dear Sir:
>
> For whatever reason I have lost functionality of using Python 3.11.
While
> opening Python (standalone or from CMD prompt) as usual this AM the
> following message appeared. Did read that it is not compatible with
> Windows but
On 2022-12-07 02:23, Jach Feng wrote:
s0 = r'\x0a'
At this moment it was done by
def to1byte(matchobj):
return chr(int('0x' + matchobj.group(1), 16))
s1 = re.sub(r'\\x([0-9a-fA-F]{2})', to1byte, s0)
But, is it that difficult on doing this simple thing?
You could try this:
On 2022-12-15 18:14, Gronicus@SGA.Ninja wrote:
So far so good , I can now use a variable in datetime.datetime but it only
works if I hard-code the time/date information. Now I want to have the code
read from a file but I get: TypeError: function takes at most 9 arguments
(26 given)
I figure that
On 2022-12-15 19:05, avi.e.gr...@gmail.com wrote:
Multiple returns is not always a problem as it depends on the nature of a
task whether it has complex enough cases.
I have seen code that instead sets Boolean variables when it is ready to
return and everything else keeps checking the variables t
On 2022-12-15 22:49, Gronicus@SGA.Ninja wrote:
Yes, it works like a charm. On the tupility of it all.
Special thanks for the explanation too…..
(Originally asked but I found the errors. All is working)
Now that the code no longer produces the errors, I see that the year and month
not incl
On 2022-12-19 14:10, Peter J. Holzer wrote:
On 2022-12-19 09:25:17 +1100, Chris Angelico wrote:
On Mon, 19 Dec 2022 at 07:57, Stefan Ram wrote:
> G = Decimal( 6.6743015E-11 )
> r = Decimal( 6.371E6 )
> M = Decimal( 5.9722E24 )
What's the point of using Decimal if you start with nothing more th
On 2022-12-28 18:42, Alexander Richert - NOAA Affiliate via Python-list
wrote:
In a couple recent versions of Python (including 3.8 and 3.10), the
following code:
import re
print(re.sub(".*", "replacement", "pattern"))
yields the output "replacementreplacement".
This behavior does not occur in
On 2022-12-31 05:45, Goran Ikac wrote:
Happy New Year, everybody!
I'm new in the Python List, new in Python world, and new in coding.
A few days (weeks?) ago, I faced a problem trying to write a program for an
exercise. I asked for help and nobody answered.
In the meantime, I found a part of the
On 2023-01-03 15:35, c.bu...@posteo.jp wrote:
Hello,
this posting isn't about asking for a technical solution. My intention
is to understand the design decision Python's core developers made in
context of that topic.
The logging module write everything to stderr no matter which logging
level is
On 2023-01-09 14:40, om om wrote:
I'm installing playsound pip install playsound
but it keeps saying No module named playsound
and this error occurs on other packages
What are you typing on the command line? Which operating system are you
using?
Please copy and post what you're typing (with
On 2023-01-09 17:11, Thomas Passin wrote:
I wrote
"the most likely reason is that it got installed by a different
version of python than the one that used pip to install it."
That's not quite what I meant to say. Better:
"the most likely reason is that you are trying to import it using a
d
On 2023-01-10 14:57, Abhay Singh wrote:
Here is the entire code snippet of the same.
Please help
def change_flag(top_frame, bottom_frame, button1, button2, button3, button4,
controller): global counter, canvas, my_image, chosen, flag, directory
canvas.delete('all') button5['state'] = DISABLED
On 2023-01-10 20:41, Jen Kris via Python-list wrote:
Thanks for your comments. I'd like to make one small point. You say:
"Assignment in Python is a matter of object references. It's not
"conform them as long as they remain equal". You'll have to think in
terms of object references the entire
On 2023-01-10 22:21, Jen Kris via Python-list wrote:
There are cases where NumPy would be the best choice, but that wasn’t the case
here with what the loop was doing.
To sum up what I learned from this post, where one object derives from another object (a = b[0],
for example), any operation th
On 2023-01-11 00:13, Cameron Simpson wrote:
On 10Jan2023 18:32, MRAB wrote:
I don't like how you're passing Thread...start as an argument. IMHO, it
would be better/cleaner to pass a plain function, even if the only
thing that function does is to start the thread.
Yes, and this is
On 2023-01-24 20:32, Weatherby,Gerard wrote:
https://peps.python.org/pep-0285/
From: Python-list on behalf of
rbowman
Date: Tuesday, January 24, 2023 at 3:01 PM
To: python-list@python.org
Subject: Re: bool and int
bool is a subtype of integer. I never dug that deep into Python's guts but
I
On 2023-02-14 22:20, Rob Cliffe via Python-list wrote:
On 11/02/2023 00:39, Dino wrote:
First off, a big shout out to Peter J. Holzer, who mentioned roaring
bitmaps a few days ago and led me to quite a discovery.
I was intrigued to hear about roaring bitmaps and discover they really
were a th
On 2023-02-18 19:59, avi.e.gr...@gmail.com wrote:
[snip]
I do not know the internals of any Roaring Bitmap implementation so all I
did gather was that once the problem is broken into accessing individual
things I chose to call zones for want of a more specific name, then each
zone is stored in on
On 2023-02-18 23:04, avi.e.gr...@gmail.com wrote:
[snip]
Note how this can cause problems with the original idea here of caching strategies.
Imagine a function that checks the environment as to what encoding or human language and
so on to produce text in. If you cache it so it produces results
On 2023-02-19 14:03, Azizbek Khamdamov wrote:
Example 1 (works as expected)
file = open("D:\Programming\Python\working_with_files\cities.txt",
'r+') ## contains list cities
# the following code adds new record to the beginning of the file,
expected behaviour
file.write("new city\n")
file.close(
On 2023-02-19 19:31, Chris Angelico wrote:
On Mon, 20 Feb 2023 at 06:24, Thomas Passin wrote:
On 2/19/2023 1:53 PM, Chris Angelico wrote:
> On Mon, 20 Feb 2023 at 03:41, Azizbek Khamdamov
> wrote:
>>
>> Example 1 (works as expected)
>>
>> file = open("D:\Programming\Python\working_with_files\
On 2023-02-26 16:56, Hen Hanna wrote:
On Sunday, February 26, 2023 at 6:41:01 AM UTC-8, Thomas Passin wrote:
On 2/25/2023 8:12 PM, Hen Hanna wrote:
> 2. the rude guy ('dn') hasn't offered a single word of comment that's directly relevant to it.
> > but he did offer related stuff which
On 2023-02-27 23:11, Jen Kris via Python-list wrote:
When matching a string against a longer string, where both strings have spaces
in them, we need to escape the spaces.
This works (no spaces):
import re
example = 'abcdefabcdefabcdefg'
find_string = "abc"
for match in re.finditer(find_string,
On 2023-03-04 17:13, Tom wrote:
Bonjour je suis français et je ne comprend pas comment je peux acceder a
python merci de me repondre
CORDIALEMENT Lilian
Go to https://www.python.org/downloads/ and download the installer for
your operating system (Windows or MacOS). For Windows I'd
On 2023-03-06 00:28, dn via Python-list wrote:
On 06/03/2023 11.59, aapost wrote:
On 3/5/23 17:43, Stefan Ram wrote:
The following behaviour of Python strikes me as being a bit
"irregular". A user tries to chop of sections from a string,
but does not use "split" because the separator m
On 2023-03-10 23:27, Jan Vasko wrote:
Hello all,
I would like to ask you for help. I have been using Python 3.8 for almost 2
years and I decided to update to 3.11. Initially everything was correct. But at
some point Windows shows me that Python is being reinstalled (I don't have a
message pr
On 2023-03-14 00:28, Gary Herron wrote:
On 3/13/23 2:26 PM, morp...@gmail.com wrote:
Hi.
I was working in Python today, and sat there scratching my head as the
numbers for calculations didn't add up. It went into negative numbers,
when that shouldn't have been possible.
Turns out I had a ver
On 2023-03-14 03:29, Thomas Passin wrote:
On 3/13/2023 10:34 PM, scruel tao wrote:
Lars:
I totally understand your reasoning here, but in some way it
follows the unix philosophy: Do only one thing, but do that good.
I understand, python is not strongly typed, so `sys.exit` will be
able to ac
On 2023-03-17 17:55, Thomas Passin wrote:
On 3/17/2023 1:13 PM, Alan Gauld wrote:
Oops! I meant to send this to the group not just Dave.
Forwarded Message
On 16/03/2023 22:55, dn via Python-list wrote:
Do you make use of your IDE's expansionist tendencies, and if-so, which
On 2023-03-20 15:21, Edmondo Giovannozzi wrote:
> def sum1():
> s = 0
> for i in range(100):
> s += i
> return s
>
> def sum2():
> return sum(range(100))
Here you already have the numbers you want to add.
Actually using numpy you'll be much faster in thi
On 2023-03-25 20:03, Patrick Sheehan wrote:
Hello,
I have been working with the attached book (See photo) to try to learn
Python and so far it has been a complete nightmare trying to get python
installed and operating correctly. I have received a plethora of error
messages and consulted youtube
On 2023-04-06 23:14, Jim Schwartz wrote:
Could someone please help Carlos? I’m not sure how to answer his
question
Sent from my iPhone
On Apr 6, 2023, at 3:53 PM, Carlos Fulqueris wrote:
Hello Jim,
How can I unsubscribe to this email list?
I'm wait
On 2023-04-12 19:57, Mats Wichmann wrote:
On 4/12/23 11:11, Chris Angelico wrote:
On Thu, 13 Apr 2023 at 03:05, Ali Mohseni Roodbari
wrote:
Hi all,
Please make this command for Python (if possible):
x=1
y='a'
wprint (x+y)
1a
In fact make a new type of print command which can print and sho
he package mentioned above, not pip.
hint: See above for output from the failure.
(xreq) D:\Users\mike\envs\xreq>
[snip]
C:\Users\mrab>py -3.11 -m pip install psycopg2
Collecting psycopg2
Downloading psycopg2-2.9.6-cp311-cp311-win_amd64.whl (1.2 MB)
-
On 2023-04-13 03:12, avi.e.gr...@gmail.com wrote:
As originally written, the question posed has way too many possible answers
but the subject line may give a hint. Forget printing.
The Python statement
1 + "a"
SHOULD fail. The first is an integer and the second is string. These two
are native
On 2023-04-13 03:21, Cameron Simpson wrote:
On 12Apr2023 22:12, avi.e.gr...@gmail.com wrote:
I suspect the OP is thinking of languages like PERL or JAVA which guess
for
you and make such conversions when it seems to make sense.
JavaScript guesses. What a nightmare. Java acts like Python and
On 2023-04-13 19:41, Martin Schöön wrote:
Anyone had success running this example?
https://tinyurl.com/yhhyc9r
When I try I get this error:
"TypeError: __init__() got an unexpected keyword argument 'transform'"
This is for the line
"m = MarkerStyle(SUCESS_SYMBOLS[mood], transform=t)"
Yes,
On 2023-04-16 21:54, Khoinguyen Nguyen wrote:
To whom it may concern,
I have tried to reinstall, repair, and run in command prompt, but it seems
as though pip won't install. I am using Windows 10 and Python 3.11.3. Are
there any other suggestions for troubleshooting?
Thank you.
Have you tried u
On 2023-04-28 16:55, Chris Green wrote:
I'm sure I'm missing something obvious here but I can't see an elegant
way to do this. I want to create a directory, but if it exists it's
not an error and the code should just continue.
So, I have:-
for dirname in listofdirs:
try:
On 2023-04-30 16:40, Roy Hann wrote:
Is there anyone using loguru (loguru 0.5.3 in my case) successfully in a
library?
In my __init__.py in mylib I do
logger.disable('mylib')
which definitely works. I don't get any more logging.
I "pip install ." the library, then in mytest.py I do
im
On 2023-05-12 09:55, Rob Cliffe via Python-list wrote:
I am trying to learn tkinter.
Several examples on the internet refer to a messagebox class
(tkinter.messagebox).
But:
Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32
bit (Intel)] on win32
Type "help", "copyright", "c
On 2023-05-24 01:14, Rich Osborne wrote:
I have install Python 3.11.3 but my import requests does not work. I found
documentation that refers to C:\python35 but I am on 3.11.3. Where do I find
requests?
It's not part of the standard library. You can import it using pip. If
you're on Windows,
On 2023-05-25 16:53, Eryk Sun wrote:
On 5/25/23, BlindAnagram wrote:
vcx_path = 'C:\\build.vs22\\lib\\lib.vcxproj'
src_path = 'C:\\lib\\src\\'
rel_path = '..\\..\\..\\lib\\src'
[snip]
The first of these three results produces an incorrect relative path
because relpath does not strip off any
On 2023-05-25 22:30, Kevin M. Wilson via Python-list wrote:
Ok, I'm not finding any info. on the int() for converting a str to an int (that specifies
a base parameter)?! The picture is of the code I've written... And the base 10 paradigm
involved?? years = int('y') # store for calculationValueE
On 2023-05-26 09:29, Chris Angelico wrote:
On Fri, 26 May 2023 at 17:56, Roel Schroeven wrote:
Kevin M. Wilson's post "Invalid literal for int() with base 10?" got me
thinking about the use of the word "literal" in that message. Is it
correct to use "literal" in that context? It's correct in s
On 2023-05-27 01:30, giuseppacef...@gmail.com wrote:
I have reinstalled python which reinstalls pip. I have added the
path:'C:\sers\Giuseppa\AppData\Local\Packages\PythonSoftwareFoundation.Pytho
n.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts and still
get the error below. Could
On 2023-05-31 08:34, Mark Bass wrote:
-- Forwarded message -
From: Mark Bass
Date: Wed, 31 May 2023 at 08:09
Subject: Problems Installing and getting started.
To:
Good morning,
I installed python several hours ago (from python.org), I then installed
the IDE PyCharm. I'm using
On 2021-01-11 20:37, DonK wrote:
[snip]
So, what do you folks use Python for?
Since we're sharing:
- Personal information manager in the form of a tree of pages. Each page
can have code associated with it which defines functions to call when
shortcut keys are pressed, giving page-specifi
On 2021-01-15 20:51, Rich Shepard wrote:
I want to replace the menu on my application with the more appropriate
notebook. After looking at examples in my reference books and on the Web I
still cannot get it working properly.
Here's a small example (nbtest.py):
---8< ---
#!/us
On 2021-01-16 00:16, Rich Shepard wrote:
On Fri, 15 Jan 2021, Rich Shepard wrote:
Progress: I didn't put the notebook on the main window using grid. Now I
need to find how to specify the position so it's at the top of the window.
I'll read the options on grid.
The notebook tabs are placed on
On 2021-01-17 13:57, Karsten Hilbert wrote:
Am Sun, Jan 17, 2021 at 02:20:24AM -0800 schrieb omid mohammadi:
When I open the sentinel-2 image in Python, I get the following error:
MemoryError: Unable to allocate 115. MiB for an array with shape (5490, 5490)
and data type float32
How can I fi
On 2021-01-17 19:12, omid mohammadi wrote:
On Sunday, January 17, 2021 at 9:31:58 PM UTC+3:30, MRAB wrote:
On 2021-01-17 13:57, Karsten Hilbert wrote:
> Am Sun, Jan 17, 2021 at 02:20:24AM -0800 schrieb omid mohammadi:
>
>> When I open the sentinel-2 image in Python, I get the fol
On 2021-01-19 03:26, Mladen Gogala via Python-list wrote:
[snip]
Since you're most probably using Winduhs, use regedit and modify your PATH
variable. Your python will be in c:\Program Files if you installed 64 bit
version, which you should have done. Otherwise, it will be in C:\Program
Files(x86
On 2021-02-08 21:33, Stefan Ritter wrote:
Hi,
It would be highly appreciated if you could offer me some advice to
solve a problem I'm currently facing:
I have a Windows 10 ADM64 desktop and a Windows 10 AMD64 Laptop.
I wrote some code to insert text in a .txt-file. It works perfectly on
my la
On 2021-02-09 22:34, Terry Reedy wrote:
On 2/9/2021 3:39 PM, dn via Python-list wrote:
On 09/02/2021 15.13, Juan Jose Reyna Figuera wrote:
[ Translation:
matplotlib (and seaborn) not playing-nicely with Python 3.9 64-bit
edition on MS-Win 10. Solved by down-grading to Python 3.8 32-bit.
]
Y
On 2021-02-14 20:50, Chris Green wrote:
It isn't clear from the documentation. Does email.message.get() care
about the case of the header it's getting?
I checking mailing list mails and the "List-Id:" header is a bit
'mixed', i.e. it can be List-Id:, or List-ID: or list-id:, will
email.message.g
On 2021-02-14 21:14, Chris Green wrote:
What's the easiest way to change the first occurrence of a specified
character in a string?
E.g. I want to change linux-raid.vger.kernel.org to
linux-r...@vger.kernel.org, it's a fairly general requirement of
needing to change '.' to '@'.
Alternatively is
On 2021-02-17 14:09, Thomas Jollans wrote:
On 16/02/2021 22:16, Ethan Furman wrote:
Kevin, please reply to the list (preferably Reply-to-list, or
Reply-all), that way others can chime in with help.
On 2/16/21 12:55 PM, Kevin M. Wilson wrote:
Windows 7 OS, and typically run in conjunction with
On 2021-02-20 14:40, C W wrote:
Hello everyone,
I'm curious if there is a way take number and back each digit by 3 ?
2342 becomes 9019
8475 becomes 5142
5873 becomes 2540
The tricky part is that 2 becomes 9, not -1.
Here's my toy example and what I attempted,
test_series = pd.Series(list(['2
On 2021-02-24 11:35, John O'Hagan wrote:
Hi list
I have a 3.9 tkinter interface that displays data from an arbitrary
number of threads, each of which runs for an arbitrary period of time.
A frame opens in the root window when each thread starts and closes
when it stops. Widgets in the frame and
On 2021-02-24 23:23, John O'Hagan wrote:
On Wed, 24 Feb 2021 13:07:24 +
MRAB wrote:
On 2021-02-24 11:35, John O'Hagan wrote:
[...]
>
> Here is some minimal, non-threaded code that reproduces the problem
> on my system (Xfce4 on Debian testing):
>
> from tkinte
On 2021-02-24 21:57, Bischoop wrote:
I'm learning Tkinter now and have upgraded few programs I've made in CLI
in the past.
What is bothering me now is what I should look at when I want new
content in a window when button is 'Next' is clicked. In some programs
we're clicking button next and new c
701 - 800 of 4652 matches
Mail list logo