Re: No module name mutagen

2025-01-01 Thread Tim Johnson via Python-list
On 12/31/24 15:00, Tim Johnson wrote: . Snipped I resolved this by extrapolating known paths of other non-distro pipx installs, and am back in business now. I'm taking lots of notes. For some reason, even after running updatedb, I had no luck finding with locate. I was not

Re: No module name mutagen

2025-01-01 Thread Peter J. Holzer via Python-list
On 2024-12-31 15:00:10 -0900, Tim Johnson via Python-list wrote: > being retired for ten years, I get my butt kicked by python dependencies > every time I upgrade ubuntu. (I'm newly on 24.04) now. > > Now, after three weeks on using the following code correctly: > > from mutagen import mp3, id3,

Re: No module name mutagen

2024-12-31 Thread Michael Torrie via Python-list
On Tue, Dec 31, 2024, 17:04 Tim Johnson via Python-list < python-list@python.org> wrote: > I am as of today, getting an import error for mutagen. Mutagen package > is installed at /root/.local/share/pipx/shared/lib/python3.12/site-packages > Pip-installed packages that go to /root/.local are onl

Re: No module name mutagen

2024-12-31 Thread Thomas Passin via Python-list
On 12/31/2024 7:00 PM, Tim Johnson via Python-list wrote: Please let me grumble for a minute : I've been using python since before 1. 5, when I could email Guido van Rossum directly with questions and on  at least one occasion we swapped stories about our cats. I put six kids though college wr

No module name mutagen

2024-12-31 Thread Tim Johnson via Python-list
Please let me grumble for a minute : I've been using python since before 1. 5, when I could email Guido van Rossum directly with questions and on  at least one occasion we swapped stories about our cats. I put six kids though college writing python, and now after being retired for ten years,

Re: Script stops running with no error

2024-08-28 Thread Thomas Passin via Python-list
On 8/28/2024 8:07 PM, dn via Python-list wrote: On 29/08/24 10:32, Thomas Passin via Python-list wrote: On 8/28/2024 5:09 PM, Daniel via Python-list wrote: As you all have seen on my intro post, I am in a project using Python (which I'm learning as I go) using the wikimedia API to pull data fro

Re: Script stops running with no error

2024-08-28 Thread rbowman via Python-list
On Wed, 28 Aug 2024 22:09:56 +0100, Daniel wrote: > if definition: > print(f"\n{word_type.capitalize()}\n") > print("\n".join(definition)) > break I don't know if that was intended but the 'break' kicks you out of

Re: Script stops running with no error

2024-08-28 Thread dn via Python-list
On 29/08/24 10:32, Thomas Passin via Python-list wrote: On 8/28/2024 5:09 PM, Daniel via Python-list wrote: As you all have seen on my intro post, I am in a project using Python (which I'm learning as I go) using the wikimedia API to pull data from wiktionary.org. I want to parse the json and ou

Re: Script stops running with no error

2024-08-28 Thread Thomas Passin via Python-list
On 8/28/2024 5:09 PM, Daniel via Python-list wrote: As you all have seen on my intro post, I am in a project using Python (which I'm learning as I go) using the wikimedia API to pull data from wiktionary.org. I want to parse the json and output, for now, just the definition of the word. Wiktiona

Script stops running with no error

2024-08-28 Thread Daniel via Python-list
As you all have seen on my intro post, I am in a project using Python (which I'm learning as I go) using the wikimedia API to pull data from wiktionary.org. I want to parse the json and output, for now, just the definition of the word. Wiktionary is wikimedia's dictionary. My requirements for v1

Cannot install python properly - python310.dll not found - no pip

2024-06-03 Thread Jay Cadet | Studio JPC via Python-list
Hi. I'm attempting to install and use stable diffusion. However, while installing python 3.10.6, I'm getting the error that the python 310.dll is not found. I've made sure the PATH option is enabled, but it makes no difference. I've also removed and reinstalled python m

Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-09 Thread Wenyong Wei via Python-list
hi Sravan, Thanks for your response, checked and found there is only one python in my PC. From: Sravan Kumar Chitikesi Sent: Tuesday, 9 April 2024 3:42 AM To: Wenyong Wei Cc: python-list@python.org Subject: Re: ModuleNotFoundError: No module named 'Par

Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-09 Thread Mats Wichmann via Python-list
On 4/7/24 19:31, Wenyong Wei via Python-list wrote: Dear Sir/Madam, Recently I encounter a problem that I can't import paramiko in my computer. My PC running on window 10 64 bits. I have investigate this issue via internet, there are a lot of solutions for this issue, after trying most of the

Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Thomas Passin via Python-list
ommand line needs a space after the "-m": No, the option and its argument can be bundled. "-mpip" is equivalent to "-m pip". (The space might make it clearer for human readers.) Oh, surprise, thanks for the correction. My apologies to Dietmar. I'd stick with

Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Keith Thompson via Python-list
Then enter 'python.exe -mpip install paramiko'. >> This way you can be sure that you're not running a pip.exe that >> belongs to another Python interpreter. > > This is not quite right. The best name of the Python executable may or > may not be "python.exe".

Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Thomas Passin via Python-list
On 4/8/2024 2:01 PM, Dietmar Schwertberger via Python-list wrote: To be sure, you can always go the the directory of the Python interpreter and open a cmd window there. (By entering 'cmd' into the explorer address bar.) Then enter 'python.exe -mpip install paramiko'. This way you can be sure tha

Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Dietmar Schwertberger via Python-list
To be sure, you can always go the the directory of the Python interpreter and open a cmd window there. (By entering 'cmd' into the explorer address bar.) Then enter 'python.exe -mpip install paramiko'. This way you can be sure that you're not running a pip.exe that belongs to another Python inte

Re: ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Sravan Kumar Chitikesi via Python-list
pip may be pointed to another python version. try to remove other python versions and re install pip Regards, *Sravan Chitikesi* AWS Solutions Architect - Associate On Mon, Apr 8, 2024 at 10:58 PM Wenyong Wei via Python-list < python-list@python.org> wrote: > > Dear Sir/Madam, > > Recently I en

ModuleNotFoundError: No module named 'Paramiko'

2024-04-08 Thread Wenyong Wei via Python-list
Dear Sir/Madam, Recently I encounter a problem that I can't import paramiko in my computer. My PC running on window 10 64 bits. I have investigate this issue via internet, there are a lot of solutions for this issue, after trying most of the steps, I still can't run this module, the major ste

Re: No current way to just compile flet code into truly native packages for smart phones, etc.?

2023-11-14 Thread Jacob Kruger via Python-list
Yup. Also checked out beeware - which also offers cross-platform compilation of same code - but, one minor issue there first time tried it out was working with additional/external modules, and, packaging resources. Plus, while it includes it's own form of LBC GUI interface - toga - the one

Re: No current way to just compile flet code into truly native packages for smart phones, etc.?

2023-11-13 Thread Barry via Python-list
> On 13 Nov 2023, at 17:21, Jacob Kruger via Python-list > wrote: > > Had a look at the following bit of introduction to using python and flet to > build cross-platform flutter-based apps using same python code, and, while it > seems to work alright if tell it to run as under GUI here on wi

No current way to just compile flet code into truly native packages for smart phones, etc.?

2023-11-13 Thread Jacob Kruger via Python-list
Had a look at the following bit of introduction to using python and flet to build cross-platform flutter-based apps using same python code, and, while it seems to work alright if tell it to run as under GUI here on windows desktop, and, while can get it to fire up PWA version as well, that's no

Re: Odd types.get_original_bases() behavior for classes with generic bases but no type arguments

2023-07-24 Thread Chris Bouchard via Python-list
> >>> Example.__bases__ > (First, Second) Sorry, that should have been >>> Example.__bases__ (, ) That's what I get for writing an example from memory rather than copying it from a REPL session. It doesn't change the point I wanted to make, though. Thanks, Chris Bouchard -- https://mail.python

Odd types.get_original_bases() behavior for classes with generic bases but no type arguments

2023-07-24 Thread Chris Bouchard via Python-list
(Apologies if this has already been discussed. I tried to search and didn't find anything relevant.) I was playing around with 3.12.0b4 this evening and noticed an odd (to me, at least) behavior with types.get_original_bases(). I hesitate to call it a bug because I think I understand *why* it's be

Re: No module named _socket, on windows

2023-02-26 Thread 2QdxY4RzWzUUiLuE
t; Pylab. > > > When I type "import pylab" in a python shell it shows the error: > > > > > > ImportError: No module named _socket > > Open the Python command line, type the following lines, and tell us what > > happens: > > Python 2.6.4 (r264:75708, O

Re: No module named _socket, on windows

2023-02-25 Thread ofek shulberg
the error: > > > > ImportError: No module named _socket > Open the Python command line, type the following lines, and tell us what > happens: > Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit > (Intel)] on > win32 > Type "help", "

I could not install pygame no matter what

2023-01-21 Thread Robbie mezazem
70916814/error-metadata-generation-failed-cant-install-artic-module Sent from Mail for Windows -- https://mail.python.org/mailman/listinfo/pyth

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: 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

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
, 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 not a stan

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

2023-01-09 Thread Thomas Passin
python than the one that used pip to install it." On 1/9/2023 11:59 AM, Mats Wichmann wrote: 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 occu

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.pytho

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? &quo

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 sa

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 ty

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

Re: No solution for "--verbose" (on stdout) output in Pythonds standard library?

2023-01-04 Thread Richard Damon
o detailed here about that difference between stdout and stderr > because in the wild (e.g. on StackOverflow) you often find "use logging > log levels" as a solution for that problem, which IMHO isn't one. > > Now the question: > From my research on the docs it seems

Re: No solution for "--verbose" (on stdout) output in Pythonds standard library?

2023-01-04 Thread Eryk Sun
On 1/4/23, c.bu...@posteo.jp wrote: > > often seen "--verbose" switch in command line applications should > affect only the messages given to the users. This means messages on > "stdout". That is what this question is about. Is this additional context information such as help and definitions? If

Re: No solution for "--verbose" (on stdout) output in Pythonds standard library?

2023-01-04 Thread Weatherby,Gerard
ser.parse_args() logger = logging.getLogger(__name__) logger.setLevel(getattr(logging,args.loglevel)) From: Python-list on behalf of c.bu...@posteo.jp Date: Wednesday, January 4, 2023 at 8:55 AM To: python-list@python.org Subject: No solution for "--verbose" (on stdout) output in Pythonds sta

Re: No solution for "--verbose" (on stdout) output in Pythonds standard library?

2023-01-04 Thread Chris Angelico
On Thu, 5 Jan 2023 at 00:54, wrote: > > Hello, > > first I have to say that in my current and fresh humble opinion the > often seen "--verbose" switch in command line applications should > affect only the messages given to the users. This means messages on > "stdout". That is what this question is

No solution for "--verbose" (on stdout) output in Pythonds standard library?

2023-01-04 Thread c.buhtz
uot; as a solution for that problem, which IMHO isn't one. Now the question: >From my research on the docs it seems there is no feature in the standard library which could help me to implement "--verbose" or multiple verbosity levels like "-vvv"? I found some workar

Re: ImportError: No module named spambayes.resources (line 12 of setup_all.py)

2022-08-24 Thread Barry
>> to build the windows binary from the SpamBayes source. >> >> >> >> I'm running into an error when attempting to run "setup_all.py", the py2exe >> setup script, and I get the following: >> >> >> >> "ImportError

Re: ImportError: No module named spambayes.resources (line 12 of setup_all.py)

2022-08-24 Thread Mats Wichmann
> > I'm running into an error when attempting to run "setup_all.py", the py2exe > setup script, and I get the following: > > > > "ImportError: No module named spambayes.resources (line 12 of setup_all.py)" Wow, that's a blast from the pas

ImportError: No module named spambayes.resources (line 12 of setup_all.py)

2022-08-24 Thread Erik M. Brown via Python-list
, the py2exe setup script, and I get the following: "ImportError: No module named spambayes.resources (line 12 of setup_all.py)" I'm able to run Spambayes from these source files in Outlook and have the correct python version, pywin32, as well as py2exe (2.4.x). Any idea on

RE: [Tutor] (no subject)

2022-08-14 Thread avi.e.gross
power cord, whichever is sooner? -Original Message- From: Tutor On Behalf Of Phindile Julia Sent: Sunday, August 14, 2022 12:49 PM To: tu...@python.org Subject: [Tutor] (no subject) Hey how to create a Fibonacci list? ___ Tutor maillist - tu

My application failed to start because no Qt platform plugin could be initialized. Reinstalled the application several times my problem didn't got fixed.

2022-08-04 Thread MahaRaja Shiv
Sent from Mail for Windows -- https://mail.python.org/mailman/listinfo/python-list

Re: Why no list as dict key?

2022-04-25 Thread Lars Liedtke
GmbH billiger.de | Shopping.de Geschäftsführer | Managing Director: Dr. Thilo Gans, Bernd Vermaaten Webseite | www.solute.de Sitz | Registered Office: Karlsruhe Registergericht | Register Court: Amtsgericht Mannheim Registernummer | Register No.: HRB 110579 USt-ID | VAT ID: DE234663798 Informatione

Re: Why no list as dict key?

2022-04-25 Thread Peter J. Holzer
On 2022-04-25 15:13:19 +0200, Lars Liedtke wrote: > May I stupidly ask, why one would want to use an iterable (even immutable) > as dict key? A string is also an immutable iterable, so this is probably even the most common case. As for more complex data structures: * Tuples or immutable dicts ar

Re: Why no list as dict key?

2022-04-25 Thread Lars Liedtke
| Register No.: HRB 110579 USt-ID | VAT ID: DE234663798 Informationen zum Datenschutz | Information about privacy policy http://solute.de/ger/datenschutz/grundsaetze-der-datenverarbeitung.php Am 21.04.22 um 07:00 schrieb Chris Angelico: On Thu, 21 Apr 2022 at 13:23, Abdur-Rahmaan Janhang

Re: Why no list as dict key?

2022-04-20 Thread Abdur-Rahmaan Janhangeer
As clear as daylight, thanks! Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius -- https://mail.python.org/mailman/listinfo/python-list

Re: Why no list as dict key?

2022-04-20 Thread Chris Angelico
On Thu, 21 Apr 2022 at 13:23, Abdur-Rahmaan Janhangeer wrote: > > Assumes checking for object equality before inserting. > If they are they same, do we need different hashes? > The point of the hash is to find things that are equal. That's why 1234, 1234.0, and 0j+1234.0 all have the same hash.

Re: Why no list as dict key?

2022-04-20 Thread Dan Stromberg
On Wed, Apr 20, 2022 at 7:23 PM Abdur-Rahmaan Janhangeer < arj.pyt...@gmail.com> wrote: > Maybe hashes should point to an object rather than being the hash of an > object themselves. > Maybe the speed drop is not worth it. > If you need mutable keys, you /might/ create a dict-like-object using wh

Re: Why no list as dict key?

2022-04-20 Thread Abdur-Rahmaan Janhangeer
Assumes checking for object equality before inserting. If they are they same, do we need different hashes? Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Thu, Apr 21

Re: Why no list as dict key?

2022-04-20 Thread 2QdxY4RzWzUUiLuE
On 2022-04-21 at 06:22:53 +0400, Abdur-Rahmaan Janhangeer wrote: > Maybe hashes should point to an object rather than being the hash of an > object themselves. > Maybe the speed drop is not worth it. Then you have a different problem. x = [1, 2, 3] y = [n for n in 1, 2, 3] Those two li

Re: Why no list as dict key?

2022-04-20 Thread Abdur-Rahmaan Janhangeer
Thanks everybody, In the the event spam is appended a value, then looking for [1,2] does not return anything but looking for [1,2,3] yes. But i gather the way dictionaries are implemented makes it difficult to do so ... Maybe hashes should point to an object rather than being the hash of an objec

Re: Why no list as dict key?

2022-04-20 Thread Greg Ewing
On 21/04/22 8:18 am, Avi Gross wrote: I am thinking as an example about a program I wrote ages ago that deals with equations in symbolic form and maintains a collection of forms of the equation it is trying to take a derivative or integral of by applying an assortment of typographic rules. I

Re: Why no list as dict key?

2022-04-20 Thread Greg Ewing
On 21/04/22 6:22 am, Abdur-Rahmaan Janhangeer wrote: Using Python3.9, i cannot assign a list [1, 2] as key to a dictionary. Why is that so? If the contents of the list were to change after using it as a key, its hash value would no longer match its position in the dict, so subsequent lookups

Re: Why no list as dict key?

2022-04-20 Thread Chris Angelico
On Thu, 21 Apr 2022 at 06:20, Avi Gross via Python-list wrote: > > This does raise an issue, Chris, if you use the method of making a tuple > companion for a list at a specific time just for use as a dictionary key, > then later change the list, you can end up with various situations. > Yes. An

Re: Why no list as dict key?

2022-04-20 Thread Avi Gross via Python-list
.  Life is complicated. Then you die. -Original Message- From: Chris Angelico To: python-list@python.org Sent: Wed, Apr 20, 2022 3:49 pm Subject: Re: Why no list as dict key? On Thu, 21 Apr 2022 at 05:30, Sam Ezeh wrote: > > Repeating the above points, here is an example of what would

Re: Why no list as dict key?

2022-04-20 Thread Chris Angelico
On Thu, 21 Apr 2022 at 05:30, Sam Ezeh wrote: > > Repeating the above points, here is an example of what would happen if > you tried. Dictionaries require their keys to be immutable as > under-the-hood they use hash tables and they'd fail when the > underlying values are allowed to change. > > ```

Re: Why no list as dict key?

2022-04-20 Thread Sam Ezeh
Repeating the above points, here is an example of what would happen if you tried. Dictionaries require their keys to be immutable as under-the-hood they use hash tables and they'd fail when the underlying values are allowed to change. ``` [sam@samtop]: ~>$ python Python 3.10.2 (main, Jan 15 2022,

Re: Why no list as dict key?

2022-04-20 Thread Chris Angelico
On Thu, 21 Apr 2022 at 04:23, Abdur-Rahmaan Janhangeer wrote: > > Greetings list, Greetings tuple, > Using Python3.9, i cannot assign a list [1, 2] as key > to a dictionary. Why is that so? Thanks in advanced! > Because a list can be changed, which would change what it's equal to: >>> spam = [

Re: Why no list as dict key?

2022-04-20 Thread Larry Martell
On Wed, Apr 20, 2022 at 2:23 PM Abdur-Rahmaan Janhangeer wrote: > > Greetings list, > > Using Python3.9, i cannot assign a list [1, 2] as key > to a dictionary. Why is that so? Thanks in advanced! Dict keys cannot be mutable. Use a tuple instead. -- https://mail.python.org/mailman/listinfo/pytho

Why no list as dict key?

2022-04-20 Thread Abdur-Rahmaan Janhangeer
Greetings list, Using Python3.9, i cannot assign a list [1, 2] as key to a dictionary. Why is that so? Thanks in advanced! Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius

Re: No shortcut Icon on Desktop

2022-04-18 Thread Eryk Sun
files on the ConDrv device (e.g. "\Device\ConDrv\Connect", "\Device\ConDrv\Input", "\Device\ConDrv\Output"). If an application executable is flagged as a console application, such as "python.exe", and no console session was inherited from the parent process

Re: No shortcut Icon on Desktop

2022-04-15 Thread Mirko via Python-list
Am 15.04.2022 um 18:53 schrieb Mats Wichmann: > On 4/15/22 08:59, Grant Edwards wrote: > >> Of course it's easy to add. But, we're talking about people who have >> no idea how to do that. They have no clue how to "navigate to the >> install directory&q

Re: No shortcut Icon on Desktop

2022-04-15 Thread Grant Edwards
On 2022-04-15, Mats Wichmann wrote: > I'd add - not naming the installer something Windows' memory of recent > files retains as being Python itself - could be as simple as including > the word "setup" in the name. Oh yes, that's been suggested many, many times also. :) I always name all my inst

Re: No shortcut Icon on Desktop

2022-04-15 Thread Christian Gollwitzer
Am 15.04.22 um 02:49 schrieb Mats Wichmann: On 4/14/22 18:06, Grant Edwards wrote: On 2022-04-14, Richard Damon wrote: I think the issue is that the 'python' interpreter/compiler isn't the sort of program that makes sense to make a desktop icon for, as it is a command line utility. Yes, it

Re: No shortcut Icon on Desktop

2022-04-15 Thread Mats Wichmann
On 4/15/22 08:59, Grant Edwards wrote: > Of course it's easy to add. But, we're talking about people who have > no idea how to do that. They have no clue how to "navigate to the > install directory". They don't even realize anything _was_ installed. I dunno, it

Re: No shortcut Icon on Desktop

2022-04-15 Thread Grant Edwards
windows thing, not a python thing. you can > navigate to the install directory and create a shortcut and drag > that out of that directiory in explorer and drop it on the desktop. Of course it's easy to add. But, we're talking about people who have no idea how to do that. They have

Re: No shortcut Icon on Desktop

2022-04-14 Thread Mats Wichmann
On 4/14/22 18:06, Grant Edwards wrote: > On 2022-04-14, Richard Damon wrote: > >> I think the issue is that the 'python' interpreter/compiler isn't the >> sort of program that makes sense to make a desktop icon for, as it is a >> command line utility. > > Yes, it is a command line utility. Why

Re: No shortcut Icon on Desktop

2022-04-14 Thread Grant Edwards
On 2022-04-14, Richard Damon wrote: > I think the issue is that the 'python' interpreter/compiler isn't the > sort of program that makes sense to make a desktop icon for, as it is a > command line utility. Yes, it is a command line utility. Why does that mean you shouldn't have a desktop short

Re: No shortcut Icon on Desktop

2022-04-14 Thread Mats Wichmann
On 4/14/22 17:08, Richard Damon wrote: > I think the issue is that the 'python' interpreter/compiler isn't the > sort of program that makes sense to make a desktop icon for, as it is a > command line utility. > > Perhaps making an icon for IDLE, if it has also been installed, but then > the issue

Re: No shortcut Icon on Desktop

2022-04-14 Thread Richard Damon
n) Windows, but one thing I do know is, that most Windows users are confused when after an installation there is no easy way to call the program. I do not understand, why the Windows installer *still* does not create a "Python 3.10" _*or similar*_ folder on the desktop with links to IDL

Re: No shortcut Icon on Desktop

2022-04-14 Thread Grant Edwards
On 2022-04-14, Mirko via Python-list wrote: >> Python normally does not create "shortcut icon"s -- one downloads an > > The Python Windows installer *absolutely* should. Agreed. I'm not much of a Windows user, but I do maintain a few Windows applications with installers. They all create des

Re: No shortcut Icon on Desktop

2022-04-14 Thread Mirko via Python-list
*absolutely* should. I do not know much about (modern) Windows, but one thing I do know is, that most Windows users are confused when after an installation there is no easy way to call the program. I do not understand, why the Windows installer *still* does not create a "Python 3.10" _*or sim

Re: No shortcut Icon on Desktop

2022-04-13 Thread Barry
> On 13 Apr 2022, at 19:46, Dennis Lee Bieber wrote: > > C:\Users\Wulfraed>rem "py launcher" (which I don't trust as it has been > known to pick a different Python at times > C:\Users\Wulfraed>py > Python ActivePython 3.8.2 (ActiveState Software Inc.) based on > on win32 > Type "help", "copyrig

Re: No shortcut Icon on Desktop

2022-04-13 Thread dn
On 14/04/2022 05.38, Tim Deke wrote: > Dear Sir, > > I have successfully downloaded Python into my laptop but the shortcut icon > is not appearing on the desktop. I am using Windows 10 with the PC > specifications as per snap shot attached below. Can you advise what to do? https://docs.python.org

Re: No shortcut Icon on Desktop

2022-04-13 Thread Dennis Lee Bieber
On Thu, 14 Apr 2022 03:38:11 +1000, Tim Deke declaimed the following: >Dear Sir, > >I have successfully downloaded Python into my laptop but the shortcut icon >is not appearing on the desktop. I am using Windows 10 with the PC >specifications as per snap shot attached below. Can you advise what t

No shortcut Icon on Desktop

2022-04-13 Thread Tim Deke
Dear Sir, I have successfully downloaded Python into my laptop but the shortcut icon is not appearing on the desktop. I am using Windows 10 with the PC specifications as per snap shot attached below. Can you advise what to do? Thank you Tim Deke [image: image.png] -- https://mail.python.org/ma

Re: Extract specific no of data from nedCDF files using python

2022-02-24 Thread David Lowry-Duda
> Hi.I am learning python and I am working with some netCDF files. > Suppose I have temperature data from 1950-2020 and I want data for > only 1960-2015. How should I extract it. -- Alternately, use https://unidata.github.io/netcdf4-python/ or gdal. It might also be possible to read https://st

Extract specific no of data from nedCDF files using python

2022-02-24 Thread Smital Fulzele
Hi.I am learning python and I am working with some netCDF files. Suppose I have temperature data from 1950-2020 and I want data for only 1960-2015. How should I extract it. -- https://mail.python.org/mailman/listinfo/python-list

Re: Why does not Python accept functions with no names?

2022-02-21 Thread Abdur-Rahmaan Janhangeer
> BTW, this is not what is usually meant by the term "anonymous function". An anonymous function is one that is not bound to *any* name. The thing you're proposing wouldn't be anonymous -- it would have a name, that name being the empty string. Thanks for clarifying this point 👍👍👍 -- https://mai

Re: Why does not Python accept functions with no names?

2022-02-21 Thread Avi Gross via Python-list
Eric, You bring up a related topic which I agree with. You need to be careful to make aspects of a language as consistent as possible and thus allowing no receiver of a function definition (somewhat different than no name) might result in anomalies in other parts of the language. Errors that

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Eryk Sun
ompiler with useless results, e.g `= 1`, `c. = 1`. It's no less absurd in a `def` statement. -- https://mail.python.org/mailman/listinfo/python-list

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Chris Angelico
On Mon, 21 Feb 2022 at 16:48, Avi Gross via Python-list wrote: > > Amusingly, Greg, if you had a system where the un-named anonymous function > was to be named the unique value of the empty string, then a second such > anonymous function definition would over-write it, as with any named > funct

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Avi Gross via Python-list
be able to make many such pseudo-anonymous functions, in the end, there can only be one. -Original Message- From: Greg Ewing To: python-list@python.org Sent: Sun, Feb 20, 2022 5:17 pm Subject: Re: Why does not Python accept functions with no names? On 21/02/22 6:27 am, Abdur-Rahmaan

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Grant Edwards
On 2022-02-20, Christian Gollwitzer wrote: >> For the same reason an empty sequence of characters cannot >> be a variable name. Do you know any language (or formal >> theory) that allows that? > > Tcl allows that: Interesting to know, but the fact that Tcl does something differnt is more of an a

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Chris Angelico
> >> def (): > >> return '---' > >> > >> () > >> > >> Where the function name is ''? > > > > Because there is no variable that is holding a ref to the code. > > So it’s pointless. > > Fun

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Greg Ewing
be allowed, given that the parser and compiler would have to go out of their way to treat it as a special case, only to create a function that there is no easy way to call? BTW, this is not what is usually meant by the term "anonymous function". An anonymous function is one that is not bou

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Python
Barry wrote: On 20 Feb 2022, at 15:35, Abdur-Rahmaan Janhangeer wrote: Greetings list. Out of curiosity, why doesn't Python accept def (): return '---' () Where the function name is ''? Because there is no variable that is holding a ref to the code. So i

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Python
Abdur-Rahmaan Janhangeer wrote: Greetings list. Out of curiosity, why doesn't Python accept def (): return '---' () Where the function name is ''? For the same reason an empty sequence of characters cannot be a variable name. Do you know any language (or formal theory) that allows that?

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Christian Gollwitzer
Am 20.02.22 um 16:48 schrieb Python: Abdur-Rahmaan Janhangeer wrote: Greetings list. Out of curiosity, why doesn't Python accept def (): return '---' () Where the function name is ''? For the same reason an empty sequence of characters cannot be a variable name. Do you know any languag

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Chris Angelico
On Mon, 21 Feb 2022 at 09:38, Eryk Sun wrote: > > On 2/20/22, Abdur-Rahmaan Janhangeer wrote: > > > > Out of curiosity, why doesn't Python accept > > def (): > > return '---' > > The `def` keyword is compiled as an assignment statement, not an > expression that evaluates anonymously on the st

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Eryk Sun
On 2/20/22, Abdur-Rahmaan Janhangeer wrote: > > Out of curiosity, why doesn't Python accept > def (): > return '---' The `def` keyword is compiled as an assignment statement, not an expression that evaluates anonymously on the stack. Using `def` as an expression would require new syntax. For

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Avi Gross via Python-list
trim more. Declaring an anonymous function in a context where it attaches to no names anywhere can be allowed to proceed, if that is important to anyone, but garbage collection will rapidly reclaim the space, I would think. So why bother allocating the space? And note if the allocation meth

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Dieter Maurer
Abdur-Rahmaan Janhangeer wrote at 2022-2-20 19:32 +0400: >Out of curiosity, why doesn't Python accept >def (): >return '---' > >() > >Where the function name is ''? Python knows about (somewhat restricted) anonymous functions: it calls them `lambda` expressions (the body of those functions can

Re: Why does not Python accept functions with no names?

2022-02-20 Thread Abdur-Rahmaan Janhangeer
Yes I know about lambdas but was just an introspection about the reasoning behind ^^ Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius -- https://mail.python.org/mailman/li

  1   2   3   4   5   6   7   8   9   10   >