RE: problems installing Python 3.11

2023-08-11 Thread Bernd Lentes via Python-list
>-Original Message- >From: Python-list muenchen...@python.org> On Behalf Of Bernd Lentes via Python-list >Sent: Friday, August 11, 2023 12:01 PM >To: Terry Reedy >Cc: Python ML (python-list@python.org) >Subject: RE: problems installing Python 3.11 Hi, I read the

RE: problems installing Python 3.11

2023-08-11 Thread Bernd Lentes via Python-list
>-Original Message- >From: Terry Reedy >Sent: Thursday, August 10, 2023 9:55 PM >To: Bernd Lentes >Subject: Re: problems installing Python 3.11 > >On 8/10/2023 3:28 PM, Bernd Lentes via Python-list wrote: > >Private response because cannot post at present. >

problems installing Python 3.11

2023-08-10 Thread Bernd Lentes via Python-list
Hi ML, i hope this is the right place for my question. If not please tell me where I can ask. I tried to install python 3.11.4 on a SLES 15 SP5. ./configure ran fine, just one package missing. Installed the package, configure ran fine with complaints. make was ok, make test not. This is what I

Re: Fwd: Problems Installing and getting started.

2023-05-31 Thread Thomas Passin
On 5/31/2023 3:52 PM, Dennis Lee Bieber wrote: Python does not provide, normally, a "click me" icon to run Python. Python is a command line language INTERPRETER/COMPILER. If file associations are set up, clicking on a script (.py) file/will/ run it -- but the window it opens goes away as soon as

Re: Fwd: Problems Installing and getting started.

2023-05-31 Thread Dennis Lee Bieber
On Wed, 31 May 2023 08:34:48 +0100, Mark Bass declaimed the following: >-- Forwarded message - >From: Mark Bass >Date: Wed, 31 May 2023 at 08:09 >Subject: Problems Installing and getting started. >To: > > >Good morning, > >I installed python seve

Re: Fwd: Problems Installing and getting started.

2023-05-31 Thread MRAB
On 2023-05-31 08:34, Mark Bass wrote: -- Forwarded message - From: Mark Bass Date: Wed, 31 May 2023 at 08:09 Subject: Problems Installing and getting started. To: Good morning, I installed python several hours ago (from python.org), I then installed the IDE PyCharm. I&#

Re: Problems Installing and getting started.

2023-05-31 Thread Richard Damon
you have loaded into the project. > On May 31, 2023, at 11:55 AM, Mark Bass wrote: > > -- Forwarded message - > From: Mark Bass > Date: Wed, 31 May 2023 at 08:09 > Subject: Problems Installing and getting started. > To: > > > Good morning, &

Fwd: Problems Installing and getting started.

2023-05-31 Thread Mark Bass
-- Forwarded message - From: Mark Bass Date: Wed, 31 May 2023 at 08:09 Subject: Problems Installing and getting started. To: Good morning, I installed python several hours ago (from python.org), I then installed the IDE PyCharm. I'm using AI to help with a project

Re: problems in using libraries

2023-04-03 Thread Thomas Passin
On 4/3/2023 1:25 PM, pranavbhardwaj...@gmail.com wrote: Sent from [1]Mail for Windows Why can't I able to use python libraries in my python 3.11.2. It always throw an error such as and and many more. I installed python from python official website and I i

problems in using libraries

