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
#4
why add \\*.* at the end?
you claim you want single file. That is SiNW2.xyz, right? In this case just 'c:\\users\\sammy\\desktop\\NanoNet\\input_samples\\SiNW2.xyz' would do.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: Writing a function that accepts a path to an input file - by buran - Aug-29-2018, 05:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  difference between forms of input a list to function akbarza 6 1,129 Feb-21-2024, 08:02 PM
Last Post: bterwijn
  cmath.rect accepts a negative modulus JMB 2 370 Jan-17-2024, 08:00 PM
Last Post: JMB
  Function parameter not writing to variable Karp 5 1,019 Aug-07-2023, 05:58 PM
Last Post: Karp
  File path by adding various variables Mishal0488 2 1,090 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,150 Dec-25-2022, 03:00 PM
Last Post: askfriends
  Script File Failure-Path Error? jerryf 13 3,563 Nov-30-2022, 09:58 AM
Last Post: jerryf
  Create a function for writing to SQL data to csv mg24 4 1,227 Oct-01-2022, 04:30 AM
Last Post: mg24
  Writing string to file results in one character per line RB76SFJPsJJDu3bMnwYM 4 1,428 Sep-27-2022, 01:38 PM
Last Post: buran
  Writing into 2 text files from the same function paul18fr 4 1,735 Jul-28-2022, 04:34 AM
Last Post: ndc85430
  Writing to json file ebolisa 1 1,050 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