Re: Mailing-Lists (pointer)

2023-01-09 Thread Chris Angelico
On Tue, 10 Jan 2023 at 09:37, dn wrote: > > On 10/01/2023 08.46, Stefan Ram wrote: > >If anyone is interested: In "comp.misc", there's a discussion > >about the use of mailing lists in software development. > >Subject: An objective criteria for deprecating community platforms > >(I

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread Thomas Passin
On 1/9/2023 3:00 PM, Eryk Sun wrote: On 1/9/23, MRAB wrote: On Windows it's best to use pip via the Python Launcher: py -m pip show playsound Python's app distribution on the Microsoft Store doesn't include the py launcher, and we don't (but should) have a standalone app or desktop version

Re: Mailing-Lists (pointer)

2023-01-09 Thread dn
On 10/01/2023 08.46, Stefan Ram wrote: If anyone is interested: In "comp.misc", there's a discussion about the use of mailing lists in software development. Subject: An objective criteria for deprecating community platforms (I did not create this subject!) (and I don't read comp.mis

Re: I'm installing playsound but it keeps saying No module named playsound

2023-01-09 Thread Thomas Passin
On 1/9/2023 12:29 PM, om om wrote: I'm installing playsound and its saying but it keeps saying No module named playsound and this error occurs on other packages when I install it saying Requirement already satisfied: playsound in c:\users\omrio\appdata\local\programs\python\python39\lib\site-pac

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread Thomas Passin
On 1/9/2023 2:10 PM, MRAB wrote: On Windows it's best to use pip via the Python Launcher: py -m pip show playsound Sure - I just didn't want to complicate the post any more, though I did mention it in passing. py is definitely the best way. I wonder how many people know that py can launch

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread Eryk Sun
On 1/9/23, MRAB wrote: > > On Windows it's best to use pip via the Python Launcher: > > py -m pip show playsound Python's app distribution on the Microsoft Store doesn't include the py launcher, and we don't (but should) have a standalone app or desktop version of the launcher. Unlike the desktop

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread MRAB
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

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread Thomas Passin
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 different version of python than the one th

Re: file.read Method Documentation (Python 2.7.10)

2023-01-09 Thread Chris Angelico
On Tue, 10 Jan 2023 at 01:36, Stephen Tucker wrote: > > Dear Python-list, > > Yes, I know that Python 2.x is no longer supported. > > I have found that the documentation for this method is misleading when the > file being read is UTF-8-encoded: > >Instead of reading *size* bytes, the method re

I'm installing playsound but it keeps saying No module named playsound

2023-01-09 Thread om om
I'm installing playsound and its saying but it keeps saying No module named playsound and this error occurs on other packages when I install it saying Requirement already satisfied: playsound in c:\users\omrio\appdata\local\programs\python\python39\lib\site-packages -- https://mail.python.org/mai

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread Mats Wichmann
On 1/9/23 08:30, Thomas Passin wrote: On 1/9/2023 9:40 AM, 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 Did the installation by pip succeed? if not, what was the error message? "It keeps sayin

Re: file.read Method Documentation (Python 2.7.10)

2023-01-09 Thread Barry Scott
On 09/01/2023 14:34, Stephen Tucker wrote: Dear Python-list, Yes, I know that Python 2.x is no longer supported. I have found that the documentation for this method is misleading when the file being read is UTF-8-encoded: Instead of reading *size* bytes, the method reads *size *UTF-8 byt

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread Thomas Passin
On 1/9/2023 9:40 AM, 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 Did the installation by pip succeed? if not, what was the error message? "It keeps saying ...". What keeps saying that (it's no

Re: No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread MRAB
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

No module named 'playsound'‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏‏

2023-01-09 Thread om om
I'm installing playsound pip install playsound but it keeps saying No module named playsound and this error occurs on other packages -- https://mail.python.org/mailman/listinfo/python-list

file.read Method Documentation (Python 2.7.10)

2023-01-09 Thread Stephen Tucker
Dear Python-list, Yes, I know that Python 2.x is no longer supported. I have found that the documentation for this method is misleading when the file being read is UTF-8-encoded: Instead of reading *size* bytes, the method reads *size *UTF-8 byte *sequences*. Has this error been corrected in

Re: subprocess equivalent for "os.execvp()"?

2023-01-09 Thread Eryk Sun
On 1/9/23, c.bu...@posteo.jp wrote: > > On Python for Windows what is the appropriate way how a process can call > itself again? > > Let me give you an example [1]: > There is a project "bitcli" having two entry points > > [project.scripts] > bitcli = "bitcli.__main__:main" > bitcli-root = "bitcli

Re: subprocess equivalent for "os.execvp()"?

2023-01-09 Thread c . buhtz
Dear Eryk, Am 08.01.2023 17:22 schrieb Eryk Sun: Avoid using any of the `os.exec*` functions on Windows. There's no support for replacing a Windows process image, so the `exec*()` functions simply spawn a child process and terminate the current one. Thanks for bringing this up. On Python for