Python Forum
Absolute paths in subprocess - file not found
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Absolute paths in subprocess - file not found
#5
Thanks for having a look. (ignore the import SQL - it was simply cloned from an earlier template - I also know the slashes are all over the place, but I literally spent hours on every permutation I could think of)

The basic problem is that I have circa 15-20 CSV files that all have a common key and maybe 30 columns in each. There will also be "1 to many' relationships in the data, or legitimate unmatched keys. The output will just be a single text file that is pulling in various bits of data from the multiple CSVs

It seems a good idea to me to host all the data in a database (could be temporary) to allow the data to be joined easily and to cater for unmatched rows etc.

This is just a proof of concept and I'm not set on a database, but I fear that if its done through other means it will be a behemoth
Reply


Messages In This Thread
RE: Absolute paths in subprocess - file not found - by kittyticker - Jan-28-2024, 10:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  file open "file not found error" shanoger 8 1,275 Dec-14-2023, 08:03 AM
Last Post: shanoger
  Navigating file directories and paths inside Jupyter Notebook Mark17 5 797 Oct-29-2023, 12:40 PM
Last Post: Mark17
  File not found error saisankalpj 10 4,011 Jul-04-2022, 07:57 AM
Last Post: saisankalpj
  pdf2image, poppler and paths jehoshua 18 15,194 Jun-14-2022, 06:38 AM
Last Post: jehoshua
  Windows paths issue otalado 3 1,529 May-29-2022, 09:11 AM
Last Post: snippsat
  How to run a particular file in subprocess Shiri 5 1,818 Nov-24-2021, 09:29 AM
Last Post: ghoul
  Subprocess.Popen() not working when reading file path from csv file herwin 13 15,340 May-07-2021, 03:26 PM
Last Post: herwin
  automatically get absolute paths oclmedyb 1 2,147 Mar-11-2021, 04:31 PM
Last Post: deanhystad
  How can I found how many numbers are there in a Collatz Sequence that I found? cananb 2 2,586 Nov-23-2020, 05:15 PM
Last Post: cananb
  subprocess call cannot find the file specified RRR 6 16,803 Oct-15-2020, 11:29 AM
Last Post: RRR

Forum Jump:

User Panel Messages

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