Re: "undefined symbol" in C extension module

2022-01-22 Thread Dan Stromberg
Perhaps try: https://stromberg.dnsalias.org/svn/find-sym/trunk It tries to find symbols in C libraries. In this case, I believe you'll find it in -lpythonx.ym On Sat, Jan 22, 2022 at 12:43 PM Robert Latest via Python-list < python-list@python.org> wrote: > Hi guys, > > I've written some CPytho

Re: What to write or search on github to get the code for what is written below:

2022-01-22 Thread Dennis Lee Bieber
On Sun, 23 Jan 2022 09:17:38 +1100, Chris Angelico declaimed the following: > >Absolutely agree with making a console app first. Though I rather >suspect the OP doesn't want to write any code at all. > Oh, it's gone beyond suspicion -- considering that, at just 10 lines per day, over th

Re: How to test for maildir 'folder' in Python?

2022-01-22 Thread Cameron Simpson
On 22Jan2022 21:26, Chris Green wrote: >So I need to test whether a point I have reached in the hierarchy is a >maildir mailbox or not. Using mbox format it's easy because 'folders' >are directories and mailboxes are files. However with maildir the >'folders' have directories within them so the

Re: What to write or search on github to get the code for what is written below:

2022-01-22 Thread Chris Angelico
On Sun, 23 Jan 2022 at 09:15, Dennis Lee Bieber wrote: > A web > application has every action as a distinct connection and needs identifying > tokens [cookies] to let the logic know what was done previously > Usually. Fortunately, we have SOME features that can make life easier, but in general, y

Re: What to write or search on github to get the code for what is written below:

2022-01-22 Thread Dennis Lee Bieber
On Sat, 22 Jan 2022 02:22:14 -0800 (PST), NArshad declaimed the following: > >The user is going to enter the book name as the input of an HTML form on a >website and I have to check whether the book is present or not in the Excel >table As written, the user will have to know the exact

How to test for maildir 'folder' in Python?

2022-01-22 Thread Chris Green
I have a script that walks a quite deep tree of mail messages to find and archive old messages. I'm trying to convert it from mbox to maildir (as I now store my mail in maildir format). So I need to test whether a point I have reached in the hierarchy is a maildir mailbox or not. Using mbox form

Re: What to write or search on github to get the code for what is written below:

2022-01-22 Thread Avi Gross via Python-list
I keep wondering about the questions asked by NArshad here. His message can be read below mine, for context. This is a place focused on using the Python language. The web page being in HTML is beyond irrelevant and in particular, web pages generally are in HTML even if only as a way to call oth

Re: What to write or search on github to get the code for what is written below:

2022-01-22 Thread Chris Angelico
On Sun, 23 Jan 2022 at 07:47, Dennis Lee Bieber wrote: > If you are doing a web application, how are you going to host it? Who > is responsible for managing the web server? Domain name? Firewalls? > Certificates if you need HTTPS rather than plain insecure HTTP. > > I have a Raspbe

Re: What to write or search on github to get the code for what is written below:

2022-01-22 Thread Dennis Lee Bieber
On Sat, 22 Jan 2022 02:22:14 -0800 (PST), NArshad declaimed the following: > >The user is going to enter the book name as the input of an HTML form on a >website and I have to check whether the book is present or not in the Excel >table. openpyxl preferred pandas is also fine anything left. Cas

Re: What to write or search on github to get the code for what is written below:

2022-01-22 Thread NArshad
The user is going to enter the book name as the input of an HTML form on a website and I have to check whether the book is present or not in the Excel table. openpyxl preferred pandas is also fine anything left. Case sensitivity is not required. I tried to find code or tutorial on google searc

"undefined symbol" in C extension module

2022-01-22 Thread Robert Latest via Python-list
Hi guys, I've written some CPython extension modules in the past without problems. Now after moving to a new Archlinux box with Python3.10 installed, I can't build them any more. Or rather, I can build them but not use them due to "undefined symbols" during linking. Here's ldd's output when used o