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 in order to get something like "words".
not in Ulysses? :-) ), etc. What about
> accented letters?
>
> If you want what's at least a quick starting point to play with, you
> could use a very simple regex - a fair amount of thought has gone
> into what a "word character" is (\w), so it deals with excluding both
>
emarks (perhaps not in Ulysses? :-) ), etc. What about accented letters?
If you want what's at least a quick starting point to play with, you
could use a very simple regex - a fair amount of thought has gone into
what a "word character" is (\w), so it deals with excluding both
punc
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
On 2024-05-30 21:47:14 -0700, HenHanna via Python-list wrote:
> [('the', 36225), ('and', 17551), ('of', 16759), ('i', 16696), ('a', 15816),
> ('to', 15722), ('that', 11252), ('in', 10743), ('it', 10687)]
>
> ((the 36225) (and 17551) (of 16759) (i 16696) (a 15816) (to 15722) (that
> 11252) (in
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 used as both an apostrophe and a
closing quotation mark. And
or 3 times
re: hyphenated words (you can treat it anyway you like)
but ideally, i'd treat [editor-in-chief]
[go-ahead] [pen-knife]
[know-how] [far-fetched] ...
as one unit.
You will probably get
HenHanna wrote at 2024-5-30 13:03 -0700:
>
>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?
Your task can be split into several subtasks:
* parse the text into words
e?
>>
>> -- Also, a list of words occurring once, twice or 3 times
>>
>> re: hyphenated words(you can treat it anyway you like)
>>
>>but ideally, i'd treat [editor-in-chief]
>>[go-ahead]
of words occurring once, twice or 3 times
re: hyphenated words (you can treat it anyway you like)
but ideally, i'd treat [editor-in-chief]
[go-ahead] [pen-knife]
[know-how] [far-fetched] ...
as one unit
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 once?
>
> -- Also, a list of words occurring once, twice or
or 3 times
re: hyphenated words (you can treat it anyway you like)
but ideally, i'd treat [editor-in-chief]
[go-ahead] [pen-knife]
[know-how] [far-fetched] ...
as one unit.
Did you mention the pay-rate
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 up. Oh, there it
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,
then, maybe
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 can you do about this? -- Well, if this is a one-of
On 29/05/24 06:49, Gilmeh Serda via Python-list wrote:
Solved by using a different method.
Hedonist for hire... no job too easy!
This combination of sig-file and content seems sadly ironic.
How about CONTRIBUTING to the community by explaining 'the solution' to
people who may find a
On 2024-05-29, HenHanna wrote:
> On 5/27/2024 1:59 PM, 2qdxy4rzwzuui...@potatochowder.com wrote:
>> https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
>
>
> interesting!!!
>
> Are the Rules 1--9 by Greenspun good too?
I don't think they exist; it's a joke.
However, Greenspun's resume
t.nl wrote:
Any marginally usable programming language approaches an ill
defined barely usable re-implementation of half of common-lisp
The good news is, it's not Lisp that sucks, but Common Lisp.
--- Paul Graham
Just to set the record straight;
This is not My line.
I quoted it
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?
>
> If this is a recurring
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!
Purpose; to
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 know about the f-string {=} thing?
>
> It's more
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!
Purpose; to uppercase every other letter in a string.
Thanks all, KMW
> 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 messages in try using
that.
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!
Purpose; to uppercase every other letter in a string.
Thanks all, KMW
Simpler is good, and readability is good. For a simple
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 not that hard to miss.
--
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 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 "lasted". It's not getting
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
> 2015, so they're
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 wouldn't even go that far,
On 2024-05-29 05:33, Kevin M. Wilson via Python-list wrote:
The following is my effort to understand how to process a string, letter, by
letter:
def myfunc(name): index = 0 howmax = len(name) # while (index <=
howmax): while (index < howmax): if (index % 2 == 0):
On Tue, May 28, 2024 at 9:48 PM Gilmeh Serda via Python-list <
python-list@python.org> wrote:
>
> Solved by using a different method.
>
>
- - - And that was how?
TIA
--
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:
>
> print('if block', name[index], 'and index',
On 29May2024 01:14, Thomas Passin wrote:
Also, it's 2024 ... time to start using f-strings (because they are
more readable than str.format())
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
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
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?
If this is a recurring problem: json.dumps() takes a cls argument that
will be used to do the
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:
et.nl wrote:
> > >
> > > > Any marginally usable programming language approaches an ill
> > > > defined barely usable re-implementation of half of common-lisp
> > >
> > > The good news is, it's not Lisp that sucks, but Common Lisp.
>
With reference to another reply here, the "Weird stuff" came from
reading the question, finding it unclear, and only later realising that
whereas most people write Markdown-formatted documents for later
processing, or perhaps docstrings in Markdown-format for collection by
documentation
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...@clsnet.nl wrote:
Any marginally usable programming language approaches an ill
defined barely usable re-implementation of half
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('/home/user/apath', 'somefile')) as f:
>
dn wrote:
On 22/05/24 07:14, HenHanna via Python-list wrote:
How can i write this function Cprod (Cartesian Product) simply?
(writing this out: itertools.product([0, 1], repeat=N
)
The value can be a list or a Tuple.
cprod([0, 1], 1) => ((0) (1))
On 22/05/24 07:14, HenHanna via Python-list wrote:
How can i write this function Cprod (Cartesian Product) simply?
(writing this out: itertools.product([0, 1], repeat=N )
The value can be a list or a Tuple.
cprod([0, 1], 1) => ((0) (1))
gain after you re-create your venv.
--
"I love science, and it pains me to think that to so many are terrified
of the subject or feel that choosing science means you cannot also
choose compassion, or the arts, or be awed by nature. Science is not
meant to cure us of mystery, but to reinvent a
On 20/05/2024 10:58, Peter J. Holzer wrote:
On 2024-05-20 00:26:03 +0200, Roel Schroeven via Python-list wrote:
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'm on Manjaro
Of course, I'm not here to tell you how to use your computer, and it's
great that you're using Linux, but I'd suggest that you look into
installing Arch Linux proper.
Arch Linux isn't as difficult as people make it out to be (I'd argue
that anyone who's had to deal with the
There are several independent problems here:
1. Very short release cycle. This is independent of the Python venv
module but is indirectly influenced by Python's own release cycle.
Package maintainers don't have time for proper testing, they are
encouraged to release a bunch of new (and poorly
On 2024-05-20 00:26:03 +0200, Roel Schroeven via Python-list wrote:
> 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
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
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: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
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 can't even use pip to do "user" installs?
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'm on Manjaro, which is a tad finicky about other
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 tried it (on
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 running
XUbuntu 22.04 which I generally only use to compile the
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 installing using pip.
> You must use a
> 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 must use a venv to pip install packages from pypi now.
This is implemented in python and pip and
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
On 2024-05-19 19:13, 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'm on Manjaro, which is a tad finicky about other people
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.
--
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
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 occasonlly use pip to install something
On 19/05/2024 08.49, Peter J. Holzer wrote:
[...]
That's what package management on Linux is for. Sure, it means that you
won't have the newest version of anything and some packages not at all,
but you don't have to care about dependencies. Or updates.
Well, that doesn't work as well.
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 people which are *not* using
On 18/05/2024 20.04, Mats Wichmann wrote:
[...]
So venvs make managing all that pretty convenient. Dunno why everybody's
so down on venvs...
Only people which are *not* using python... :-)
In my experience, venvs is the only possible
way to use python properly.
The dependency nightmare
On 14/05/2024 19.44, Gordinator 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 emulator as well, not just a Tk text
Two interesting ones:
- Norwegian library: https://fosstodon.org/@osdotsystem/112459312723574625
- One about if Ai will take our jobs, using py to find out and she
concludes it will
On Sat, 18 May 2024, 14:15 Chris Angelico via Python-list, <
python-list@python.org> wrote:
> On Sun, 19 May 2024
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 your own.
For a few years I
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 awesome
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 awesome technically)
Organization side pretty smooth as well
On Fri, 17 May 2024, 20:58 Larry Martell
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're
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't think Linux users have to deal
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't think Linux users have to deal with venvs any more than Windows
users. Maybe even less because
On 2024-05-14 22:37:17 +0200, Mirko via Python-list wrote:
> Am 14.05.24 um 19:44 schrieb Gordinator via Python-list:
> > 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
On 2024-05-14 16:03:33 -0400, Grant Edwards via Python-list wrote:
> 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
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
> been in the same state before. ;-)
>
We're
>
> > 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
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
On 16/05/2024 01:12, Lawrence D'Oliveiro wrote:
On 15 May 2024 10:31:25 GMT, Stefan Ram wrote:
We need somethin like a portable curses module (plus colorama) and
it has got to work on both Windoze and Linux straight out of the box
in standard Python.
Something else for Windows Python users
Let me try to answer this properly, instead of "simply".
The "problematic" part of your question is "with my Anaconda
distribution". Anaconda distribution comes with the conda program that
manages installed packages. A single Anaconda distribution may have
multiple NumPy versions installed at the
We need somethin like a portable curses module (plus colorama)
Agreed, getting curses to work on Windows is SUCH a pain, and I don't
think I've ever done it. Naturally, as a Linux user, I don't find much
need to do it anyway.
Colorama would also be cool in the standard library as well. I
On 2024-05-15 19:42, 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 and print its '__version__' attribute.
--
https://mail.python.org/mailman/listinfo/python-list
Thank you.
From: Larry Martell
Sent: Wednesday, May 15, 2024 1:55 PM
To: Popov, Dmitry Yu
Cc: Popov, Dmitry Yu via Python-list
Subject: Re: Version of NymPy
On Wed, May 15, 2024 at 2: 43 PM Popov, Dmitry Yu via Python-list wrote: > > What would be the e
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
On 14May2024 18:44, Gordinator 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 emulator as well, not just a Tk text
The topic was to re-invent the wheel yet again and create a terminal
emulator.
I hesitate to say this but one approach is to consider the curses module as
described by our very own Alan Gauld in a book:
https://www.amazon.com/Programming-curses-Python-Alan-Gauld-ebook/dp/B091B85
B77
The topic
Am 14.05.24 um 19:44 schrieb Gordinator via Python-list:
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 emulator as well,
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 when writing my 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 when writing my terminal
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 emulator as
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/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
Python-list
Sent: 07 May 2024 12:06
To: Barry
Cc: python-list@python.org
Subject: Re: Issues with uninstalling python versions on windows server
Hi Barry,
Yes, the install was for specific user. As suggested by you, when I installed a
version for all users, I was able to uninstall from the account
Thank you!
From: Python-list on behalf of
Greg Ewing via Python-list
Sent: Wednesday, May 8, 2024 3:56 AM
To: python-list@python.org
Subject: Re: Use of statement 'global' in scripts.
On 8/05/24 1: 32 pm, Popov, Dmitry Yu wrote: > The statement 'glo
On 8/05/24 1:32 pm, Popov, Dmitry Yu wrote:
The statement 'global', indicating variables living in the global scope, is
very suitable to be used in modules. I'm wondering whether in scripts, running
at the top-level invocation of the interpreter, statement 'global' is used
exactly the same
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
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 kind of indentation, i.e. the stuff you are
> >
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
> the crime. I
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 kind of indentation, i.e. the stuff you are
writing not being flush left? It is sort of contrary to
what I think of as
Stefan Ram ha scritto:
r...@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
translation services are gonna interpret line breaks as
I just beefed up my posting program to replace "gonna".
Now I won't come across like some street thug, but rather
as a respectable member of human
From a practical perspective: not all values are printable (especially
if printing a value results in an error: then you'd lose the original
error, so, going crazy with printing of errors is usually not such a
hot idea).
But, if you want the values: you'd have to examine the stack, extract
the
1 - 100 of 386771 matches
Mail list logo