Python Forum
Check to see if file is submitted in correct folder
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check to see if file is submitted in correct folder
#10
Hello - You can use the builtin filecmp.
see https://pymotw.com/3/filecmp/ for an example
Not sure it will work out of the box for remote dirs.
Reply


Messages In This Thread
RE: Check to see if file is submitted in correct folder - by Larz60+ - Oct-21-2016, 07:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question [SOLVED] Correct way to convert file from cp-1252 to utf-8? Winfried 8 990 Feb-29-2024, 12:30 AM
Last Post: Winfried
  Compare folder A and subfolder B and display files that are in folder A but not in su Melcu54 3 587 Jan-05-2024, 05:16 PM
Last Post: Pedroski55
  Reading a file name fron a folder on my desktop Fiona 4 936 Aug-23-2023, 11:11 AM
Last Post: Axel_Erfurt
  please check this i wanna use a csv file as a graph xCj11 5 1,515 Aug-25-2022, 08:19 PM
Last Post: deanhystad
  Function not executing each file in folder mathew_31 9 2,305 Aug-22-2022, 08:40 PM
Last Post: deanhystad
  check if a file exist on the internet and get the size kucingkembar 6 1,823 Apr-16-2022, 05:09 PM
Last Post: kucingkembar
  Dynamic File Name to a shared folder with open command in python sjcsvatt 9 6,080 Jan-07-2022, 04:55 PM
Last Post: bowlofred
  Code to check folder and sub folders for new file and alert fioranosnake 2 1,961 Jan-06-2022, 05:03 PM
Last Post: deanhystad
  Compare filename with folder name and copy matching files into a particular folder shantanu97 2 4,546 Dec-18-2021, 09:32 PM
Last Post: Larz60+
  How to import file and function in another folder SriRajesh 1 3,199 Dec-18-2021, 08:35 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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