Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-10 Thread Eryk Sun via Python-list
On 6/10/23, Thomas Passin via Python-list wrote: > > Yes; I didn't want to get too esoteric with commands that are hard to > figure out and remember, because then why not use Powershell, whose > commands are hard to figure out and remember? Using `dir /s [/ad] [/b] "[

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-10 Thread Thomas Passin via Python-list
On 6/10/2023 3:20 PM, Eryk Sun wrote: On 6/10/23, Thomas Passin via Python-list wrote: Yes; I didn't want to get too esoteric with commands that are hard to figure out and remember, because then why not use Powershell, whose commands are hard to figure out and remember? Using `dir /s

Re: AUTO EDITOR DIDN'T WORK

2023-06-12 Thread Thomas Passin via Python-list
On 6/12/2023 5:26 AM, Real Live FootBall Tv via Python-list wrote: I recently Installed and Uninstalled Python, hence the system was trying to get why I UNINSTALLED python. I did it because I was going to use it with another application, A VIDEO EDITING APP, Auto EDITOR but it didn't wor

Fwd: Re: AUTO EDITOR DIDN'T WORK

2023-06-12 Thread Alan Gauld via Python-list
On 12/06/2023 10:26, Real Live FootBall Tv via Python-list wrote: > I did it because I was going to use it with another application, A VIDEO > EDITING APP, Auto EDITOR but it didn't work for some reasons unknown to me. You need to define "didn't work" Did it work a

Re: [Python-ideas] yield functionality to match that of await

2023-06-12 Thread Chris Angelico via Python-list
are against, which is threads that run separate subinterpreters (see PEP 554 and PEP 684 for details). In the ideal situation (both PEPs accepted and implemented, and each client getting a thread with a dedicated subinterpreter), this could sit nicely between threads and processes, giving an in-between level of isolation, performance, overhead, and throughput. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Compiling python on windows with vs

2023-06-13 Thread Thomas Schweikle via Python-list
quot;? And: is there a simple workaround available besides disabling case sensitivity (which will break others)? -- Thomas OpenPGP_signature Description: OpenPGP digital signature -- https://mail.python.org/mailman/listinfo/python-list

Re: Compiling python on windows with vs

2023-06-13 Thread Jim Schwartz via Python-list
What version of visual studio are you using? What version of python? I’ve had success with using the cython package in python and cl from visual studio, but I haven’t tried visual studio alone. Sent from my iPhone > On Jun 13, 2023, at 11:59 AM, Thomas Schweikle via Python-list >

Re: Compiling python on windows with vs

2023-06-13 Thread Thomas Schweikle via Python-list
ot case sensitive -- I'm assuming this a bug now. Building within cygwin (or MSYS, Ubuntu) this works as expected. But there it does not search for "modules" once and "Modules" at an other place. On Jun 13, 2023, at 11:59 AM, Thomas Schweikle via Python-list

Re: Compiling python on windows with vs

2023-06-13 Thread Mats Wichmann via Python-list
On 6/13/23 12:12, Thomas Schweikle via Python-list wrote: Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. What version of python? python 3.10.11 or 3.11.4 I’ve had success with using the cython package

RE: Compiling python on windows with vs

2023-06-13 Thread Jim Schwartz via Python-list
r whatever directory you put python in. cl /O2 /I"%PYTHON_DIR%\Include" c_file_name /link /libpath:"%PYTHON_DIR%\libs" If that doesn't work, that's all I have. Sorry. -Original Message- From: Python-list On Behalf Of Thomas Schweikle via Python-list

Re: Compiling python on windows with vs

