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.
]
Yes, there have been problems with certain
On 2/9/2021 9:55 AM, Philipp Daher via Python-list wrote:
Hello,
I’ve just typed „pip install selenium“ into my command prompt on windows 10.
Although my computer told me that the requirement was already satisfied, import
selenium did not work. So I tried different methods to install it and ty
This is an English list. There are Spanish lists, such as
Esto es lista engleis. Hai listas espanolas.
https://mail.python.org/mailman/listinfo/python-es
On 2/8/2021 9:13 PM, Juan Jose Reyna Figuera wrote:
*Buenas tardes, le escribo breve y puntualmente para reportar este el
siguiente error al c
On 2/9/2021 10:17 AM, Antoon Pardon wrote:
Most of us know of the perils of mutable default values. So I came up
with the following proof of concept:
Which is intended to do what?
from inspect import signature as signature_of, Parameter
from itertools import zip_longest
from copy import copy
On 2/8/2021 4:33 PM, 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 2/5/2021 3:34 AM, Alan Gauld via Python-list wrote:
On 27/01/2021 18:32, flaskee via Python-list wrote:
While print() is groovy and all,
if anyone runs across a non-pdb python debugger (standalone or IDE-based)
please let me know.
There are many. But why must it be non-pdb? That seems rat
On 2/1/2021 7:54 PM, Skip Montanaro wrote:
However... Network applications being what they are, hiccups are going
to happen. In the time since I swapped in the imapclient package, I've
also had to catch exceptions raised by lower level modules/packages I
wasn't using directly, discovering them o
On 1/28/2021 5:53 AM, Robin Becker wrote:
I googled in vain for instances where parts of idlelib are re-used in a
simplistic way. I would like to use the editor functionality in a
tkinter window and also probably run code in a subprocess.
Are there any examples around that do these sorts of th
On 1/26/2021 4:01 AM, Maziar Ghasemi wrote:
Hi
help me to repair this erorr:
Warning: translation file 'git_en_US' could not be loaded.
Using default.
and download python39.dll
Please do not repost, especially the same day.
On 1/26/21, Maziar Ghasemi wrote:
Hi
help me to repair this erorr:
On 1/23/2021 2:54 AM, Unknown wrote:
Le 20/12/2020 à 21:00, danilob a écrit :
b = ((x[0] for x in a))
There is a useless pair of parenthesis
b = (x[0] for x in a)
b is a GENERATOR expression
first list(b) calls next method on b repetedly until b is empty.
So it provides the "content" of
On 1/16/2021 9:17 PM, 2qdxy4rzwzuui...@potatochowder.com wrote:
A bare minimum skeleton might look something like this:
with open(filename) as f:
for line in f.readlines():
handle_one_line(f)
f.readlines() reads the entire file into a list of lines (strings). If
y
On 1/16/2021 3:55 PM, Logan Cranford wrote:
I downloaded Python but when I try to run Idle it says it is not found and
From where? try how? what is 'it'?
Read the section of
https://docs.python.org/3/using/index.html
appropriate for your system, likely Windows.
I should try to redownload it.
On 1/16/2021 12:23 AM, Z3PS1 wrote:
NEED HELP WITH MY IDLE
Sent from [1]Mail for Windows 10
References
Visible links
1. https://go.microsoft.com/fwlink/?LinkId=550986
I answer real IDLE questions, but this looks like spam to drive traffic
to the hidden link, so I am ignoring i
On 1/15/2021 3:51 PM, 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.
IDLE's settings dialog uses a ttk.Notebook. The file is
Lib/idlelib
On 1/11/2021 6:46 AM, pascal z via Python-list wrote:
tab to space on linux is not something easy to do,
IDLE has a tab to spaces command on the format menu.
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list
On 1/7/2021 4:20 AM, Terry Reedy wrote:
On 1/7/2021 2:42 AM, Christian Gollwitzer wrote:
Am 07.01.21 um 08:29 schrieb Paulo da Silva:
Does anybody know why cmd method isn't called when I change the button
state (clicking on it) in this example?
I know that this seems a weird class use
On 1/7/2021 2:42 AM, Christian Gollwitzer wrote:
Am 07.01.21 um 08:29 schrieb Paulo da Silva:
Does anybody know why cmd method isn't called when I change the button
state (clicking on it) in this example?
I know that this seems a weird class use. But why doesn't it work?
Thanks.
class C:
On 1/6/2021 4:17 PM, Terry Reedy wrote:
On 1/6/2021 4:03 PM, Rich Shepard wrote:
On Thu, 7 Jan 2021, Chris Angelico wrote:
Are you sure that this works? It's syntactically valid, but I don't
think it means what you think it does.
ChrisA,
I'm always open to learning. T
On 1/6/2021 4:03 PM, Rich Shepard wrote:
On Thu, 7 Jan 2021, Chris Angelico wrote:
Are you sure that this works? It's syntactically valid, but I don't
think it means what you think it does.
ChrisA,
I'm always open to learning. There's no error generated ... yet the
application doesn' open so
On 1/6/2021 1:32 PM, Rich Shepard wrote:
My application's menu has lines like this:
file_menu.add_command(
label = 'New',
command = self.callbacks['file->new', underline 0],
accelerator = 'Ctrl+N'
)
'underline' has nothing to do with look
On 1/1/2021 3:48 PM, garabik-news-2005...@kassiopeia.juls.savba.sk wrote:
Terry Reedy wrote:
On 12/31/2020 9:36 AM, garabik-news-2005...@kassiopeia.juls.savba.sk wrote:
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode
On 12/31/2020 9:36 AM, garabik-news-2005...@kassiopeia.juls.savba.sk wrote:
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
...
Changes since previous versions:
* display ASCII table (eithe
On 12/29/2020 1:11 PM, Rich Shepard wrote:
Running Slackware-14.2/x86_64 and python-3.9.1. Installed are
six-1.14.0-x86_64-1_SBo and python3-six-1.13.0-x86_64-1_SBo (I don't
know if
the latter is required because six is supposed to be available for python2
and python3.)
Packages have to be in
On 12/28/2020 11:31 AM, Bischoop wrote:
I'd like to check if there's "@" in a string
Use the obvious "'@' in string".
> and wondering if any method is better/safer than others.
Any special purpose method built into the language is likely to be
fastest. Safest? What danger are you worried a
On 12/26/2020 12:13 PM, Rich Shepard wrote:
Running Slackware-14.2/x86_64 here. I'm trying to learn if any installed
applications are still dependent on Python2 (version 2.7.17 installed) as
its EOL is this coming Thursday and I want to clean out all Python2 modules
and replace them with their Py
On 12/25/2020 8:26 PM, stackf...@gmail.com wrote:
unable to launch python3.8 -m idlelib.idle. getting below error msg. I am new
to python. kindly help.
One should include OS with failure questions and perhaps how installed.
Appears to be macOS, installed with ???
python3.8 -m idlelib.idle
On 12/21/2020 4:06 AM, Chris Green wrote:
Avi Gross wrote:
The original question sounded like someone was asking what errors might be
thrown for a routine they wrote that used other components that might
directly throw exceptions or called yet others, ad nauseum.
OP here. The original questi
On 12/16/2020 12:15 PM, Erick Willum wrote:
Begin forwarded message:
From: Erick Willum
Date: 16 December 2020 at 15:53:40 GMT
To: python-list@python.org
Subject: bug in download
Hallo and good afternoon,
Having installed python (big thank you) and sublime text, i get the next
message wh
On 12/15/2020 11:25 AM, Bob Gailer wrote:
On Tue, Dec 15, 2020, 10:42 AM <2qdxy4rzwzuui...@potatochowder.com> wrote:
On 2020-12-15 at 16:04:55 +0100,
Jan Erik Moström wrote:
I want to do some text substitutions but a bit more advanced than what
string.Template class can do. I addition to pla
On 12/15/2020 1:42 PM, Skip Montanaro wrote:
Dang... I'm having very incomplete thoughts. Apologies for the multiple
replies when one would have sufficed.
https://docs.python.org/3/whatsnew/3.9.html
In particular, for latest release (now 3.9) you would want tkinter in
https://docs.python.org/3
On 12/11/2020 8:25 PM, Bischoop wrote:
I've function asking question and comparing it, if is not matching 'yes'
it does call itself to ask question again. The problem is that when
function is called second time it returns old value or with additional
else statement it returns none.
Code: https:
On 12/9/2020 11:08 AM, avinash gaur wrote:
Dear Sir/Mam,
I am facing a problem with Python Idle. I am unable to open python idle
even after clicking on it so many times. I am using Python 3.7 on Windows.
What are you clicking on?
Did IDLE work before? (If you just installed 3.7, why?)
Can you
On 12/7/2020 8:33 PM, Pablo Galindo Salgado wrote:
It's starting to get very cold (at least on the Northern hemisphere) so we
have been carefully packaging a total of three new Python releases to keep
you warm these days!
Python 3.9.1 is the first maintenance release of Python 3.9, and also the
On 12/6/2020 5:59 AM, Terry Reedy wrote:
On 12/6/2020 3:11 AM, Sibylle Koczian wrote:
Am 05.12.2020 um 19:56 schrieb Paulo da Silva:
Why this example does not work?
--
from tkinter import *
root=Tk()
root.geometry("400x200")
S=Scrollbar(root)
T=Text(root)
...
On 12/6/2020 3:11 AM, Sibylle Koczian wrote:
Am 05.12.2020 um 19:56 schrieb Paulo da Silva:
Why this example does not work?
--
from tkinter import *
root=Tk()
root.geometry("400x200")
S=Scrollbar(root)
T=Text(root)
...
mainloop()
Shouldn't that be
root.mainloop()
?
Yes.
On 11/23/2020 9:10 AM, Mayukh Chakraborty via Python-list wrote:
Hi,
I had uninstalled and installed Python in Windows 10 but I am getting the error
below. Can you please help ?
C:\Users\mchak>python
Fatal Python error: init_sys_streams: can't initialize sys standard streams
Python runtime stat
On 11/14/2020 4:09 AM, Manfred Lotz wrote:
On 11 Nov 2020 19:21:57 GMT
r...@zedat.fu-berlin.de (Stefan Ram) wrote:
In my Python course I gave the assignment to define a
counter class "Main" so that
counter0 = Main()
counter1 = Main()
counter1.count(); counter1.count(); counter1.count()
c
On 11/10/2020 1:03 PM, Barry Scott wrote:
On 10 Nov 2020, at 14:45, David Kolovratník wrote:
Dear all,
I would like to learn about constant folding optimisation in Python. It seems
to be implemented in Python/ast_opt.c. In order to get impression I used
python3 and dis module:
$ python3 -V
On 11/8/2020 9:56 AM, Chris Angelico wrote:
On Mon, Nov 9, 2020 at 1:11 AM Terry Reedy wrote:
A module containing an object with the same name as the module is a real
pain, a constant mental papercut. I consider datetime.datetime to be a
design mistake*. You are the 2nd person in about a
On 11/6/2020 5:05 PM, Steve wrote:
"Right, because the name "datetime" points to the class datetime in the
module datetime.
A module containing an object with the same name as the module is a real
pain, a constant mental papercut. I consider datetime.datetime to be a
design mistake*. You ar
On 11/6/2020 11:17 AM, Hernán De Angelis wrote:
I am confronting some XML parsing challenges and would like to ask some
questions to more knowledgeable Python users. Apparently there exists a
group for such questions but that list (xml-sig) has apparently not
received (or archived) posts since
On 11/4/2020 4:38 PM, Igor Korot wrote:
Hi,
On Wed, Nov 4, 2020 at 2:47 PM David Ruíz Domínguez
wrote:
IDEL from Windows It does not work, started the program and won’t open it.
I already uninstalled and reinstalled it and it still does not open
When you installed, did you ask for t
On 11/4/2020 7:47 AM, Menno Holscher wrote:
Op 03-11-2020 om 04:04 schreef Terry Reedy:
Perhaps half of the assigned chars in the first plane are printed
instead of being replaced with a narrow box. This includes emoticons
as foreground color outlines on background color. Maybe all of the
tcl/tk supports unicode chars in the BMP (Basic Multilingual Plane,
utf-8 encoded with 1-3 bytes). The presence of chars in other plains
('astral', utf-8 encoded with 4 bytes, I believe) in a tkinter Text
widget messages up *editing*, but they can sometimes be displayed with
appropriate glyphs
On 10/31/2020 8:36 PM, Bischoop wrote:
I'm working on a script i which user inputs letters and then a printed
words containing those letters. The scripts works however I can't solve
one problem , it prints also words in which these letters occur more
than once.
---
Fore example:
L
On 10/30/2020 12:05 PM, Grant Edwards wrote:
On 2020-10-30, flaskee via Python-list wrote:
What is the best approach to determining the user's available
screensize, when they open your python application?
IDLE, based on tkinter based on tcl/tk has a feature to vertically zoom
an editor wind
On 10/28/2020 8:49 AM, ktkelly_1 wrote:
Currently have a code that takes in a .txt file and submits commands to the serial. Then it reads the reply from the
serial port and writes it to a hardcoded .txt file. The problem is it doesn't save it live and so if I need to stop the
code for any reaso
On 10/23/2020 12:52 PM, John Pote wrote:
On 23/10/2020 05:47, Grant Edwards wrote:
I think that commercial desktop applications with a python
compatible GUI would likely use QT or a Python binding thereof.
Agreed. If you want to improve you "hirability" for GUI application
development, I wou
On 10/22/2020 2:58 PM, Lammie Jonson wrote:
I looked at tkinter which seems to have quite a few examples out there, but
when I searched indeed.com for tkinter and wxpython it appeared that there was
hardly any job listings mentioning those. Why is that ?
I think that commercial desktop appli
On 10/17/2020 5:00 PM, Dan Stromberg wrote:
Does this help?
https://stackoverflow.com/questions/29567051/python-error-idles-subprocess-didnt-make-connection-either-idle-cant-start
I believe I included every legitimate answer on stackoverflow, including
that post, in the doc section linked bel
On 10/13/2020 4:51 AM, Steve wrote:
Why does IDLE always open with the lowest three lines of the window end up
hidden below the bottom of the screen behind the task bar? Every time I use
it, I have to stop and grab the top of the window and drag it up to see the
line and row information. I expl
On 10/11/2020 8:17 AM, Meghna Karkera wrote:
May I request you to let me know the steps python follows in order to
compute covariance matrix using the inbuilt
syntax.
> np.cov(cov_mat)
1. When starting a new topic, start a new thread with a new topic.
2. Questions about the internals of a 3r
On 10/10/2020 11:58 AM, Peter Pearson wrote:
Python advocates might want to organize their thoughts on
this subject before their bosses spring the suggestion:
From
https://www.sciencemag.org/news/2020/10/we-re-part-problem-astronomers-confront-their-role-and-vulnerability-climate-change
:
On 10/10/2020 11:11 AM, Mats Wichmann wrote:
On 10/10/20 12:22 AM, Tom Hedge via Python-list wrote:
I am in a 8 grade coding class at the moment and my teacher asked me to download a script
... [on Windows according to file paths]... .
The problem is the pygame developers have not released a
OK, boring! Where is Python 4?
Not so fast! The next release after 3.9 will be 3.10. It will be an incremental
improvement over 3.9, just as 3.9 was over 3.8, and so on.
In fact, our newest Release Manager, Pablo Galindo Salgado, prepared the first
alpha release of what will become 3.10.0 a
On 10/1/2020 4:09 PM, Mirko via Python-list wrote:
Renaming "IDLE" to "Python IDE" (or similar) might also.
"IDLE" intentionally echoes 'Idle', as in Eric Idle of Monty Python. It
stands for "Integrated Development and Learning Environment". It is *a*
Python IDE aimed especially at beginners
On 10/1/2020 7:29 AM, Sai Shubham Ray wrote:
Sometimes when I try to run python program it says that python is not
installed and I have to repair it.
Because you are running the Python installer instead of Python itself
after having it installed.
Thank god there is a repair option in
python
On 9/29/2020 9:48 AM, Pierre Bonville wrote:
I have a small problem with the method .quit() of tkinter.
What problem? It works for me (3.9 on Win 10).
>>> import tkinter as tk
>>> r = tk.Tk()
>>> b = tk.Button(r, text= r.quit)
>>> b = tk.Button(r, text='quit', command=r.quit)
>>> b.pack()
>>>
On 9/26/2020 3:36 PM, Stephane Tougard via Python-list wrote:
On 2020-09-26, Terry Reedy wrote:
Noise. Only 'pass' when there is no other code.
Why ?
I use pass and continue each time to break a if or a for because emacs
understands it and do not break the indentation.
Is
On 9/26/2020 12:43 AM, Stephane Tougard via Python-list wrote:
[Example of Perl block scoping.]
===PYTHON===
#!/usr/local/bin/python
if 4 == 4:
if True: # Only usefel in Python if you might might to switch to False.
name = "Stephane"
print(name)
pass
Noise. Only 'pass' wh
On 9/23/2020 7:24 PM, pascal z via Python-list wrote:
Please advise if the following is ok (i don't think it is)
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
csv_contents = ""
output_file = '/home/user/Documents/csv/output3csv.csv'
Lpath = '/home/user/Documents/'
csv_contents = "F
On 9/22/2020 11:54 PM, yehudis...@gmail.com wrote:
I installed Python 3.8.5 on Windows 10
When I click on a python file it launches the program but it closes
immediately.
When you run a program that way, the console/terminal window closes when
the program finishes executing.
--
On 9/22/2020 3:16 PM, Yakov Shalunov wrote:
Python list comprehension is substantially faster than plan iteration, to the
point where
```
l0, l1 = [],[]
for x in l:
if cond(x):
l0.append(x)
else:
l1.append(x)
```
runs at about the same speed as
```
l0 = [x for x in l
On 9/22/2020 8:31 PM, Chris Angelico wrote:
On Wed, Sep 23, 2020 at 9:24 AM Dennis Lee Bieber wrote:
On Tue, 22 Sep 2020 20:14:01 +0400, Abdur-Rahmaan Janhangeer
declaimed the following:
I have this main script:
https://github.com/Abdur-rahmaanJ/shopyo/blob/dev/shopyo/__main__.py
On 9/20/2020 6:34 PM, Stavros Macrakis wrote:
I'm trying to improve my Python style.
Consider a simple function which returns the first element of an iterable
if it has exactly one element, and throws an exception otherwise. It should
work even if the iterable doesn't terminate. I've written thi
On 9/14/2020 10:30 AM, Dennis Lee Bieber wrote:
On Sun, 13 Sep 2020 21:18:10 -0400, Terry Reedy
declaimed the following:
User Tushar Sadhwani and I both have Win 10 with 3.8.5 installed. When
he runs
64-bit or 32-bit (or a mix of W10 64 and Python 32)?
He has run both in separate
User Tushar Sadhwani and I both have Win 10 with 3.8.5 installed. When
he runs
...> py -3.8 -m turtledemo.colormixer
and moves the sliders a reasonable amount, he repeatably gets
Fatal Python error: Cannot recover from stack overflow.
...
https://bugs.python.org/issue41758
I have no problem, re
On 9/7/2020 3:34 AM, Shivlal Sharma wrote:
nice = ntime(N)
error: return outside of the function
Please copy and paste exact text. Python actually said
SyntaxError: 'return' outside function
which means that a 'return' outside of a function is a syntax error.
--
Terry Jan Reedy
--
https:
On 9/1/2020 5:58 PM, Andras Tantos wrote:
On 9/1/2020 12:41 PM, MRAB wrote:
CPython is able to identify all of the local names of a function and,
Note >>>of a function<<<.
basically, for reasons of efficiency, it uses slots for the local
names instead of an actual dict. 'locals()' just re
On 8/29/2020 12:18 PM, Chris Green wrote:
Well it sounds a silly question but I can't find the documentation for
read(). It's not a built-in function and it's not documented with
(for example) the file type object sys.stdin.
sys.stdin is of no particular type, but must at least have a .read me
On 8/26/2020 11:10 AM, Chris Green wrote:
I have a simple[ish] local mbox mail delivery module as follows:-
...
It has run faultlessly for many years under Python 2. I've now
changed the calling program to Python 3 and while it handles most
E-Mail OK I have just got the following error:-
On 8/26/2020 11:27 AM, Alexa Oña wrote:
Don’t send me more emails
--
https://mail.python.org/mailman/listinfo/python-list
Unsubscribe yourself by going to the indicated url.
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list
On 8/26/2020 6:40 AM, dn via Python-list wrote:
def fp_range( start:float, stop:float, step:float=1.0 )->float:
"""Generate a range of floating-point numbers."""
if stop <= start:
raise OverflowError( "RangeError: start must be less than stop" )
x = start
while x < st
On 8/24/2020 4:41 PM, Calvin Spealman wrote:
"None" is the default return value of all functions in Python. But, the
interpreter is supposed to suppress it as a displayed result.
In batch mode, expressions are not echoed. In interactive move,
expression values other than None are echoed. Th
On 8/23/2020 3:31 AM, Rob Cliffe via Python-list wrote:
On WIndows 10, running Python programs in a DOS box,
Please don't use 'DOS box' for Windows Command Prompt or other Windows
consoles for running Windows programs from a command line. DOSBox is
program for running (old) DOS programs writ
On 8/23/2020 12:39 PM, Debasis Chatterjee wrote:
I started off by using "python-3.8.5.exe".
32-bit Windows installer? Windows version might be relevant.
I use "Run as Administrator" option to click this (provide my local-admin
username/pwd).
After this, I see python shell available. But
On 8/13/2020 9:44 AM, M.-A. Lemburg wrote:
We’re happy to announce the public availability of the live stream
recordings from EuroPython 2020. They were already available to all
conference attendees since the sprint days.
* EuroPython YouTube Channel *
On 8/11/2020 5:27 AM, Lim Clayton wrote:
I am a relatively new Python User. I recently downloaded Python on my
desktop and I am unable to save anything when I use IDLE. I can run codes
on the shell without any issue but running anything on the window which
requires saving causes nothing to happe
On 8/11/2020 4:26 AM, Steve wrote:
<< Simplest specification:
<< one list for all 3 search boxes;
<< start fresh each session
I do not understand what this means...
A proposed feature needs a specification with sufficient details to code
and review. Your proposal "a pull-down history list fo
On 8/9/2020 7:39 PM, Steve wrote:
Where would the conversation have to happen to get the forces-that-be to
install a pull-down/history menu for the Find option in IDLE? To have to
retype the search option over and over when I am toggling between two or
more searches gets tiresome. I would rathe
On 8/9/2020 12:44 PM, Marco Sulla wrote:
Do you think py devs will be greatly bored if I link this discussion
in the python-dev mailing list?
Don't. This is neither about language development (and proposals
initially go to python-ideas) nor about immediate cpython development
--
Terry Jan
On 8/7/2020 11:55 AM, Marco Sulla wrote:
@Chris: note that "real" recursion in Python is not possible,
This is backwards. Python only does real recursion when one writes
recursive calls.
since there's no support for tail recursion.
I am pretty sure that what you mean by 'support' is to
On 8/7/2020 11:46 AM, Chris Angelico wrote:
My point is that doing Fibonacci recursively is arguably more elegant
while being materially worse at performance.
This is a common misconception. Linear iteration and tail recursion are
equivalent. The issue is calculating values once versus mult
On 8/6/2020 2:39 PM, Akkana Peck wrote:
Christian Seberino writes:
Python is my favorite language and the easiest to use in my opinion.
Lisp has a far simpler grammar and syntax. A beginner I think could
learn Lisp much faster than Python.
Therefore, it seems like Lisp *should* be easier to
On 8/6/2020 11:13 AM, Christian Seberino wrote:
Python is my favorite language and the easiest to use in my opinion.
Lisp has a far simpler grammar and syntax. A beginner I think could
learn Lisp much faster than Python.
Therefore, it seems like Lisp *should* be easier to work with and more
On 8/3/2020 5:57 PM, Steve wrote:
Python/IDLE How do I get rid of the "suggestion" box tool tips
AFAIK, you are the first person to request this, though perhaps not the
first to think it. Escape closes the box.
that always blocks the work I need to see when writing code?
AFAIK, the popu
On 8/2/2020 2:36 AM, Sarvesh Poddar via Python-list wrote:
[I downloaded]
https://mcsp.wartburg.edu/zelle/python/graphics.py)
I have unmangled the traceback and added explanations.
Traceback (most recent call last):
File "", line 1, in
import graphics
You typed this in IDLE Shell in r
On 7/23/2020 5:14 AM, Peter Slížik wrote:
Works in what way? You can't use it in a 'for' loop if it doesn't
define __iter__.
class Iterable:
def __iter__(self):
return Iterator(...)
class Iterator:
def __next__(self):
return
# No __iter__ here.
# I've j
On 7/21/2020 5:32 AM, Peter Slížik wrote:
Hi list, two related questions:
1. Why do functions used to iterate over collections or dict members return
specialized objects like
type(dict.keys()) -> class 'dict_keys'
type(dict.values()) -> class 'dict_values'
type(dict.items()) -> class 'dict_item
On 7/21/2020 11:08 AM, MRAB wrote:
On 2020-07-21 14:38, ksikor14--- via Python-list wrote:
I can't seem to figure out what I am doing wrong. I have tried
everything. This is what it is supposed to do:
[snip]
I get this error:
Traceback (most recent call last):
File "main.py", line 1, in
On 7/2/2020 6:46 PM, Random832 wrote:
how much of that discussion you've actually read), but the point is
that the *whole idea* of "standard English" is tied to white supremacy,
not any particular standard whether via its authors or otherwise.
France has the French Academy to protect the puri
On 6/23/2020 4:44 PM, MRAB wrote:
On 2020-06-23 20:18, Tony Kaloki wrote:
When I try to do a long underscore __ for classes in Pycharm,
it only gives me two separate single underscores _ _.
The "__" is 2 underscores; it's just that they usually appear joined
together in many fonts.
On 6/17/2020 12:34 PM, Tony Flury via Python-list wrote:
In a recent application that I wrote (where output to the console was
important), I tested it using the 'unittest' framework, and by patching
sys.stderr to be a StringIO - that way my test case could inspect what
was being output.
Tony
On 6/18/2020 6:20 AM, Sourav Kundu wrote:
when I am using the editor to write a long program and trying to run it the
python command line showing it syntax error
That happens to all of us, even for short programs.
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list
On 6/16/2020 7:45 PM, DL Neil via Python-list wrote:
On 13/06/20 4:47 AM, Terry Reedy wrote:
There was a recent thread on python-ideas discussing this. It started
with arrow characters. There have been others.
Am pleased to hear that it's neither 'new' nor 'way out ther
On 6/14/2020 6:36 AM, Bischoop wrote:
On 2020-06-14, Chris Angelico wrote:
On Sun, Jun 14, 2020 at 8:16 PM Bischoop wrote:
So far I learnt "with" closes the file opened therefore "Generally" no
need to close() file. I'm worry about this "Generally", then close() or
not?
Where did you lear
On 6/13/2020 2:38 PM, Dennis Lee Bieber wrote:
On Sat, 13 Jun 2020 17:10:46 +0100, MRAB
declaimed the following:
I have Windows 10 Home and the stock Python from python.org. Typing just
"python" at the Powershell prompt starts Python without a problem.
99 44/100% sure what the OP cal
On 6/12/2020 2:03 AM, DL Neil via Python-list wrote:
Unicode has given us access to a wealth of mathematical and other
symbols. Hardware and soft-/firm-ware flexibility enable us to move
beyond and develop new 'standards'. Do we have opportunities to make
computer programming more math-familiar
On 6/11/2020 6:03 AM, John Weller wrote:
I have been able to find answers to most problems by Googling but couldn't work
out a suitable query for this one.
That is why I and others have made the Symbols index as complete as
possible. If anything thinks something is missing, say so here.
--
On 6/10/2020 11:30 PM, Grant Edwards wrote:
On 2020-06-11, Michael Torrie wrote:
Since this comes up on a weekly basis, perhaps the installer should open
that web page to section 3.8.1 after a successful installation. Maybe
users would read that short section and not try to run the installer
101 - 200 of 7511 matches
Mail list logo