ave changed in Python for
this to stop working compared to python 3.7?
None at all, alas. My experience with the Python C API is very limited.
--
https://mail.python.org/mailman/listinfo/python-list
nice to see this tiny module of yours.
An URL or attach as inline text please.
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 11 Apr 2024 05:00:32 +0200 Gisle Vanem via Python-list wrote:
>Pierre Fortin wrote:
>
>> Over the years, I've tried different mechanisms for applying colors until
>> I got my hands on f-stings; then I created a tiny module with all the
>> colors (cR, cG, et
On 4/13/24 07:00, jak via Python-list wrote:
Stefan Ram ha scritto:
jak wrote or quoted:
Would you show me the path, please?
I was not able to read xls here, so I used csv instead; Warning:
the script will overwrite file "file_20240412201813_tmp_DML.csv"!
import pandas a
On Sat, Apr 13, 2024 at 1:10 PM Mats Wichmann via Python-list <
python-list@python.org> wrote:
> On 4/13/24 07:00, jak via Python-list wrote:
>
> doesn't Pandas have a "where" method that can do this kind of thing? Or
> doesn't it match what you are loo
ild1'; 'top' is not a
package
whereas with 'from top import child1' the error changes to
ImportError: cannot import name 'child1' from 'top' (unknown location)
How can I make this work?
Best wishes,
Fabiano
--
https://mail.python.org/mailman/listinfo/python-list
tly in both time and costs :::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
https://www.egenix.com/company/contact/
https://www.malemburg.com/
--
https://mail.python.org/mailman/listinfo/python-list
to python on that machine?
Since pip is able to create ipython.exe with path to my python
embedded for example, i assume i already have all i need in my python
installation to regenerate them?
--
https://mail.python.org/mailman/listinfo/python-list
> On Apr 29, 2024, at 12:23 PM, jak via Python-list
> wrote:
>
> Hi everyone,
> one thing that I do not understand is happening to me: I have some text
> files with different characteristics, among these there are that they
> have an UTF_32_le coding, utf_32be, utf_16_le,
, repair and uninstall. I am unable to identify which component has still
remained as a part of the installer.
Could you please help me resolve these issues.
Thanks,
Tripura
--
https://mail.python.org/mailman/listinfo/python-list
ation. You seem to use it in all your
postings, too, which hurts my brain, but I guess that's my problem :-)
[snip (40 lines)]
--
This signature is currently under constuction.
--
https://mail.python.org/mailman/listinfo/python-list
"".join \
(
repl.get(s, s)
for repl in (dict(replacements),)
for s in
re.split("\\b(" + "|".join(re.escape(s[0]) for s in
replacements) + ")\\b", text)
)
How about just:
repl = {
"a" : "b",
"c" : "d",
"e" : "f",
"g" : "h",
}
"".join(repl.get(s, s) for s in re.split(r"\b", text))
- Alan
--
https://mail.python.org/mailman/listinfo/python-list
--->8---
TypeError: '<' not supported between instances of 'tuple' and 'int'
in (0,0) < 4.
--8<>8---
We would know which were the values that caused the problem, which would
be very helpful.
--
https://mail.python.org/mailman/listinfo/python-list
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---
ly in special (speak: rather simple) cases the
knowledge of the values will help much.
Usually, a more thorough analysis is required to find out the bug
location and how to fix the bug.
--
https://mail.python.org/mailman/listinfo/python-list
On 2024-05-03 at 10:56:39 -0300,
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 inst
On 5/3/24 05:55, Tripura Seersha via Python-list wrote:
Hi Team,
I am working on an automation related to uninstalling and installing python
versions on different windows servers.
I have observed that uninstallation is working only with the account/login
using which the python version is
Thomas Passin writes:
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:
local variables etc.) It's tedious and prone to
errors. So, if you really want to do this automatically for every
error that's going to be quite a bit of work.
On Fri, May 3, 2024 at 6:58 PM Johanne Fairchild via Python-list
wrote:
>
> How to discover what values produced an excepti
On Tue, 7 May 2024 at 03:38, Alan Bawden via Python-list
wrote:
> A good error message shouldn't withhold any information that can
> _easily_ be included. Debugging is more art than science, so there is
> no real way to predict what information might prove useful in solving
&
On Tue, 7 May 2024 at 03:42, jak via Python-list wrote:
>
> Loris Bennett ha scritto:
> > r...@zedat.fu-berlin.de (Stefan Ram) writes:
> >
> >>Me (indented by 2) and the chatbot (flush left). Lines lengths > 72!
> >
> > Is there a name for this k
remained as a part of the installer.
Please help me with this issue.
Thanks,
Tripura
From: Barry
Sent: 03 May 2024 22:34
To: Tripura Seersha
Cc: python-list@python.org
Subject: Re: Issues with uninstalling python versions on windows server
> On 3 May 2024, at
e-level name from
within a function, e.g.
spam = 17
def f():
global spam
spam = 42
f()
# spam is now 42
A script is a module, so everything that applies to modules also
applies to scripts.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
release team,
Thomas Wouters @thomas <https://discuss.python.org/u/thomas>
Łukasz Langa @ambv <https://discuss.python.org/u/ambv>
Ned Deily @nad <https://discuss.python.org/u/nad>
Steve Dower @steve.dower <https://discuss.python.org/u/steve.dower>
--
https://mail.python.org/mailman/listinfo/python-list
Hi Barry,
Automation is using the system account using which the installation is failing
with exit code 3. This account has the administrative privileges.
Please help me with this issue.
Thanks,
Seersha
From: Python-list
on behalf of Tripura Seersha via
On 5/10/24 03:39, Tripura Seersha via Python-list wrote:
Hi Barry,
Automation is using the system account using which the installation is failing
with exit code 3. This account has the administrative privileges.
Please help me with this issue.
Thanks,
Seersha
You probably have a better
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 a
On 14/05/2024 18:44, Gordinator via Python-list wrote:
> I wish to write a terminal emulator in Python. I am a fairly competent
> Python user, and I wish to try a new project idea. What references can I
> use when writing my terminal emulator? I wish for it to be a true
> terminal
On 2024-05-14, Alan Gauld via Python-list wrote:
> On 14/05/2024 18:44, Gordinator via Python-list wrote:
>
>> I wish to write a terminal emulator in Python. I am a fairly
>> competent Python user, and I wish to try a new project idea. What
>> references can I use
On 2024-05-14, Alan Gauld via Python-list wrote:
> On 14/05/2024 18:44, Gordinator via Python-list wrote:
>
>> I wish to write a terminal emulator in Python. I am a fairly
>> competent Python user, and I wish to try a new project idea. What
>> references can I use
what stream of bytes to send to update a screen.
You might be able to use something similar, or better, to see what your
terminal emulator should emulate.
And, it may even be possible for you to emulate lots of terminals with the
same basic code.
-Original Message-
From: Python-list On
widget or something like
that.
Start with the `pty` module.
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, May 15, 2024 at 2:43 PM Popov, Dmitry Yu via Python-list
wrote:
>
> What would be the easiest way to learn which version of NumPy I have with my
> Anaconda distribution?
>>> import numpy
>>> numpy.__version__
'1.24.4'
--
https://mail.python.org/mailman/listinfo/python-list
rocess -- that is
going to be the numpy module you import. To make this even worse,
this behavior used to depend on whether you start Python with PDB
active or not (with PDB, the current working directory wasn't added to
the path, and module imports resolved differently). I'm not quite
I’m at PyCon in Pittsburgh and I’m haven’t an amazing time!
--
https://mail.python.org/mailman/listinfo/python-list
LOn Fri, May 17, 2024 at 8:57 PM Larry Martell
wrote:
> I’m at PyCon in Pittsburgh and I’m haven’t an amazing time!
s/haven’t/having/
--
https://mail.python.org/mailman/listinfo/python-list
>
> > I’m at PyCon in Pittsburgh and I’m haven’t an amazing time!
>
> s/haven’t/having/
>
No need to explain/correct. We understand you are excited. Many of us have
been in the same state before. ;-)
Enjoy,
Skip
>
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, 18 May 2024 at 21:44, Skip Montanaro via Python-list
wrote:
>
> >
> > > I’m at PyCon in Pittsburgh and I’m haven’t an amazing time!
> >
> > s/haven’t/having/
> >
>
> No need to explain/correct. We understand you are excited. Many of us have
>
On 2024-05-18, Peter J. Holzer via Python-list wrote:
> On 2024-05-16 19:46:07 +0100, Gordinator via Python-list wrote:
>
>> To be fair, the problem is the fact that they use Windows (but I
>> guess Linux users have to deal with venvs, so we're even.
>
> I don
On 5/18/24 10:48, Grant Edwards via Python-list wrote:
On 2024-05-18, Peter J. Holzer via Python-list wrote:
On 2024-05-16 19:46:07 +0100, Gordinator via Python-list wrote:
To be fair, the problem is the fact that they use Windows (but I
guess Linux users have to deal with venvs, so we
On Sun, 19 May 2024 at 04:10, Abdur-Rahmaan Janhangeer via Python-list
wrote:
>
> Yes, this year's pretty exciting, great keynotes, great lightnings, great
> location, great even sponsor talks (thought they would be pumping a lot of
> marketing, but the ones i went were pretty aw
On 2024-05-18, Mats Wichmann via Python-list wrote:
> Distros have do offer a good selection of packaged Python bits, yes, but
> only for the version of Python that's "native" to that distro release.
> If you need to test other versions of Python, you're mostly on
n/listinfo/python-list
tmare created by python, pip
and all the rest cannot be resolved otherwise.
It seems backward compatibility is a taboo...
bye,
--
piergiorgio
--
https://mail.python.org/mailman/listinfo/python-list
On 18/05/2024 19:12, Piergiorgio Sartor via Python-list wrote:
>> So venvs make managing all that pretty convenient. Dunno why everybody's
>> so down on venvs...
Not so much down on them, they are just one extra step that's
mostly not needed(in my use case)
> Only peo
https://mail.python.org/mailman/listinfo/python-list
On 2024-05-19, Alan Gauld via Python-list wrote:
>> 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 and it just works.
Same here. I occ
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".
On 2024-05-19 at 18:13:23 +,
Gilmeh Serda via Python-list wrote:
> Was there a reason they chose the name Pip?
Package Installer for Python
https://pip.pypa.io/en/stable/index.html
Every time I see PIP, I think Peripheral Interchange Program, but I'm
old.
--
https://mail.py
On 2024-05-19 at 18:13:23 +,
Gilmeh Serda via Python-list wrote:
> Was there a reason they chose the name Pip?
Package Installer for Python
https://pip.pypa.io/en/stable/index.html
--
https://mail.python.org/mailman/listinfo/python-list
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 users ins
o compile the most recent
branches on GitHub (main, 3.12, & 3.13 at the moment).
Skip
--
https://mail.python.org/mailman/listinfo/python-list
Skip Montanaro via Python-list schreef op 20/05/2024 om 0:08:
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 assumed pip install --user would work, but no. I trie
On 2024-05-19, Gilmeh Serda via Python-list wrote:
> On Sun, 19 May 2024 08:32:46 +0100, Alan Gauld wrote:
>
>> I've honestly never experienced this "nightmare".
>> I install stuff and it just works.
>
> Hear! Hear! Me too! And all that.
>
> I
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.
You
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
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 usin
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
r times you may want a
container or a vm image. Yet in a different situation you may want a
PyPA or conda package... and there's more.
On Sun, May 19, 2024 at 4:05 PM Piergiorgio Sartor via Python-list
wrote:
>
> On 19/05/2024 08.49, Peter J. Holzer wrote:
> [...]
> > T
Alan Gauld via Python-list writes:
> On 18/05/2024 19:12, Piergiorgio Sartor via Python-list wrote:
>
> >> So venvs make managing all that pretty convenient. Dunno why everybody's
> >> so down on venvs...
>
> Not so much down on them, they are just one extra
Op 20/05/2024 om 23:48 schreef Akkana Peck via Python-list:
Every so often I need to regenerate it (like when Debian updates the system
Python version) but that's easy to do: I don't try to duplicate what's
installed there, I just delete the old venv, create a new one and th
On 2024-05-26, 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('/h
On 2024-05-27 at 12:37:01 -0700,
HenHanna via Python-list wrote:
>
> On 5/27/2024 7:18 AM, Cor wrote:
> > Some entity, AKA "B. Pym" ,
> > wrote this mindboggling stuff:
> > (selectively-snipped-or-not-p)
> >
> > > On 12/16/2023, c...@clsn
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',
ct of type FinishReason is not JSON serializable
I get the object not the value:
(Pdb) Choice(finish_reason=FinishReason.stop)
Choice(finish_reason=)
Also tried it with .value, same result.
What am I missing here?
--
https://mail.python.org/mailman/listinfo/python-list
ialization. Extend json.JSONEncoder and
implement the encode() method for the encoder class you are passing. I
believe that the official docs have some information about this too.
On Tue, May 28, 2024 at 2:50 PM Larry Martell via Python-list
wrote:
>
> Just getting started with pydantic. I h
for i, chr in enumerate(name):
# do something with the character
Also, it's 2024 ... time to start using f-strings (because they are more
readable than str.format())
On 5/29/2024 12:33 AM, Kevin M. Wilson via Python-list wrote:
The following is my effort to understand how to process a string
Personally I wouldn't even go that far, just:
print('if block', name[index], 'and index', index)
But there are plenty of places where f-strings are very useful.
--
https://mail.python.org/mailman/listinfo/python-list
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 wouldn't even go that far, just:
>
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
On 2024-05-29 at 17:14:51 +1000,
Chris Angelico via Python-list wrote:
> I wouldn't replace str.format() everywhere, nor would I replace
> percent encoding everywhere - but in this case, I think Thomas is
> correct. Not because it's 2024 (f-strings were brought in back in
On Wed, 29 May 2024 at 23:06, Dan Sommers via Python-list
wrote:
> (For the history-impaired, getopt existed long before Python and will
> likely exist long after it, but getopt's "replacement" optparse lasted
> only from 2003 until 2011.)
Depends on your definition of &q
On 2024-05-29, Chris Angelico via Python-list wrote:
> print(f"if block {name[index]=} {index=}")
Holy cow! How did I not know about the f-string {=} thing?
--
Grant
--
https://mail.python.org/mailman/listinfo/python-list
On 5/29/24 08:02, Grant Edwards via Python-list wrote:
On 2024-05-29, Chris Angelico via Python-list wrote:
print(f"if block {name[index]=} {index=}")
Holy cow! How did I not know about the f-string {=} thing?
It's more recent than f-strings in general, so it's n
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 29 May 2024, at 05:38, Kevin M. Wilson via Python-list
> wrote:
>
> The format in this email is not of my making, should someone know, how to do
> this so that it's a readable script do tell!
> KMW
Your mail program may have a plain-text mode to compose mess
On 2024-05-29, Mats Wichmann via Python-list wrote:
> On 5/29/24 08:02, Grant Edwards via Python-list wrote:
>> On 2024-05-29, Chris Angelico via Python-list wrote:
>>
>>> print(f"if block {name[index]=} {index=}")
>>
>> Holy cow! How did I not kn
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 Tue, May 28, 2024 at 11:46 AM Left Right via Python-list
wrote:
>
> Most Python objects aren't serializable into JSON. Pydantic isn't
> special in this sense.
>
> What can you do about this? -- Well, if this is a one-of situation,
> then, maybe just do it by hand
and location systems
* radio interface to Caterpillar vehicle, including CRCC error detection
* automatically generated user interface"
--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @kazina...@mstdn.ca
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, May 29, 2024 at 12:27 PM Larry Martell wrote:
>
> On Tue, May 28, 2024 at 11:46 AM Left Right via Python-list
> wrote:
> >
> > Most Python objects aren't serializable into JSON. Pydantic isn't
> > special in this sense.
> >
> > What ca
On 5/29/24 13:27, Larry Martell via Python-list wrote:
On Tue, May 28, 2024 at 11:46 AM Left Right via Python-list
wrote:
Most Python objects aren't serializable into JSON. Pydantic isn't
special in this sense.
What can you do about this? -- Well, if this is a one-of situation,
t
On 2024-05-29 at 11:39:14 -0700,
HenHanna via Python-list wrote:
> On 5/27/2024 1:59 PM, 2qdxy4rzwzuui...@potatochowder.com wrote:
> > https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
[...]
> Are the Rules 1--9 by Greenspun good too?
I don't know; let me look it
On 2024-05-31, Pieter van Oostrum via Python-list
wrote:
> HenHanna writes:
>
>> 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 o
https://mail.python.org/mailman/listinfo/python-list
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,
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)
Especial
On 5/31/24 11:59, Dieter Maurer via Python-list wrote:
hmmm, I "sent" this but there was some problem and it remained unsent.
Just in case it hasn't All Been Said Already, here's the retry:
HenHanna wrote at 2024-5-30 13:03 -0700:
Given a text file of a novel (JoyceUly
On Sat, 1 Jun 2024 13:34:11 -0600
Mats Wichmann wrote:
> On 5/31/24 11:59, Dieter Maurer via Python-list wrote:
>
> hmmm, I "sent" this but there was some problem and it remained
> unsent. Just in case it hasn't All Been Said Already, here's the
> retry:
>
On 2024-06-03, Edward Teach via Python-list wrote:
> The Gutenburg Project publishes "plain text". That's another
> problem, because "plain text" means UTF-8and that means
> unicode...and that means running some sort of unicode-to-ascii
> conversion
CII (of course with enhanced letter,
digits, punctuation, etc.)
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, 03 Jun 2024 14:58:26 -0400 (EDT)
Grant Edwards wrote:
> On 2024-06-03, Edward Teach via Python-list
> wrote:
>
> > The Gutenburg Project publishes "plain text". That's another
> > problem, because "plain text" means UTF-8and that m
that output stays at the top?
Thanks in anticipation!
--
https://mail.python.org/mailman/listinfo/python-list
On 2024-06-04, Edward Teach via Python-list wrote:
> On Mon, 03 Jun 2024 14:58:26 -0400 (EDT)
> Grant Edwards wrote:
>
>> On 2024-06-03, Edward Teach via Python-list
>> wrote:
>>
>> > The Gutenburg Project publishes "plain text". That's ano
have no
idea. I can be very sure they are way more costly than the simpler ones you
can write that just know enough about what English words in ASCII look like
and perhaps get it wrong on some edge cases.
-----Original Message-
From: Python-list On
Behalf Of Edward Teach via Python-list
S
esult. So without the "x=" you get an extra line at the top of the
screen containing "0".)
I am sure that some jiggery-pokery could be used so you don't have to
type the "()". But that's more advanced ...
Best wishes
Rob Cliffe
On 04/06/2024 14:3
On Wed, 5 Jun 2024 at 02:49, Edward Teach via Python-list
wrote:
>
> On Mon, 03 Jun 2024 14:58:26 -0400 (EDT)
> Grant Edwards wrote:
>
> > On 2024-06-03, Edward Teach via Python-list
> > wrote:
> >
> > > The Gutenburg Project publishes "plain text&quo
s():
os.system("cls")
should be just fine.
--
https://mail.python.org/mailman/listinfo/python-list
On 2024-06-05, dn via Python-list wrote:
> If you/your teacher can't define a "word", the code, any code, will
> almost-certainly be wrong!
Back when I was a student...
When there was a homework/project assignemnt with a vague requirement
(and it wasn't practi
and your function returns None. So:
def cls():
os.system("cls")
should be just fine.
Yes, you're right.
Rob Cliffe
--
https://mail.python.org/mailman/listinfo/python-list
4501 - 4600 of 5792 matches
Mail list logo