Python Forum
Writing a function that accepts a path to an input file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Writing a function that accepts a path to an input file
#3
that results in an error for line 4

WindowsError: [Error 267] The directory name is invalid: 'c:\\users\\sammy\\desktop\\NanoNet\\input_samples\\SiNW2.xyz\\*.*'
Reply


Messages In This Thread
RE: Writing a function that accepts a path to an input file - by says - Aug-29-2018, 03:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  difference between forms of input a list to function akbarza 6 1,246 Feb-21-2024, 08:02 PM
Last Post: bterwijn
  cmath.rect accepts a negative modulus JMB 2 412 Jan-17-2024, 08:00 PM
Last Post: JMB
  Function parameter not writing to variable Karp 5 1,073 Aug-07-2023, 05:58 PM
Last Post: Karp
  File path by adding various variables Mishal0488 2 1,177 Apr-28-2023, 07:17 PM
Last Post: deanhystad
Information How to take url in telegram bot user input and put it as an argument in a function? askfriends 0 1,219 Dec-25-2022, 03:00 PM
Last Post: askfriends
  Script File Failure-Path Error? jerryf 13 3,672 Nov-30-2022, 09:58 AM
Last Post: jerryf
  Create a function for writing to SQL data to csv mg24 4 1,288 Oct-01-2022, 04:30 AM
Last Post: mg24
  Writing string to file results in one character per line RB76SFJPsJJDu3bMnwYM 4 1,525 Sep-27-2022, 01:38 PM
Last Post: buran
  Writing into 2 text files from the same function paul18fr 4 1,787 Jul-28-2022, 04:34 AM
Last Post: ndc85430
  Writing to json file ebolisa 1 1,083 Jul-17-2022, 04:51 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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