Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: plistlib / xml file / get value except key
Post: RE: plistlib / xml file / get value except key

Ok. Thank you. I guess I will use a mix of interpreter and the documentation. One question to #4. Quote:So there are two dictionaries in this list. What keys does these dictionaries have: Do I unde...
Tecuma General Coding Help 6 3,168 May-26-2021, 03:51 PM
    Thread: plistlib / xml file / get value except key
Post: RE: plistlib / xml file / get value except key

Wow **clap** Thank you very much. Quote:Of course, one can print data outright and try to understand the structure :-). No. I like your way of analyze such a XML structure. Is this more a ques...
Tecuma General Coding Help 6 3,168 May-26-2021, 01:42 PM
    Thread: plistlib / xml file / get value except key
Post: RE: plistlib / xml file / get value except key

When I add this code with fmt I got Error:python3 helper_plist-xml_2.py File: Bookmarks_example.xml Traceback (most recent call last): File "/home/wchris/Python/helper_plist-xml_2.py", line 8, ...
Tecuma General Coding Help 6 3,168 May-26-2021, 11:57 AM
    Thread: plistlib / xml file / get value except key
Post: plistlib / xml file / get value except key

Hello Community, I have transformed my bookmarks plist file to an XML file. I try to write a script where I am able to read the XML file, getting the URL information and generate a SQLite3 file with ...
Tecuma General Coding Help 6 3,168 May-26-2021, 11:03 AM
    Thread: Please support regex for version number (digits and dots) from a string
Post: RE: Please support regex for version number (digit...

Hello metullburr, thank you for your answer and taking time. This one works. I have slept a few nights over this. I found a solution with regex. import re s = '''"SYS"."M_SYSTEM_OVERVIEW" ('Syste...
Tecuma General Coding Help 4 3,102 Aug-17-2020, 09:59 AM
    Thread: Please support regex for version number (digits and dots) from a string
Post: RE: Please support regex for version number (digit...

Hello bowlofred, I am analyzing several files with different kind of information with a Python script. One part is to get this version information. Regards --Christian
Tecuma General Coding Help 4 3,102 Aug-14-2020, 04:18 PM
    Thread: Please support regex for version number (digits and dots) from a string
Post: Please support regex for version number (digits an...

Hello Community, I have the following string "SYS"."M_SYSTEM_OVERVIEW" ('System', 'Version', '', '2.00.050.00.1592305219 (fa/hana2sp05)')I need the version information 2.00.050.00.1592305219from th...
Tecuma General Coding Help 4 3,102 Aug-14-2020, 03:47 PM
    Thread: Question about if with () or without () / pathlib
Post: RE: Question about if with () or without () / path...

Hi Community, after some tests I found my "error". I was working with "~" in the paths. It seems that the libraries os and pathlib can not handle "~". When I work with absolute path my code is workin...
Tecuma General Coding Help 3 2,157 Apr-02-2020, 10:02 AM
    Thread: Question about if with () or without () / pathlib
Post: RE: Question about if with () or without () / path...

Hello stullis, thank you for your explanation. Now I understand why I got "True" when I do not use (). I guess then that the "False "result comes from further restrictions from macOS. I try to test...
Tecuma General Coding Help 3 2,157 Apr-02-2020, 08:34 AM
    Thread: Question about if with () or without () / pathlib
Post: Question about if with () or without () / pathlib

Hello Community, I am using - macOS 10.15.4 - Python 3.8.2 (via Mac Ports) In the macOS security settings the terminal has full disk access. I try to check if a certain path and file exists. When...
Tecuma General Coding Help 3 2,157 Apr-01-2020, 04:10 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020