Re: XML Considered Harmful

2021-09-22 Thread Dennis Lee Bieber
On Wed, 22 Sep 2021 09:52:59 -0500, "Michael F. Stemper" declaimed the following: >On 21/09/2021 19.30, Eli the Bearded wrote: >> In comp.lang.python, Michael F. Stemper wrote: >>> How does CSV handle hierarchical data? For instance, I have >>> generators[1], each of which has a name, a fuel and

Re: Polymorphic imports

2021-09-22 Thread Chris Angelico
On Thu, Sep 23, 2021 at 4:20 AM Dennis Lee Bieber wrote: > > The other alternative may be > https://docs.python.org/3/library/functions.html#__import__ > I wouldn't recommend calling a dunder. If you just want to pass a text string and get back a module, importlib is a better choice. Chr

Re: XML Considered Harmful

2021-09-22 Thread Dennis Lee Bieber
On Tue, 21 Sep 2021 13:12:10 -0500, "Michael F. Stemper" declaimed the following: >On the prolog thread, somebody posted a link to: > > >One thing that it tangentially says is "XML is not the answer." > >I read this page right when I was abo

Re: XML Considered Harmful

2021-09-22 Thread Michael F. Stemper
On 21/09/2021 19.30, Eli the Bearded wrote: In comp.lang.python, Michael F. Stemper wrote: I've heard of JSON, but never done anything with it. You probably have used it inadvertantly on a regular basis over the past few years. Websites live on it. I used to use javascript when I was runnin

Re: XML Considered Harmful

2021-09-22 Thread Michael F. Stemper
On 21/09/2021 16.21, Pete Forman wrote: "Michael F. Stemper" writes: On 21/09/2021 13.49, alister wrote: On Tue, 21 Sep 2021 13:12:10 -0500, Michael F. Stemper wrote: It's my own research, so I can give myself the data in any format that I like. as far as I can see the main issue with XML i

Re: XML Considered Harmful

2021-09-22 Thread Pete Forman
Jon Ribbens writes: > On 2021-09-21, Pete Forman wrote: >> CSV is quite good as a lowest common denominator exchange format. I >> say quite because I would characterize it by 8 attributes and you >> need to pick a dialect such as MS Excel which sets out what those >> are. XML and JSON are contro

Re: Free OCR package in Python and selecting appropriate widget for the GUI

2021-09-22 Thread DFS
On 9/22/2021 1:54 AM, Mohsen Owzar wrote: DFS schrieb am Mittwoch, 22. September 2021 um 05:10:30 UTC+2: On 9/21/2021 10:38 PM, Mohsen Owzar wrote: DFS schrieb am Dienstag, 21. September 2021 um 15:45:38 UTC+2: On 9/21/2021 4:36 AM, Mohsen Owzar wrote: Hi Guys Long time ago I've written a pro

Re: Free OCR package in Python and selecting appropriate widget for the GUI

2021-09-22 Thread Mohsen Owzar
DFS schrieb am Mittwoch, 22. September 2021 um 05:10:30 UTC+2: > On 9/21/2021 10:38 PM, Mohsen Owzar wrote: > > DFS schrieb am Dienstag, 21. September 2021 um 15:45:38 UTC+2: > >> On 9/21/2021 4:36 AM, Mohsen Owzar wrote: > >>> Hi Guys > >>> Long time ago I've written a program in Malab a GUI f

Re: Polymorphic imports

2021-09-22 Thread Dennis Lee Bieber
On Tue, 21 Sep 2021 18:58:31 +, Travis Griggs declaimed the following: >from lib import paths >import paths.dynamic_client_module() > >But this seems to not work. Import can only take real modules? Not programatic >ones? Consider "import" to be equivalent to a compile-time operatio

Re: Free OCR package in Python and selecting appropriate widget for the GUI

2021-09-22 Thread DFS
On 9/21/2021 10:38 PM, Mohsen Owzar wrote: DFS schrieb am Dienstag, 21. September 2021 um 15:45:38 UTC+2: On 9/21/2021 4:36 AM, Mohsen Owzar wrote: Hi Guys Long time ago I've written a program in Malab a GUI for solving Sudoku puzzles, which worked not so bad. Now I try to write this GUI with

[Hint]: python simulator http

2021-09-22 Thread David Caul
Hi All, Making any simulator http request , response base simulator with some UI on browser , what are all things python package can support br David -- https://mail.python.org/mailman/listinfo/python-list

ANN: distlib 0.3.3 released on PyPI

2021-09-22 Thread Vinay Sajip via Python-list
I've recently released version 0.3.3 of distlib on PyPI [1]. For newcomers, distlib is a library of packaging functionality which is intended to be usable as the basis for third-party packaging tools. The main changes in this release are as follows: * Fixed #152: Removed splituser() function whic

Re: Free OCR package in Python and selecting appropriate widget for the GUI

2021-09-22 Thread Roland Mueller via Python-list
Hello, ti 21. syysk. 2021 klo 16.53 Mohsen Owzar (mohsen.ow...@gmail.com) kirjoitti: > Hi Guys > Long time ago I've written a program in Malab a GUI for solving Sudoku > puzzles, which worked not so bad. > Now I try to write this GUI with Python with PyQt5 or TKinter. > First question is: > Is t