2023-06-13 Thread Eryk Sun via Python-list
On 6/13/23, Thomas Schweikle via Python-list wrote: > > Since Git enables Windows NTFS case sensitivity while checking out > sources ... is it a bug or a "feature"? And: is there a simple AFAIK the Windows version of Git (you're not using the Linux version of Git v

Re: Compiling python on windows with vs

2023-06-13 Thread Thomas Schweikle via Python-list
Am Di., 13.Juni.2023 um 20:36:17 schrieb Mats Wichmann via Python-list: On 6/13/23 12:12, Thomas Schweikle via Python-list wrote: Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. What version of python

Fwd: AUTO EDITOR DIDN'T WORK

2023-06-13 Thread Alan Gauld via Python-list
d and reinstalled about twice and still no success hence I uninstalled it. On Mon, 12 Jun 2023, 23:33 Alan Gauld via Python-list, mailto:python-list@python.org>> wrote: On 12/06/2023 10:26, Real Live FootBall Tv via Python-list wrote: > I did it because I was going to use it with another

Re: Fwd: AUTO EDITOR DIDN'T WORK

2023-06-13 Thread Thomas Passin via Python-list
On 6/13/2023 5:32 PM, Alan Gauld via Python-list wrote: Okay thanks. Meanwhile, I am not tech savvy so I may not say much here. I followed all the commands as given on the website to install auto editor standing it on python but after rendering the XML file, I couldn't open it with my Da

Re: Fwd: AUTO EDITOR DIDN'T WORK

2023-06-13 Thread gene heskett via Python-list
On 6/13/23 19:10, Thomas Passin via Python-list wrote: On 6/13/2023 5:32 PM, Alan Gauld via Python-list wrote: Okay thanks. Meanwhile, I am not tech savvy so I may not say much here. I followed all the commands as given on the website to install auto editor standing it on python but after

Re: Fwd: AUTO EDITOR DIDN'T WORK

2023-06-13 Thread Thomas Passin via Python-list
On 6/13/2023 9:43 PM, gene heskett via Python-list wrote: On 6/13/23 19:10, Thomas Passin via Python-list wrote: On 6/13/2023 5:32 PM, Alan Gauld via Python-list wrote: Okay thanks. Meanwhile, I am not tech savvy so I may not say much here. I followed all the commands as given on the website

RE: Fwd: AUTO EDITOR DIDN'T WORK

2023-06-13 Thread AVI GROSS via Python-list
missed it too. If there is a more specific problem like some lines of actual python code not doing what was expected, please share that specifically with enough detail. -Original Message- From: Python-list On Behalf Of Thomas Passin via Python-list Sent: Tuesday, June 13, 2023 10:18

Re: Compiling python on windows with vs

2023-06-13 Thread Inada Naoki via Python-list
> Since Git enables Windows NTFS case sensitivity while checking out sources I didn't know that. Would you give us a link to this feature? As far as I know, `git config core.ignorecase` doesn't mean NTFS case sensitive. On Wed, Jun 14, 2023 at 1:57 AM Thomas Schweikle via Python-

Re: Compiling python on windows with vs

2023-06-14 Thread Eryk Sun via Python-list
On 6/14/23, Inada Naoki via Python-list wrote: >> Since Git enables Windows NTFS case sensitivity while checking out sources > > I didn't know that. Would you give us a link to this feature? > As far as I know, `git config core.ignorecase` doesn't mean NTFS case > sen

Re: Fwd: AUTO EDITOR DIDN'T WORK

2023-06-15 Thread Alan Gauld via Python-list
On 15/06/2023 08:58, Real Live FootBall Tv via Python-list wrote: > I have followed the instructions given on how to install the app. What I > needed was an application to cut of silence from my video and I saw auto > editor demonstrated as one of the applications that could do that. It d

Re: Compiling python on windows with vs

2023-06-15 Thread Thomas Schweikle via Python-list
Am Mi., 14.Juni.2023 um 15:10:50 schrieb Eryk Sun: On 6/14/23, Inada Naoki via Python-list wrote: Since Git enables Windows NTFS case sensitivity while checking out sources I didn't know that. Would you give us a link to this feature? As far as I know, `git config core.ignorecase` do

Re: Compiling python on windows with vs

2023-06-15 Thread Inada Naoki via Python-list
doesn't support building on case sensitive directory. But I think it is a nice improvement if next Python supports it. Regards, -- Inada Naoki -- https://mail.python.org/mailman/listinfo/python-list

Re: Compiling python on windows with vs

2023-06-15 Thread Eryk Sun via Python-list
On 6/15/23, Thomas Schweikle via Python-list wrote: > > In this case: not sure what is going on. Possibly you have a setting configured that affects the behavior of Git via the MinGW-w64 runtime, such that calling mkdir() ends up calling NtSetInformationFile() to s

Re: Compiling python on windows with vs

2023-06-15 Thread Thomas Schweikle via Python-list
gital signature -- https://mail.python.org/mailman/listinfo/python-list

Re: Compiling python on windows with vs

2023-06-15 Thread Thomas Schweikle via Python-list
Am Do., 15.Juni.2023 um 16:28:21 schrieb Eryk Sun: On 6/15/23, Thomas Schweikle via Python-list wrote: In this case: not sure what is going on. Possibly you have a setting configured that affects the behavior of Git via the MinGW-w64 runtime, such that calling mkdir() ends up calling

Re: Compiling python on windows with vs

2023-06-15 Thread Eryk Sun via Python-list
On 6/15/23, Thomas Schweikle via Python-list wrote: > > No. This flag is not inherited. Someone has to set it for created > directories. It is easy to confirm: take a directory not under MSYS or > cygwin control (because it is mounted by MSYS or cygwin), set the flag, > then cre

Re: Enum + new in 3.11

2023-06-16 Thread Thomas Passin via Python-list
On 6/16/2023 1:40 AM, dn via Python-list wrote: Have you figured-out a use for the @enum.member and @enum.nonmember decorators (new in Python 3.11)? "What's New" says: Added the member() and nonmember() decorators, to ensure the decorated object is/is not converted to an enu

Re: Enum + new in 3.11

2023-06-16 Thread Thomas Passin via Python-list
On 6/16/2023 7:37 PM, dn via Python-list wrote: On 16/06/2023 23.47, Thomas Passin via Python-list wrote: On 6/16/2023 1:40 AM, dn via Python-list wrote: Have you figured-out a use for the @enum.member and @enum.nonmember decorators (new in Python 3.11)? mypy is having trouble with 3.11

File system path annotations

2023-06-19 Thread Peter Slížik via Python-list
x27;m asking the obvious, but after some googling I came to the conclusion that information on this topic is surprisingly limited to a few StackOverflow questions. Best regards, Peter -- https://mail.python.org/mailman/listinfo/python-list

Re: File system path annotations

2023-06-19 Thread Roel Schroeven via Python-list
Op 19/06/2023 om 10:43 schreef Peter Slížik via Python-list: Hello, what is the preferred way of annotating file system paths? This StackOverflow answer <https://stackoverflow.com/a/58541858/1062139> (and a few others) recommend using the str | os.PathLike union. However, byte arrays

Re: File system path annotations

2023-06-19 Thread Peter Slížik via Python-list
ening. People on the Internet keep using *str* as their path representation choice. Presumably, programmers don't feel the need to bother with a complex solution if the simplest option works just fine. Peter -- https://mail.python.org/mailman/listinfo/python-list

Re: File system path annotations

2023-06-19 Thread Roel Schroeven via Python-list
hough. -- "Your scientists were so preoccupied with whether they could, they didn't stop to think if they should" -- Dr. Ian Malcolm -- https://mail.python.org/mailman/listinfo/python-list

Re: File system path annotations

2023-06-19 Thread Thomas Passin via Python-list
On 6/19/2023 10:04 AM, Roel Schroeven via Python-list wrote: Op 19/06/2023 om 11:44 schreef Peter Slížik: Thank you, Roel. You've answered all my questions. > [PEP 519]: ...as that can be represented with typing.Union[str, bytes, os.PathLike] easily enough and the hope is users >

Should NoneType be iterable?

2023-06-19 Thread Peter Bona via Python-list
if mylist is not None: for x in mylist: print(x) I think Python should handle this case gracefully: if a code would iterate over None: it should not run any step. but proceed the next statement. Has this been discussed or proposed? Thanks Peter -- https://mail.python.org/mailman/listinfo/python-list

Re: Should NoneType be iterable?

2023-06-19 Thread Chris Angelico via Python-list
On Tue, 20 Jun 2023 at 02:37, Peter Bona via Python-list wrote: > > Hi > > I am wondering if there has been any discussion why NoneType is not iterable > My feeling is that it should be. > Sometimes I am using API calls which return None. > If there is a return value (wh

Bug in io.TextIOWrapper?

2023-06-19 Thread Jon Ribbens via Python-list
iously using the 'idna' wrapper as an encoding on a stream is a bit unlikely, but nevertheless any other codec which cares about the 'final' parameter will also have this problem. -- https://mail.python.org/mailman/listinfo/python-list

Re: Bug in io.TextIOWrapper?

2023-06-19 Thread Inada Naoki via Python-list
stream.flush() doesn't mean final output. Try stream.close() 2023年6月20日(火) 1:40 Jon Ribbens via Python-list : > io.TextIOWrapper() wraps a binary stream so you can write text to it. > It takes an 'encoding' parameter, which it uses to look up the codec > in the codecs re

Re: Bug in io.TextIOWrapper?

2023-06-19 Thread Inada Naoki via Python-list
You can use file instead of BytesIO 2023年6月20日(火) 3:05 Peter J. Holzer via Python-list : > On 2023-06-20 02:15:00 +0900, Inada Naoki via Python-list wrote: > > stream.flush() doesn't mean final output. > > Try stream.close() > > After close() the value isn't availa

Re: Bug in io.TextIOWrapper?

2023-06-19 Thread Inada Naoki via Python-list
y for now. -- https://mail.python.org/mailman/listinfo/python-list

Re: Should NoneType be iterable?

2023-06-19 Thread Neal Becker via Python-list
On Mon, Jun 19, 2023 at 12:42 PM Chris Angelico via Python-list < python-list@python.org> wrote: > On Tue, 20 Jun 2023 at 02:37, Peter Bona via Python-list > wrote: > > > > Hi > > > > I am wondering if there has been any discussion why NoneType is not > i

Re: Bug in io.TextIOWrapper?

2023-06-19 Thread Jon Ribbens via Python-list
ose. -- https://mail.python.org/mailman/listinfo/python-list

Attaching a mock function to another mock breaks reset_mock()

2023-06-19 Thread Mark Bourne via Python-list
tion, and general tutorials on using create_autospec, attach_mock, etc. without anything specific about this case. -- Mark. -- https://mail.python.org/mailman/listinfo/python-list

Re: Should NoneType be iterable?

2023-06-19 Thread Greg Ewing via Python-list
I would question the wisdom of designing an API that can return either a sequence or None. If it normally returns a sequence, and there are no items to return, it should return an empty sequence. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: Should NoneType be iterable?

2023-06-20 Thread Greg Ewing via Python-list
rather than blindly trying to iterate over the result. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

[RELEASE] Python 3.12.0 beta 3 released

2023-06-20 Thread Thomas Wouters via Python-list
supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation. Regards from a suddenly very stormy Amsterdam, Thomas Wouters Your release team, Ned Deily Steve Dower Łukasz Langa -- Thomas Wouters -- https://mail.python.org/mailman/listinfo/python-list

Re: [RELEASE] Python 3.12.0 beta 3 released

2023-06-20 Thread Fulian Wang via Python-list
學習,有所安息,也歡迎分享於其他人,並幫助Hestates.org更好! ''' return [hestates.encode()] httpd = wsgiref.simple_server.make_server('', 8000, application) httpd.serve_forever() Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows Get Outlook for iOS<https:/

Re: Should NoneType be iterable?

2023-06-20 Thread Igor Berger via Python-list
On Monday, June 19, 2023 at 4:11:15 PM UTC-4, Julio Di Egidio wrote: > On Monday, 19 June 2023 at 21:58:21 UTC+2, dn wrote: > > On 20/06/2023 06.12, Neal Becker via Python-list wrote: > > > > I prefer iteration of None to be an error, as in my usage it usually > >

Re: Should NoneType be iterable?

2023-06-20 Thread Roel Schroeven via Python-list
Op 20/06/2023 om 2:50 schreef Greg Ewing via Python-list: I would question the wisdom of designing an API that can return either a sequence or None. If it normally returns a sequence, and there are no items to return, it should return an empty sequence. I guess it depends on the reason why there

Re: How to add CC and BCC while sending mails using python

2023-06-20 Thread sonam Kumari via Python-list
> > to = 'e...@domain.gov' > cc = 'e...@gmailmail.com' > bcc = 'e...@home.net' > msg = MIMEMultipart() > msg['To'] = to > msg['Cc'] = cc > msg['Subject'] = 'My Subject text here' > msg['From'] = 'eds...@domain.gov' > > smtp = SMTP("smtpserver") > smtp.ehlo() > smtp.sendmail(msg['From'], [to, cc, bcc], msg.as_string()) > > Thanks in advance..hope you're still out there!! > ~Ed I tried this but my mail gets sent only in to but not in cc. Can anyone help? -- https://mail.python.org/mailman/listinfo/python-list

Re: Should NoneType be iterable?

2023-06-20 Thread Chris Angelico via Python-list
On Wed, 21 Jun 2023 at 03:46, Igor Berger via Python-list wrote: > Most of the regulars in this list/group read the posts using the mailing list > and > have declared that they explicitly filter out anything posted on Google > Groups. > > I've seen it multiple times with

Re: How to add CC and BCC while sending mails using python

2023-06-20 Thread Roel Schroeven via Python-list
sonam Kumari via Python-list schreef op 20/06/2023 om 9:49: > > I've tried the above code and the bcc address does not receive the message, on the To & CC addresses receive it. > > Here are snippets from my code, perhaps something will stand out to you? > > to = &

Re: Should NoneType be iterable?

2023-06-20 Thread Cameron Simpson via Python-list
And of course I'm very -1 on None acquiring iteration or other features. Fail early, fail often! Cheers, Cameron Simpson -- https://mail.python.org/mailman/listinfo/python-list

Re: Should NoneType be iterable?

2023-06-20 Thread Chris Angelico via Python-list
On Wed, 21 Jun 2023 at 09:59, Cameron Simpson via Python-list wrote: > I wasted some time the other evening on an API which returned a string > or None. My own API, and the pain it caused tells me that that API > design choice isn't good (it's an automatic attribute based on

Re: Should NoneType be iterable?

2023-06-20 Thread Cameron Simpson via Python-list
On 21Jun2023 10:09, Chris Angelico wrote: On Wed, 21 Jun 2023 at 09:59, Cameron Simpson via Python-list wrote: I wasted some time the other evening on an API which returned a string or None. My own API, and the pain it caused tells me that that API design choice isn't good (it's an

What is this TEST BANK stuff ?

2023-06-21 Thread Dan Kolis via Python-list
https://mail.python.org/mailman/listinfo/python-list

TKinter in Python - advanced notions

2023-06-21 Thread Dan Kolis via Python-list
.{ col_Idx + len( 'happy birthday' ) }" ) except: gg = 457 # Button CB def clear_Some( self ): self.da_Text.tag_remove( "reddingo", "1.0", 'end' ) self.da_Text.tag_remove( "bluedingo", "1.0", 'end' ) # Main body really def is_Main(): root = tk.Tk() Pad( root ).pack( expand=1, fill="both" ) root.mainloop() # Go if __name__ == "__main__": is_Main() Document end my ref: 21 Jun 2023, https://groups.google.com/g/comp.lang.python, Daniel B. Kolis, nafl -- https://mail.python.org/mailman/listinfo/python-list

Python Issue

2023-06-21 Thread Pickle Pork via Python-list
Python is unable to open. Exit Code: 1 -- https://mail.python.org/mailman/listinfo/python-list

Re: What is this TEST BANK stuff ?

2023-06-21 Thread Chris Angelico via Python-list
On Thu, 22 Jun 2023 at 02:54, Dan Kolis via Python-list wrote: > > Why do we tolerate this spam ? > > this seems most likely a way to inject viruses into people's workflow. > > That wiped out usenet. Ahh without an explaination; ( and it woudl have to be > a good one

Re: What is this TEST BANK stuff ?

2023-06-21 Thread Grant Edwards via Python-list
On 2023-06-21, Chris Angelico via Python-list wrote: > On Thu, 22 Jun 2023 at 02:54, Dan Kolis via Python-list > wrote: >> >> Why do we tolerate this spam ? >> >> this seems most likely a way to inject viruses into people's workflow. >> >> That wiped

Re: Email list and part of website code

2023-06-22 Thread Fulian Wang via Python-list
s new one. Anyone has other email list problems ? Get Outlook for iOS<https://aka.ms/o0ukef> From: Fulian Wang Sent: Thursday, June 22, 2023 12:35:20 PM To: Cebtenzzre ; python-list@python.org Subject: Email list and part of website code For technica

Re: TKinter in Python - advanced notions

2023-06-22 Thread Diego Souza via Python-list
a small project such as the code you showed, but I recommend it for larger projects. On Wed, Jun 21, 2023 at 7:20 PM aapost via Python-list < python-list@python.org> wrote: > On 6/21/23 09:47, Dan Kolis wrote: > > I've write a huge biotech program ( an IDE for synthetic

RE: TKinter in Python - advanced notions

2023-06-23 Thread Andreas Heckel via Python-list
, which I certainly still am, but also show enough complexity to see the concept in action. Any hints / links to github or similar highly welcome. If the list is not the appropriate place, I am happy if you email me directly. Cheers, Andreas > -Original Message- > From: Python-list

Re: TKinter in Python - advanced notions

2023-06-23 Thread Dan Kolis via Python-list
://mail.python.org/mailman/listinfo/python-list

Re: TKinter in Python - advanced notions - reactive

2023-06-23 Thread Dan Kolis via Python-list
it react. Regards, thanks, Dan -- https://mail.python.org/mailman/listinfo/python-list

Re: TKinter in Python - advanced notions

2023-06-23 Thread Thomas Passin via Python-list
On 6/23/2023 4:16 AM, Andreas Heckel via Python-list wrote: Hi, Apologies for potentially mis-using this thread. But I have been struggling recently making exactly this leap from simple GUI examples to a more elaborate MVVM concept. Mainly I have been struggling finding nice example python

Re: TKinter in Python - advanced notions

2023-06-23 Thread Chris Angelico via Python-list
On Sat, 24 Jun 2023 at 15:57, Thomas Passin via Python-list wrote: > As a general comment (and I have not done anything tricky or complex > with Tk), MVC or the other approaches in a similar vein, though good, > can lead you into more complexity than you need, because of the extra >

Trouble with defaults and timeout decorator

2023-06-24 Thread Jason Friedman via Python-list
defined -- https://mail.python.org/mailman/listinfo/python-list

unable to run the basic Embedded Python example

2023-06-24 Thread Dave Ohlsson via Python-list
ython-Desktop_Qt_6_1_3_MSVC2019_64bit-Debug' sys.path = [ 'C:\\temp\\Python-3.11.4\\PCbuild\\amd64\\python311_d.zip', 'C:\\temp\\build-embedded_python-Desktop_Qt_6_1_3_MSVC2019_64bit-Debug', 'C:\\temp\\build-embedded_python-Desktop_Qt_6_1_3_MSVC2019_64bit-Debug\\Lib', 'C:\\temp\\build-embedded_python-Desktop_Qt_6_1_3_MSVC2019_64bit-Debug\\debug', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x4298 (most recent call first): 20:14:06: C:\temp\build-embedded_python-Desktop_Qt_6_1_3_MSVC2019_64bit-Debug\debug\embedded_python.exe exited with code 1 What am I doing wrong? -- https://mail.python.org/mailman/listinfo/python-list

Re: Trouble with defaults and timeout decorator

2023-06-24 Thread Piergiorgio Sartor via Python-list
with: NameError: name 'self' is not defined A quick search would return that "self" is not available in the class body, only in the class methods. There are workarounds, but I guess not simple ones, expecially for "timeout". bye, -- piergiorgio -- https://mail

TKinter in Python - advanced notions - ok

2023-06-24 Thread Dan Kolis via Python-list
f: 24 Jun 2023, https://groups.google.com/g/comp.lang.python/ -- https://mail.python.org/mailman/listinfo/python-list

Re: unable to run the basic Embedded Python example

2023-06-24 Thread Fulian Wang via Python-list
Python-list on behalf of Dave Ohlsson via Python-list Sent: Saturday, June 24, 2023 15:35 To: python-list@python.org Subject: unable to run the basic Embedded Python example I cannot get the simple program https://docs.python.org/3/extending/embedding.html#very-high-level-embedding to wor

Re: unable to run the basic Embedded Python example

2023-06-24 Thread Fulian Wang via Python-list
_ From: Fulian Wang Sent: Saturday, June 24, 2023 7:43:56 PM To: Dave Ohlsson ; python-list@python.org Subject: Re: unable to run the basic Embedded Python example I study computer science in byu.edu, we choose the 3.4.3 vision. No matter which kind of computers or windows, I needed to download i

Re: unable to run the basic Embedded Python example

2023-06-26 Thread Christian Gollwitzer via Python-list
the C code. Christian -- https://mail.python.org/mailman/listinfo/python-list

my excel file is not updated to add new data

2023-06-26 Thread small marcc via Python-list
= pd.concat([df_existant, df], ignore_index=True) df_concat.to_excel(chemin_fichier_excel, index=False) with pd.ExcelWriter(path, engine='xlsxwriter') as writer: df.to_excel(writer, index=False, sheet_name='Clients') print("sauvegarde reussi") fenetre_info.destroy() -- https://mail.python.org/mailman/listinfo/python-list

Re: my excel file is not updated to add new data

2023-06-26 Thread Thomas Passin via Python-list
On 6/26/2023 1:46 PM, small marcc via Python-list wrote: pandas.ExcelWriter import pandas This code creates the path to the Excel file where the data will be written. It checks if the file already exists, and if so, reads the existing data into a DataFrame. Otherwise, it creates a new empty

scipy.optimize.least_squares for more than one dimension?

2023-06-30 Thread Martin Schöön via Python-list
was burning midnight oil... TIA /Martin -- https://mail.python.org/mailman/listinfo/python-list

from __future__ import annotations bug?

2023-06-30 Thread Joseph Garvin via Python-list
l.python.org/mailman/listinfo/python-list

Re: from __future__ import annotations bug?

2023-06-30 Thread Joseph Garvin via Python-list
in that area in general and isn't always type annotation related, > but does this mean that even with PEP 649 that forward references will > still be needed? > -- https://mail.python.org/mailman/listinfo/python-list

Re: from __future__ import annotations bug?

2023-06-30 Thread Inada Naoki via Python-list
> but does this mean that even with PEP 649 that forward references will > still be needed? Yes. Both of PEP 563 and PEP 649 solves not all forward reference issues. -- Inada Naoki -- https://mail.python.org/mailman/listinfo/python-list

Multiple inheritance and a broken super() chain

2023-07-03 Thread Peter Slížik via Python-list
going on here? Thanks, Peter -- https://mail.python.org/mailman/listinfo/python-list

Re: Multiple inheritance and a broken super() chain

2023-07-03 Thread Richard Damon via Python-list
On 7/3/23 1:38 PM, Peter Slížik via Python-list wrote: Hello. The legacy code I'm working with uses a classic diamond inheritance. Let me call the classes *Top*, *Left*, *Right*, and *Bottom*. This is a trivial textbook example. The classes were written in the pre-super() era, so all of

Re: Multiple inheritance and a broken super() chain

2023-07-03 Thread Mats Wichmann via Python-list
On 7/3/23 12:01, Richard Damon via Python-list wrote: On 7/3/23 1:38 PM, Peter Slížik via Python-list wrote: Hello. The legacy code I'm working with uses a classic diamond inheritance. Let me call the classes *Top*, *Left*, *Right*, and *Bottom*. This is a trivial textbook example

Re: Multiple inheritance and a broken super() chain

2023-07-03 Thread Chris Angelico via Python-list
On Tue, 4 Jul 2023 at 03:39, Peter Slížik via Python-list wrote: > > Hello. > > The legacy code I'm working with uses a classic diamond inheritance. Let me > call the classes *Top*, *Left*, *Right*, and *Bottom*. > This is a trivial textbook example. The classes were wri

Re: Multiple inheritance and a broken super() chain

2023-07-03 Thread Mats Wichmann via Python-list
On 7/3/23 12:13, Mats Wichmann via Python-list wrote: To natter on a bit, and possibly muddy the waters even further... Now, as I see it, from the super()'s point of view, there are two inheritance chains, one starting at Left and the other at Right. But *Right.__init__()* is called twic

Re: Multiple inheritance and a broken super() chain

2023-07-04 Thread Peter Slížik via Python-list
ormatting of my code examples was completely removed; sorry for that. Best regards, Peter -- https://mail.python.org/mailman/listinfo/python-list

Re: Multiple inheritance and a broken super() chain

2023-07-04 Thread Chris Angelico via Python-list
On Tue, 4 Jul 2023 at 22:06, Peter Slížik via Python-list wrote: > > > > > Also, you might find that because of the MRO, super() in your Bottom > > class would actually give you what you want. > > > > I knew this, but I wanted to save myself some refactoring, as

Best practices for using super()

2023-07-04 Thread Peter Slížik via Python-list
This all works, but are there situations in which calling them explicitly using a parent class name is preferred? Best regards, Peter -- https://mail.python.org/mailman/listinfo/python-list

Re: Multiple inheritance and a broken super() chain

2023-07-04 Thread Alan Gauld via Python-list
On 03/07/2023 19:39, Chris Angelico via Python-list wrote: > On Tue, 4 Jul 2023 at 03:39, Peter Slížik via Python-list >> The legacy code I'm working with uses a classic diamond inheritance. > What happens when Top is initialized twice? This seems like a problem > waiting to

Re: Multiple inheritance and a broken super() chain

2023-07-04 Thread Chris Angelico via Python-list
On Wed, 5 Jul 2023 at 08:35, Alan Gauld via Python-list wrote: > > On 03/07/2023 19:39, Chris Angelico via Python-list wrote: > > On Tue, 4 Jul 2023 at 03:39, Peter Slížik via Python-list > >> The legacy code I'm working with uses a classic diamond inheritance. >

Re: Multiple inheritance and a broken super() chain

2023-07-04 Thread Greg Ewing via Python-list
rs in your ancestry. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: Multiple inheritance and a broken super() chain

2023-07-04 Thread Chris Angelico via Python-list
On Wed, 5 Jul 2023 at 10:31, Greg Ewing via Python-list wrote: > > On 5/07/23 10:33 am, Alan Gauld wrote: > > (*) C++ is the odd one out because it doesn't have GC, but then > > neither does it have an Object superclass so very often MI in C++ > > does not i

Re: Best practices for using super()

2023-07-05 Thread Lars Liedtke via Python-list
/grundsaetze-der-datenverarbeitung.php Am 04.07.23 um 14:20 schrieb Peter Slížik via Python-list: As a follow-up to my yesterday's question - are there any recommendations on the usage of super()? It's clear that super() can be used to invoke parent's: - instance methods -

Re: Multiple inheritance and a broken super() chain

2023-07-05 Thread Alan Gauld via Python-list
On 05/07/2023 01:27, Chris Angelico via Python-list wrote: >> So I'm curious about how big this "big problem with MI" is in > > Who said it's a big problem with MI? I think it's a very common perception, particularly with newer programmers who have ne

Re: What is this TEST BANK stuff ?

2023-07-06 Thread a a via Python-list
what is the purpsoe of this, why is it here ? > > Can it be eliminated ? > > Regards, > Dan Just call Google guys and ask, why usenet groups turned DejaNews, aquired by Google in the past are not protected against massive spam by a single easy script -- https://mail.python.org/mailman/listinfo/python-list

Re: What is this TEST BANK stuff ?

2023-07-06 Thread Chris Angelico via Python-list
On Fri, 7 Jul 2023 at 03:33, neopolitan via Python-list wrote: > > On 6/21/23 08:37, Dan Kolis wrote: > > Why do we tolerate this spam ? > > > > this seems most likely a way to inject viruses into people's workflow. > > > > That wiped out usenet. Ahh wit

Re: scipy.optimize.least_squares for more than one dimension?

2023-07-09 Thread Martin Schöön via Python-list
st_squares tonight. All simple examples I tried worked regardless of number of dimensions. I went back to my old code and found a couple of basic mistakes. Done. /Martin -- https://mail.python.org/mailman/listinfo/python-list

[RELEASE] Python 3.12.0 beta 4 released

2023-07-11 Thread Thomas Wouters via Python-list
n Software Foundation <https://www.python.org/psf-landing/>. Regards from the alternating thunderstorms and heat waves in Amsterdam, Thomas Wouters. Your release team, Ned Deily Steve Dower Łukasz Langa -- Thomas Wouters -- https://mail.python.org/mailman/listinfo/python-list

Canonical list of Python security vulnerabilities

2023-07-14 Thread Bob Kline via Python-list
ystems.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Canonical list of Python security vulnerabilities

2023-07-14 Thread Bob Kline via Python-list
lts found." -- https://mail.python.org/mailman/listinfo/python-list

Re: Canonical list of Python security vulnerabilities

2023-07-14 Thread Bob Kline via Python-list
rg/mailman/listinfo/python-list

<    15   16   17   18   19   20   21   22   23   24   >