2023-04-03 Thread pranavbhardwaj773
    Sent from [1]Mail for Windows Why can't I able to use python libraries in my python 3.11.2. It always throw an error such as   and and many more. I installed python from python official website and I installed libraries using cmd prompt by typing- pip install “L

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-14 Thread darkstone
Dear list, >>So please check that you are running the right version of Python when >>you type "python". If i type “python”, it is C:\>python -V Python 3.11.0 Von: Thomas Passin Gesendet: ‎Sonntag‎, ‎13‎. ‎November‎ ‎2022 ‎16‎:‎18 An: darkst...@o2online.de On 11/13/2022

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-12 Thread Eryk Sun
On 11/12/22, darkst...@o2online.de wrote: > import _tkinter > Traceback (most recent call last): > File "", line 1, in > ImportError: DLL load failed while importing _tkinter: Das angegebene Modul > wurd > e nicht gefunden. Loading the extension module "_tkinter.pyd" tries to load two TCL

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-12 Thread Thomas Passin
-V ** I found out about this self-test command line because I noticed a file README.txt in the idlelib\idle_test subdirectory, and read it. It pays to be curious and nosy when trying to work out computer problems. *Von:* Thomas Passin <mailto:li...@tompassin.net> *Gesendet:* ‎Samstag

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-12 Thread Thomas Passin
All right, now let's verify that tk is not there (otherwise it might be there but corrupted or not loadable for some reason). Open Windows Explorer and navigate it to the Python directory as I described in my last message. The navigate to the subdirectory named "DLLs". If tkinter is installed

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-11 Thread Eryk Sun
On 11/11/22, darkst...@o2online.de wrote: > > What can I do for the next step to find, why IDLE isn’t working? The question is why tkinter isn't working. IDLE not working is just a symptom of the underlying problem. In the command prompt, run 32-bit Python 3.10 via `py -3.10-32`. In Python's inte

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-09 Thread Thomas Passin
Sorry about the typo at the end. If you need to search the entire disk, use this command instead of the one I had in my last post: where /R c:\ python.exe On 11/9/2022 9:00 PM, Thomas Passin wrote: On 11/9/2022 7:02 PM, darkst...@o2online.de wrote: Is there no one who can help? Is there a

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-09 Thread Eryk Sun
On 11/9/22, darkst...@o2online.de wrote: > Is there no one who can help? If you can't run IDLE via `py -3.10-32 -m idlelib`, then something isn't installed properly. You reported an error that IDLE fails to load because importing tkinter fails. Did you try `import tkinter` in the REPL? tkinter de

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-09 Thread Dennis Lee Bieber
On Thu, 10 Nov 2022 00:02:44 +, declaimed the following: >Is there no one who can help? > Your problem description isn't detailed enough to even guess what you are finding incorrect. If you are on Windows, once you've done an install, shove the installer file off into some a

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-09 Thread Thomas Passin
On 11/9/2022 7:02 PM, darkst...@o2online.de wrote: Is there no one who can help? Is there a reason why you tried to install a 32-bit version? Most personal computers are 64-bit ones these days. Also, I don't remember if you are running Windows or not. One problem for getting help from the

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-09 Thread darkstone
Is there no one who can help? Von: darkst...@o2online.de Gesendet: ‎Freitag‎, ‎4‎. ‎November‎ ‎2022 ‎15‎:‎10 An: Eryk Sun Cc: python-list@python.org Yes, there is always the message “modified successfull”, “installed sucessfully”, but IDLE does’t start. I tried it with the newer Version

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-04 Thread darkstone
Yes, there is always the message “modified successfull”, “installed sucessfully”, but IDLE does’t start. I tried it with the newer Version, too. Ist 3.11.0 for 32 bit, but it also doesn’t work. Do you have other suggetions, that it works? Von: Eryk Sun Gesendet: ‎Donnerstag‎, ‎3‎. ‎Novemb

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-03 Thread Eryk Sun
On 11/3/22, darkst...@o2online.de wrote: > Is there a reason, why it is not installed? Its the same check mark in the > installer like IDLE… Did you try what I suggested? Modify the installation to remove the tkinter/IDLE component. Then modify it again to select the component to be reinstalled.

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-01 Thread Eryk Sun
On 11/1/22, Nithish Ramasamy wrote: > > pip install tkinter > Wait some minutes to install tkinter There is no tkinter package on PyPI. It's part of the standard library and included with the python.org installer as an optional component. -- https://mail.python.org/mailman/listinfo/python-list

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-11-01 Thread Eryk Sun
On 11/1/22, darkst...@o2online.de wrote: > > **IDLE can’t Import TKINTER > > Python may not be configured for TK** > > Checkmark for TK is set in the Installation Progress. What went wrong and ho > can I fix it? Run the following command to check whether the ImportError has any further informatio

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-10-31 Thread Eryk Sun
On 10/31/22, darkst...@o2online.de wrote: > > I installed the Standard Distribution from python.org again, and i ensured, > that the checkmark test Suite is enabled. Idle does’nt start. The installer > says “Installation successfully” at the end. > > What went wrong and how can I further delimit t

Re: Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-10-31 Thread Eryk Sun
On 10/31/22, darkst...@o2online.de wrote: > > i uninstalled this, because my Idle doesn’t start by clicking on the Icon. > Are there any Solutions for the problem? If it's the standard distribution from python.org, run the installer again, and ensure that the test suite is installed. In 3.10.8,

Problems with IDLE in Windows 8.1 and installer x86 Version 3.10.8

2022-10-31 Thread darkstone
Dear Sir or Madam, i uninstalled this, because my Idle doesn’t start by clicking on the Icon. Are there any Solutions for the problem? Thanks, André -- https://mail.python.org/mailman/listinfo/python-list

