Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File Name Parsing
#4
(Aug-25-2020, 07:32 AM)ndc85430 Wrote: Learn to write automated tests using, e.g. the unittest module or third-party libraries like pytest. That will allow you to have confidence that your software works as intended and continues to work as you make changes to it.

The problem is that with the time I would need to spend programming an adequate test suite, is more than the time I would spend in normal troubleshooting.

For example converting 'ln,fn - Title - Series - date' to 'Ttile (Series) date - fn,ln' for nonfiction, and 'fn,ln - Title (date) _ Series' for fiction. I would need AI with Wikipedia API access to do that calibre of testing.
My greatest problems are unintended consequences of perfectly functioning code!

That the problem with algos. They cannot anticipate the black cyber-swan.

(Think 2007 and quants...)
Reply


Messages In This Thread
File Name Parsing - by millpond - Aug-25-2020, 07:28 AM
RE: File Name Parsing - by ndc85430 - Aug-25-2020, 07:32 AM
RE: File Name Parsing - by millpond - Aug-26-2020, 04:57 AM
RE: File Name Parsing - by bowlofred - Aug-25-2020, 08:41 AM
RE: File Name Parsing - by millpond - Aug-26-2020, 06:26 AM
RE: File Name Parsing - by bowlofred - Aug-26-2020, 08:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Video doing data treatment on a file import-parsing a variable EmBeck87 15 3,135 Apr-17-2023, 06:54 PM
Last Post: EmBeck87
  Modify values in XML file by data from text file (without parsing) Paqqno 2 1,827 Apr-13-2022, 06:02 AM
Last Post: Paqqno
  Parsing xml file deletes whitespaces. How to avoid it? Paqqno 0 1,094 Apr-01-2022, 10:20 PM
Last Post: Paqqno
  Parsing a syslog file ebolisa 11 4,388 Oct-10-2021, 05:15 PM
Last Post: snippsat
Thumbs Up Parsing a YAML file without changing the string content..?, Flask - solved. SpongeB0B 2 2,352 Aug-05-2021, 08:02 AM
Last Post: SpongeB0B
  Error while parsing tables from docx file aditi 1 3,870 Jul-14-2020, 09:24 PM
Last Post: aditi
  help parsing file aslezak 2 2,298 Oct-22-2019, 03:51 PM
Last Post: aslezak
  Python Script for parsing dictionary values from yaml file pawan6782 3 5,048 Sep-04-2019, 07:21 PM
Last Post: pawan6782
  Parsing an MBOX file Oliver 1 8,291 May-26-2019, 07:12 AM
Last Post: heiner55
  parsing complex text file anna 1 2,132 Apr-10-2019, 09:54 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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