Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Writing a function that accepts a path to an input file
Post: RE: Writing a function that accepts a path to an i...

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\\*.*'
says General Coding Help 3 3,333 Aug-29-2018, 03:14 AM
    Thread: Writing a function that accepts a path to an input file
Post: Writing a function that accepts a path to an input...

import os path = 'c:\users\name\desktop\project\input_samples' for xyz_file in os.listdir(path): if xyz_file.endswith('xyz'): (operations of function here)In the folder 'input samples' I have...
says General Coding Help 3 3,333 Aug-29-2018, 01:37 AM

User Panel Messages

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