Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 FileNotFoundError in newly structured Python project

I have restructured my existing python 3.6 project and it's folders look like as the attached file.
Inside the utils folder there is a python script which generates a csv file inside the categories folder.
Now issue I am facing is that when I run the script from utils folder,it is unable to generate csv in categories folder-
FileNotFoundError: [Errno 2] No such file or directory: 'categories/abc.csv'
Can anyone correct this path issue?

Ohh I found my answer.I was giving wrong path. Now it is resolved.
micseydel likes this post

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  How to show newly added column to csv johnson54937 3 177 Jan-07-2020, 04:01 AM
Last Post: Larz60+
  FileNotFoundError managment sal 2 346 Oct-23-2019, 09:18 AM
Last Post: sal
Question pdfkit.from_string('Hello!','out.pdf') gives FileNotFoundError sipriusPT 3 1,214 Sep-19-2019, 01:44 PM
Last Post: snippsat
  FileNotFoundError: No such file or no access agatte 2 672 Sep-12-2019, 08:48 AM
Last Post: agatte
  [python]FileNotFoundError...System cannot find the path specified creichle 1 1,252 Jan-30-2019, 12:49 AM
Last Post: Larz60+
  Parsing and Editing a Structured Text File norsemanGrey 1 676 Jul-11-2018, 09:51 PM
Last Post: Larz60+
  Help needed building newly released FOSS 'Meshroom' mStuff 0 1,045 Apr-29-2018, 10:54 AM
Last Post: mStuff
  FileNotFoundError when using subprocess dixitabhi 1 11,787 Mar-04-2018, 06:59 PM
Last Post: Larz60+
  where is FileNotFoundError at? Skaperen 4 9,364 Oct-03-2017, 01:49 AM
Last Post: Skaperen
  my python is popping up the error FileNotFoundError: [WinError 3] ? srinivas135 3 11,648 Sep-13-2017, 09:38 PM
Last Post: nilamo

Forum Jump:

Users browsing this thread: 1 Guest(s)