Re: Problems with Python

2022-05-31 Thread dn
On 01/06/2022 00.00, Howard Samuels via Python-list wrote: > Good day > I am new to programming.  I have signed up for a virtual online course and > installed Python using Anaconda as well as jupyter notebook. I encountered > problems & then went to YouTube tried going direct

Re: Problems with Python

2022-05-31 Thread Howard Samuels via Python-list
Good day I am new to programming.  I have signed up for a virtual online course and installed Python using Anaconda as well as jupyter notebook. I encountered problems & then went to YouTube tried going directly to the python website and used Pycharm. When I used pycharm and try to run

Re: Installation problems

2021-12-13 Thread Greg Ewing
On 13/12/21 8:25 pm, Cristiano Loro wrote: In production I performed a custom installation defining "for all users", but the modules are placed elsewhere and this is perhaps the problem. How can I put the modules in the correct folder? How are you installing the modules? Are you doing it with

Installation problems

2021-12-13 Thread Cristiano Loro
Good morning, i am using a python application to program ESP8266. in my office everything works fine, but in production, where users don't have the same access privileges, I can't get it to go. In production I performed a custom installation defining "for all users", but the modules are placed e

Problems with desinatlation

2021-10-01 Thread TONI MORAL SEGURA
Hi, I can not remove the program Python 2.7.10 in my Windows 10 What can I do to resolve this problema? Thank you [cid:image003.png@01D7B6E5.51F6E520] -- https://mail.python.org/mailman/listinfo/python-list

Re: Problems with running Python in Npp

2021-09-09 Thread Dennis Lee Bieber
On Wed, 8 Sep 2021 21:54:14 -0400, Ricardo declaimed the following: > Hey Python and crew I'm having difficulties installing and running Python > on my computer. I've seen plenty YouTube videos on how to set it up, but > none of them have worked. Any help or guidance will be greatly > app

Problems with running Python in Npp

2021-09-08 Thread Ricardo
Hey Python and crew I'm having difficulties installing and running Python on my computer. I've seen plenty YouTube videos on how to set it up, but none of them have worked. Any help or guidance will be greatly appreciated. Sincerely, Ricardo Sent from [1]Mail for Windows

Re: software installation problems

2021-08-30 Thread Dennis Lee Bieber
On Mon, 30 Aug 2021 10:37:26 -0500, randy darwin lozanovalle declaimed the following: >Good morning, when I run the Python program after installing the >latest version, I get this message (attached file), I have already >reinstalled the program several times and the same message keeps >appearing;

Re: software installation problems

2021-08-30 Thread Igor Korot
Hi, On Mon, Aug 30, 2021 at 4:37 PM randy darwin lozanovalle wrote: > > Good morning, when I run the Python program after installing the > latest version, I get this message (attached file), I have already > reinstalled the program several times and the same message keeps > appearing; What soluti

software installation problems

2021-08-30 Thread randy darwin lozanovalle
Good morning, when I run the Python program after installing the latest version, I get this message (attached file), I have already reinstalled the program several times and the same message keeps appearing; What solution could you give me, thank you! -- https://mail.python.org/mailman/listinfo/py

Re: some problems for an introductory python test

2021-08-20 Thread Hope Rouselle
Dennis Lee Bieber writes: > On Sun, 15 Aug 2021 00:15:58 -0300, Hope Rouselle > declaimed the following: > > Giganews seems to have just vomited up three days worth of traffic... > >>Dennis Lee Bieber writes: >> >>> >>> Granted, the fact that the Amiga used a shared common address spa

Re: some problems for an introductory python test

2021-08-19 Thread Hope Rouselle
Chris Angelico writes: > On Tue, Aug 17, 2021 at 3:51 AM Hope Rouselle > wrote: >> >> Chris Angelico writes: >> >> Wow, I kinda feel the same as you here. I think this justifies >> >> perhaps >> >> using a hardware solution. (Crazy idea?! Lol.) >> > >> > uhhh Yes. Very crazy idea. Can

Re: some problems for an introductory python test

2021-08-16 Thread Dennis Lee Bieber
On Sun, 15 Aug 2021 00:15:58 -0300, Hope Rouselle declaimed the following: Giganews seems to have just vomited up three days worth of traffic... >Dennis Lee Bieber writes: > >> >> Granted, the fact that the Amiga used a shared common address space for >> all running applications ma

Re: some problems for an introductory python test

