Re: PyGILState_Ensure() deadlocks, why?

2024-07-08 Thread Barry Scott via Python-list
> On 7 Jul 2024, at 23:21, Barry via Python-list wrote: > > > >> On 7 Jul 2024, at 22:09, Tomas Ukkonen via Python-list >> wrote: >> >>Py_Initialize(); > > You also need to tell python to init threading. I'm in front of my dev machine now and checking up on threading. There is no l

Re: A new feature request - parser add_mutually_exclusive_group - add a default value

2024-07-09 Thread Barry Scott via Python-list
> On 9 Jul 2024, at 06:13, ⁨אורי via Python-list⁩ <⁨python-list@python.org⁩> > wrote: > > I tried to subscribe to Python-ideas These days ideas are discussed on https://discuss.python.org/ It is rare to see an idea on the mailing list. Barry -- https://mail.python.org/mailman/listinfo/pyt

Re: Installation of Slixfeed with pip fails

2024-08-03 Thread Barry Scott via Python-list
> On 30 Jul 2024, at 18:36, Schimon Jehudah via Python-list > wrote: > > Greetings, to one and all! > > My name is Schimon, and I am the developer of a news chat bot for the > XMPP network, called Slixfeed. > > I have recently added support for OMEMO encryption, and a friend of > mine has r

Re: python C-api and thread

2024-08-06 Thread Barry Scott via Python-list
> On 6 Aug 2024, at 07:11, aotto1968 via Python-list > wrote: > > I know but I use a thread like a process because the "conversation" between > the threads is done by my > software. a Thread is usually faster to startup (thread-pool) this mean for > high-load this is > significant faster ev

Re: Issue bootstrapping Python - troubleshooting steps?

2024-08-06 Thread Barry Scott via Python-list
> On 6 Aug 2024, at 02:49, Piper McCorkle via Python-list > wrote: > > $ /tmp/sources/Python-3.12.4/configure --enable-shared --with-system-expat > --enable-optimizations --prefix= I assume that you must provide a value for --prefix. The linux default would be --prefix=/usr Barry -- htt

Re: Error codes

2024-08-13 Thread Barry Scott via Python-list
> On 11 Aug 2024, at 13:06, Charlotte Plant via Python-list > wrote: > > Hiya, I'm using the sims 4 mod constructor by Zerbu, and when saving I'm > getting these error codes. > I'm going around in circles trying to figure out what is causing it, and I'm > stuck! > Can you help please? > Than

Re: ListAdmin: Is list/archive working correctly?

2024-08-31 Thread Barry Scott via Python-list
> On 30 Aug 2024, at 23:28, dn via Python-list wrote: > > Me email (only) client shows a thread of 12 messages. > > The OP was @Gilmeh Serda (from an invalid email address). That appears in the > email thread > > @Stefan Ram has had two contributions quoted, but no such original-message >

Re: Getting a Process.start() error pickle.PicklingError: Can't pickle : it's not found as __builtin__.module with Python 2.7

2024-09-02 Thread Barry Scott via Python-list
> On 2 Sep 2024, at 15:00, marc nicole via Python-list > wrote: > > I am using Python 2.7 on Windows 10 Why? Install Python 3.12 and it will be easier to get help and support. If you have legacy that still needs porting then you can install 3.12 along side the unsupported 3.12. Barry --

Re: Crash when launching python

2024-09-04 Thread Barry Scott via Python-list
> On 4 Sep 2024, at 16:27, Guenther Sohler via Python-list > wrote: > > Is it possible to turn on debugging and to display on the console, where > python is loading files from ? > I assume you have a .app that is then packaged into a .dmg. It will be the .app that you need to either build

Re: Common objects for CLI commands with Typer

2024-09-23 Thread Barry Scott via Python-list
> On 21 Sep 2024, at 11:40, Dan Sommers via Python-list > wrote: > > Despite the fact that "everything is an object" in Python, you don't > have to put data or functions inside classes or objects. I also know > nothing about Typer, but there's nothing wrong with functions in a > module. Pyt

Newbie needs help with regex strings

2005-12-14 Thread Catalina Scott A Contr AFCA/EVEO
ull out some of the values and write them to a csv file. For line in filea pie = regex quantity = regex cooked = regex ingredients = regex fileb.write (quantity,pie,cooked,ingredients) How can I retreive the values and assign them to a name? Thank you Sc

help with loops

2006-03-06 Thread Catalina Scott A Contr AFCA/EVEO
readfile2:     list2 = line.split(',')         if list1[3] == list2[6] and list1[4] == list2[8]:     print line     This code only compares the last line of readfile1. I want it to check all lines. But I do not know how to construct the loop.       Thanks in advance,   Scott

RE: help with loops

2006-03-06 Thread Catalina Scott A Contr AFCA/EVEO
I was trying to compare each line of file1 with each line of file2. Your solution worked perfectly. Thanks! Scott -Original Message- From: Tim Chase [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 9:17 AM To: Catalina Scott A Contr AFCA/EVEO Cc: python-list@python.org Subject

RE: help with loops

2006-03-06 Thread Catalina Scott A Contr AFCA/EVEO
(",") for line2 in file2.readlines(): list2 = line2.split(",") if (list1[3] == list2[6] and list1[4] == list2[8]): print line Thanks, Scott -Original Message- From: Catalina Scott A Contr AFCA/EVEO Sent: Monday,

help with loops

2006-03-08 Thread Catalina Scott A Contr AFCA/EVEO
Paul, I will check out difflib thanks.   Scott -- http://mail.python.org/mailman/listinfo/python-list

<    17   18   19   20   21   22