Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Errno 22] Invalid argument
#4
as you run it now, it looks for the csv file in your CWD - C:\Python27\
You need to supply the full path as you do with the Main.py or
run the script from C:/Users/asafb/PycharmProjects/Sanity_HB_RR_from_Saved_Pos/
or add code that extracts the path of the script and add it to the argument to get the full path
Reply


Messages In This Thread
[Errno 22] Invalid argument - by Asafb - Dec-18-2017, 04:13 PM
RE: [Errno 22] Invalid argument - by Larz60+ - Dec-18-2017, 06:14 PM
RE: [Errno 22] Invalid argument - by Asafb - Dec-19-2017, 08:52 AM
RE: [Errno 22] Invalid argument - by buran - Dec-19-2017, 09:01 AM
RE: [Errno 22] Invalid argument - by Asafb - Dec-19-2017, 09:18 AM
RE: [Errno 22] Invalid argument - by Larz60+ - Dec-19-2017, 11:47 AM
RE: [Errno 22] Invalid argument - by buran - Dec-19-2017, 11:48 AM
RE: [Errno 22] Invalid argument - by Asafb - Dec-19-2017, 12:36 PM
RE: [Errno 22] Invalid argument - by Larz60+ - Dec-19-2017, 12:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Invalid argument: 'images\x08ackground.jpg' CatBall 4 1,112 Jun-19-2023, 09:28 AM
Last Post: CatBall
  [split] [Errno 22] Invalid argument Junaid 0 2,366 Jun-12-2021, 06:02 PM
Last Post: Junaid
  [Errno 22] Invalid argument satyaneel 11 107,260 Jul-14-2020, 08:47 AM
Last Post: lichunming
  zlib decompress error: invalid code lengths set / invalid block type DreamingInsanity 0 7,042 Mar-29-2020, 12:44 PM
Last Post: DreamingInsanity
  SyntaxError: positional argument follows keyword argument syd_jat 3 6,000 Mar-03-2020, 08:34 AM
Last Post: buran
  Invalid argument error thrown. pyseeker 4 8,762 Sep-10-2019, 07:03 PM
Last Post: pyseeker
  OSError: [Errno 22] Invalid argument - wasn't there last time I ran the code! meganhollie 2 9,357 Jun-11-2018, 06:01 PM
Last Post: meganhollie
  [SOLVED] OSError: [Errno 22] Invalid argument Panda 13 44,662 Jun-04-2018, 08:33 PM
Last Post: volcano63

Forum Jump:

User Panel Messages

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