2021-08-16 Thread Abhiram R
Hello, One of my absolute favorite places to go to practice Python questions from is https://projecteuler.net . It's just Maths based questions that cannot be solved by hand without consuming a Ton of time because of the high limits. This is how I learnt Python. By solving problems from the

Re: some problems for an introductory python test

2021-08-16 Thread Chris Angelico
On Tue, Aug 17, 2021 at 3:51 AM Hope Rouselle wrote: > > Chris Angelico writes: > >> Wow, I kinda feel the same as you here. I think this justifies perhaps > >> using a hardware solution. (Crazy idea?! Lol.) > > > > uhhh Yes. Very crazy idea. Can't imagine why anyone would ever > > thin

Re: some problems for an introductory python test

2021-08-16 Thread Hope Rouselle
Grant Edwards writes: > On 2021-08-12, Hope Rouselle wrote: > >>> OS/2 had all kinds of amazing features (for its time). [...] Plus, >>> it had this fancy concept of "extended attributes"; on older >>> systems (like MS-DOS's "FAT" family), a file might be Read-Only, >>> Hidden, a System file, or

Re: some problems for an introductory python test

2021-08-16 Thread Hope Rouselle
Hope Rouselle writes: [...] >> Granted you may have to restrict some features if [...] > > To let students use the entire language feels a bit weird in the sense > that the group goes in so many different directions. It definitely put > teachers in a position they have to be --- I don't know th

Re: some problems for an introductory python test

2021-08-16 Thread Hope Rouselle
Chris Angelico writes: > On Fri, Aug 13, 2021 at 2:15 AM Hope Rouselle wrote: >> >> Chris Angelico writes: >> >> > History lesson! >> > >> > Once upon a time, IBM and Microsoft looked at what Intel was >> > producing, and went, hey, we need to design an operating system that >> > can take advan

Re: some problems for an introductory python test

2021-08-16 Thread Hope Rouselle
Dennis Lee Bieber writes: > On Wed, 11 Aug 2021 09:27:38 -0300, Hope Rouselle > declaimed the following: >> >>I wouldn't. This is all Python-stuff. The course chooses a language >>like Python, but it is not trying to teach Python --- it is trying to >>teach computer programming, that is, strat

Re: some problems for an introductory python test

2021-08-16 Thread Hope Rouselle
Chris Angelico writes: > On Thu, Aug 12, 2021 at 9:23 AM Dennis Lee Bieber > wrote: [...] >> I was spoiled by the Amiga variant of REXX. Most current >> implementations (well, Regina is the only one I've looked at) can just pass >> command to the default shell. The Amiga version took

Re: some problems for an introductory python test

2021-08-16 Thread Hope Rouselle
Dennis Lee Bieber writes: > On Thu, 12 Aug 2021 06:15:28 +1000, Chris Angelico > declaimed the following: > >>The default command interpreter and shell on OS/2 was fairly primitive >>by today's standards, and was highly compatible with the MS-DOS one, >>but it also had the ability to run REXX sc

Re: some problems for an introductory python test

2021-08-12 Thread Greg Ewing
On 13/08/21 5:52 am, Grant Edwards wrote: I think what he's talking about is allowing the user to attach arbitrary _metadata_ to the file ... IOW, something similar to the > "resource fork" that MacOS used to have. The resource fork was used for more than just metadata, it was often the entire

Re: some problems for an introductory python test

2021-08-12 Thread Greg Ewing
On 13/08/21 11:42 am, Cameron Simpson wrote: 2: It took me a while to see, but this is a type annotiation. Interestingly, it seems to be parsed as a form of assignment with a missing RHS. >>> from ast import parse, dump >>> dump(parse("if0: print('yes!')")) "Module(body=[AnnAssign(target=Name(

Re: some problems for an introductory python test

2021-08-12 Thread Cameron Simpson
On 12Aug2021 12:09, Hope Rouselle wrote: >Chris Angelico writes: >> [...] Plus, it had this fancy >> concept of "extended attributes"; on older systems (like MS-DOS's >> "FAT" family), a file might be Read-Only, Hidden, a System file, or >> needing to be Archived, and that was it - but on HPFS, y

Re: some problems for an introductory python test

2021-08-12 Thread Cameron Simpson
On 11Aug2021 09:11, Hope Rouselle wrote: >Greg Ewing writes: >> That may not be doing what you think it's doing. Consider also >> > if0: print('yes!') >> yes! > >So, yes, that's puzzling. > 0 == False >True if0: print("yes") >yes if(0): print("yes") > > >What's going on th

Re: some problems for an introductory python test

2021-08-12 Thread Dennis Lee Bieber
On Fri, 13 Aug 2021 04:41:42 +1000, Chris Angelico declaimed the following: >Yeah. It was a strange choice by today's standards, but back then, >most of my GUI programs were written in REXX. > >https://en.wikipedia.org/wiki/VX-REXX >http://www.edm2.com/0206/vrexx.html > There was a librar

Re: some problems for an introductory python test

2021-08-12 Thread Grant Edwards
On 2021-08-12, MRAB wrote: > >> Windows never had filesystems that supported metadata like OS/2 and >> MacOS did. The registry was an ugly hack that attempted (very poorly) >> to make up for that lack of metadata. >> > FYI, NTFS does support Alternate Data Streams. That is interesting -- and it

Re: some problems for an introductory python test

2021-08-12 Thread Dennis Lee Bieber
On Thu, 12 Aug 2021 12:09:58 -0300, Hope Rouselle declaimed the following: >How is it possible that Microsoft would take part of the code of OS/2? >Did IBM just hand it to them? > Because IBM subcontracted (IE: "paid") M$ to create an OS with XYZ features for their latest PC (under supe

Re: some problems for an introductory python test

2021-08-12 Thread MRAB
On 2021-08-12 18:52, Grant Edwards wrote: On 2021-08-12, Hope Rouselle wrote: OS/2 had all kinds of amazing features (for its time). [...] Plus, it had this fancy concept of "extended attributes"; on older systems (like MS-DOS's "FAT" family), a file might be Read-Only, Hidden, a System file,

Re: some problems for an introductory python test

2021-08-12 Thread Chris Angelico
On Fri, Aug 13, 2021 at 5:03 AM Grant Edwards wrote: > > On 2021-08-12, Hope Rouselle wrote: > > >> OS/2 had all kinds of amazing features (for its time). [...] Plus, > >> it had this fancy concept of "extended attributes"; on older > >> systems (like MS-DOS's "FAT" family), a file might be Read-

Re: some problems for an introductory python test

2021-08-12 Thread Grant Edwards
On 2021-08-12, Hope Rouselle wrote: >> OS/2 had all kinds of amazing features (for its time). [...] Plus, >> it had this fancy concept of "extended attributes"; on older >> systems (like MS-DOS's "FAT" family), a file might be Read-Only, >> Hidden, a System file, or needing to be Archived, and th

Re: some problems for an introductory python test

2021-08-12 Thread Chris Angelico
On Fri, Aug 13, 2021 at 2:15 AM Hope Rouselle wrote: > > Chris Angelico writes: > > > History lesson! > > > > Once upon a time, IBM and Microsoft looked at what Intel was > > producing, and went, hey, we need to design an operating system that > > can take advantage of the fancy features of this

Re: some problems for an introductory python test

2021-08-12 Thread Hope Rouselle
Chris Angelico writes: [...] >> > [1] And boy oh boy was that good fun. The OS/2 Presentation Manager >> > had a wealth of power available. Good times, sad that's history now. >> >> I know OS/2 only by name. I never had the pleasure of using it. In >> fact, I don't even know how it looks. I m

Re: some problems for an introductory python test

2021-08-11 Thread Chris Angelico
On Thu, Aug 12, 2021 at 9:23 AM Dennis Lee Bieber wrote: > > On Thu, 12 Aug 2021 06:15:28 +1000, Chris Angelico > declaimed the following: > > > >The default command interpreter and shell on OS/2 was fairly primitive > >by today's standards, and was highly compatible with the MS-DOS one, > >but i

Re: some problems for an introductory python test

2021-08-11 Thread Dennis Lee Bieber
On Wed, 11 Aug 2021 09:27:38 -0300, Hope Rouselle declaimed the following: > >I wouldn't. This is all Python-stuff. The course chooses a language >like Python, but it is not trying to teach Python --- it is trying to >teach computer programming, that is, strategies in high-precision. >

Re: some problems for an introductory python test

2021-08-11 Thread Dennis Lee Bieber
On Thu, 12 Aug 2021 06:15:28 +1000, Chris Angelico declaimed the following: >The default command interpreter and shell on OS/2 was fairly primitive >by today's standards, and was highly compatible with the MS-DOS one, >but it also had the ability to run REXX scripts. REXX was *way* ahead >of its

Re: some problems for an introductory python test

2021-08-11 Thread Chris Angelico
On Thu, Aug 12, 2021 at 7:25 AM Rob Cliffe via Python-list wrote: > > On 11/08/2021 19:10, MRAB wrote: > > On 2021-08-11 18:10, Wolfram Hinderer via Python-list wrote: > >> > >> > >> Am 11.08.2021 um 05:22 schrieb Terry Reedy: > >>> Python is a little looser about whitespace than one might expect

RE: some problems for an introductory python test

2021-08-11 Thread Avi Gross via Python-list
This conversation has, of course, veered away from the original question so I am starting afresh. My memory of the original question is about how one sets up a test for material covered in class or associated materials for what sounds like a beginner class. I am not sure whether this would be the

Re: some problems for an introductory python test

2021-08-11 Thread Rob Cliffe via Python-list
On 11/08/2021 19:10, MRAB wrote: On 2021-08-11 18:10, Wolfram Hinderer via Python-list wrote: Am 11.08.2021 um 05:22 schrieb Terry Reedy: Python is a little looser about whitespace than one might expect from reading 'normal' code when the result is unambiguous in that it cannot really mean a

Re: some problems for an introductory python test

2021-08-11 Thread Chris Angelico
On Thu, Aug 12, 2021 at 5:00 AM Hope Rouselle wrote: > > Chris Angelico writes: > > > On Wed, Aug 11, 2021 at 4:18 AM Hope Rouselle > > wrote: > >> > >> Chris Angelico writes: > >> > >> [...] > >> > >> >> not disagreeing... and yeah I could have thought deeper about the > >> >> answer, but I s

Re: some problems for an introductory python test

2021-08-11 Thread Hope Rouselle
Chris Angelico writes: > On Wed, Aug 11, 2021 at 4:18 AM Hope Rouselle wrote: >> >> Chris Angelico writes: >> >> [...] >> >> >> not disagreeing... and yeah I could have thought deeper about the >> >> answer, but I still think "notthing has been OOP" -> "yes it has, they >> >> just didn't realiz

Re: some problems for an introductory python test

2021-08-11 Thread Hope Rouselle
_(3) >> SyntaxError: invalid syntax > > Yeah, that's because "2." looks like the beginning of a float. > >> But then I tried: >> >> >>> (2).__add__(3) >> 5 >> >> Now I do believe it! :-) Awesome. I had no idea. > > You can

Re: some problems for an introductory python test

2021-08-11 Thread Hope Rouselle
Greg Ewing writes: > On 11/08/21 3:22 pm, Terry Reedy wrote: >> Python is a little looser about whitespace than one might expect >> from reading 'normal' code when the result is unambiguous in that it >> cannot really mean anything other than what it does. >> >>> if3: print('yes!') >> yes! > > T

Re: some problems for an introductory python test

2021-08-11 Thread Greg Ewing
On 11/08/21 3:22 pm, Terry Reedy wrote: Python is a little looser about whitespace than one might expect from reading 'normal' code when the result is unambiguous in that it cannot really mean anything other than what it does. >>> if3: print('yes!') yes! That may not be doing what you think

Re: some problems for an introductory python test

2021-08-11 Thread Hope Rouselle
Terry Reedy writes: > On 8/10/2021 5:27 PM, Hope Rouselle wrote: >> Terry Reedy writes: >> >>> On 8/10/2021 9:15 AM, Hope Rouselle wrote: >>> 2.__add__(3) SyntaxError: invalid syntax But then I tried: >>> (2).__add__(3) 5 >>> >>> Add a space is easier. >> 2 .__ad

Re: some problems for an introductory python test

2021-08-11 Thread MRAB
On 2021-08-11 18:10, Wolfram Hinderer via Python-list wrote: Am 11.08.2021 um 05:22 schrieb Terry Reedy: Python is a little looser about whitespace than one might expect from reading 'normal' code when the result is unambiguous in that it cannot really mean anything other than what it does. 

Re: some problems for an introductory python test

2021-08-11 Thread Wolfram Hinderer via Python-list
Am 11.08.2021 um 05:22 schrieb Terry Reedy: Python is a little looser about whitespace than one might expect from reading 'normal' code when the result is unambiguous in that it cannot really mean anything other than what it does.  Two other examples: >>> if3: print('yes!') yes! >>> [0]  [0]

Re: some problems for an introductory python test

2021-08-10 Thread Terry Reedy
On 8/10/2021 5:27 PM, Hope Rouselle wrote: Terry Reedy writes: On 8/10/2021 9:15 AM, Hope Rouselle wrote: 2.__add__(3) SyntaxError: invalid syntax But then I tried: (2).__add__(3) 5 Add a space is easier. 2 .__add__(3) 5 Hah. That's brilliant! So cool. Python is a little loose

Re: some problems for an introductory python test

2021-08-10 Thread Hope Rouselle
Terry Reedy writes: > On 8/10/2021 9:15 AM, Hope Rouselle wrote: > 2.__add__(3) >> SyntaxError: invalid syntax >> But then I tried: >> > (2).__add__(3) >> 5 > > Add a space is easier. 2 .__add__(3) > 5 Hah. That's brilliant! So cool. -- https://mail.python.org/mailman/listi

Re: some problems for an introductory python test

2021-08-10 Thread Hope Rouselle
Chris Angelico writes: > On Wed, Aug 11, 2021 at 4:14 AM Hope Rouselle wrote: >> >> Chris Angelico writes: >> >> > On Tue, Aug 10, 2021 at 7:25 AM Hope Rouselle >> > wrote: >> >> I came up with the following question. Using strings of length 5 >> >> (always), write a procedure histogram(s) th

Re: some problems for an introductory python test

2021-08-10 Thread Terry Reedy
On 8/10/2021 9:15 AM, Hope Rouselle wrote: 2.__add__(3) SyntaxError: invalid syntax But then I tried: (2).__add__(3) 5 Add a space is easier. >>> 2 .__add__(3) 5 >>> -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list

Re: some problems for an introductory python test

2021-08-10 Thread Chris Angelico
On Wed, Aug 11, 2021 at 4:18 AM Hope Rouselle wrote: > > Chris Angelico writes: > > [...] > > >> not disagreeing... and yeah I could have thought deeper about the > >> answer, but I still think "notthing has been OOP" -> "yes it has, they > >> just didn't realize it" was worth mentioning > > > >

Re: some problems for an introductory python test

2021-08-10 Thread Chris Angelico
because "2." looks like the beginning of a float. > But then I tried: > > >>> (2).__add__(3) > 5 > > Now I do believe it! :-) Awesome. I had no idea. You can also do it this way: >>> x = 2 >>> x.__add__(3) 5 But don't teach thi

Re: some problems for an introductory python test

2021-08-10 Thread Chris Angelico
On Wed, Aug 11, 2021 at 4:14 AM Hope Rouselle wrote: > > Chris Angelico writes: > > > On Tue, Aug 10, 2021 at 7:25 AM Hope Rouselle > > wrote: > >> I came up with the following question. Using strings of length 5 > >> (always), write a procedure histogram(s) that consumes a string and > >> pro

Re: some problems for an introductory python test

2021-08-10 Thread Hope Rouselle
Mats Wichmann writes: > On 8/9/21 3:07 PM, Hope Rouselle wrote: >> I'm looking for questions to put on a test for students who never had >> any experience with programming, but have learned to use Python's >> procedures, default arguments, if-else, strings, tuples, lists and >> dictionaries. (Th

Re: some problems for an introductory python test

2021-08-10 Thread Hope Rouselle
Chris Angelico writes: [...] >> not disagreeing... and yeah I could have thought deeper about the >> answer, but I still think "notthing has been OOP" -> "yes it has, they >> just didn't realize it" was worth mentioning > > Oh yes, absolutely agree. At the same time, inside the machine nothing

Re: some problems for an introductory python test

2021-08-10 Thread Hope Rouselle
Chris Angelico writes: > On Tue, Aug 10, 2021 at 7:25 AM Hope Rouselle wrote: >> I came up with the following question. Using strings of length 5 >> (always), write a procedure histogram(s) that consumes a string and >> produces a dictionary whose keys are each substrings (of the string) of >>

Re: some problems for an introductory python test

2021-08-09 Thread Chris Angelico
On Tue, Aug 10, 2021 at 1:41 PM Mats Wichmann wrote: > > > On 8/9/21 6:34 PM, Chris Angelico wrote: > > > If you want to highlight the OOP nature of Python, rather than looking > > at magic methods, I'd first look at polymorphism. You can add a pair > > of integers; you can add a pair of tuples; y

Re: some problems for an introductory python test

2021-08-09 Thread Mats Wichmann
On 8/9/21 6:34 PM, Chris Angelico wrote: If you want to highlight the OOP nature of Python, rather than looking at magic methods, I'd first look at polymorphism. You can add a pair of integers; you can add a pair of tuples; you can add a pair of strings. Each one logically adds two things toge

Re: some problems for an introductory python test

2021-08-09 Thread Chris Angelico
On Tue, Aug 10, 2021 at 8:19 AM Mats Wichmann wrote: > Even if you do > > x = 2 + 3 > > you're actually creating an integer object with a value of 2, and > calling its add method to add the integer object with the value of 3 to > it. The syntax hides it, but in a way it's just convenience that it

Re: some problems for an introductory python test

2021-08-09 Thread Mats Wichmann
On 8/9/21 3:07 PM, Hope Rouselle wrote: I'm looking for questions to put on a test for students who never had any experience with programming, but have learned to use Python's procedures, default arguments, if-else, strings, tuples, lists and dictionaries. (There's no OOP at all in this course.

Re: some problems for an introductory python test

2021-08-09 Thread Chris Angelico
On Tue, Aug 10, 2021 at 7:25 AM Hope Rouselle wrote: > I came up with the following question. Using strings of length 5 > (always), write a procedure histogram(s) that consumes a string and > produces a dictionary whose keys are each substrings (of the string) of > length 1 and their correspondin

some problems for an introductory python test

2021-08-09 Thread Hope Rouselle
I'm looking for questions to put on a test for students who never had any experience with programming, but have learned to use Python's procedures, default arguments, if-else, strings, tuples, lists and dictionaries. (There's no OOP at all in this course. Students don't even write ls.append(...).

Re: cant use certain commands, leading to more problems

2021-04-28 Thread Terry Reedy
On 4/28/2021 10:09 AM, Michael Torrie wrote: On 4/28/21 4:00 AM, Rasig Kosonmontri wrote: so i heard that the microsoft store's version of python tends to hide itself. and so i uninstalled it but when i typed in to a powershell it just directs me to the mircrosoft store's page i then disabled it

Re: cant use certain commands, leading to more problems

2021-04-28 Thread Michael Torrie
On 4/28/21 4:00 AM, Rasig Kosonmontri wrote: > so i heard that the microsoft store's version of python tends to hide > itself. and so i uninstalled it > but when i typed in to a powershell it just directs me to the > mircrosoft store's page > i then disabled it from doing that and install python fr

cant use certain commands, leading to more problems

2021-04-28 Thread Rasig Kosonmontri
Hi i was using python for a while and one day i decided to try out a module called "pyinstaller" i installed it with pip and try to run it as a cmdlet, still didnt work i then searched online for solutions and people tell me to try "python -m pyinstaller" to run it directly with python, still didnt

Re: Problems deploying from poetry development environment

2021-04-26 Thread Loris Bennett
y_prog/dist/funky_prog-0.2.0-py3-none-any.whl --upgrade > > This worked. The programs got deployed and could be run by other users > on the system. > > Now I notice the following problems: > > 1. The shebang in the deployed entry point script seems to have > chan

Problems deploying from poetry development environment

2021-04-26 Thread Loris Bennett
programs got deployed and could be run by other users on the system. Now I notice the following problems: 1. The shebang in the deployed entry point script seems to have changed from the system python to the development venv. So where as one program has #!/usr/bin/python3

googletrans problems in python

2021-04-13 Thread Quentin Bock
so I've been experiencing problems with googletrans in python and just found a solution that actually works for me. If you have not tried this option and are having problems with googletrans try this method: *This may work for some and not other I'm too sure install googletrans 3.1.0

Re: Application problems

2021-03-11 Thread Thomas Jollans
On 11/03/2021 15:06, Anssi Saari wrote: Thomas Jollans writes: On 10/03/2021 21:50, Mats Wichmann wrote: For the first one, don't feel too bad, this ("opening the normal python") seems to be biting a lot of people recently I wonder why. Python's installation process isn't any different from

Re: Application problems

2021-03-11 Thread Barry
> On 10 Mar 2021, at 22:14, Thomas Jollans wrote: > > On 10/03/2021 21:50, Mats Wichmann wrote: >> >> For the first one, don't feel too bad, this ("opening the normal python") >> seems to be biting a lot of people recently > > > I wonder why. Python's installation process isn't any differe

Re: Application problems

2021-03-11 Thread Anssi Saari
Thomas Jollans writes: > On 10/03/2021 21:50, Mats Wichmann wrote: >> >> For the first one, don't feel too bad, this ("opening the normal >> python") seems to be biting a lot of people recently > > > I wonder why. Python's installation process isn't any different from > most other Windows softwar

Re: Application problems

2021-03-11 Thread Terry Reedy
On 3/10/2021 2:25 PM, Yoosuf Oluwatosin via Python-list wrote: I have downloaded python 3.9.2 on my hp laptop with windows 10 and tried opening both the normal python and the idle python on my pc but the norml keeps opening the modify, repair and uninstall page while the idle keeps giving a s

  1   2   3   4   5   6   7   8   9   10   >