diff --git a/file_placer.py b/file_placer.py index 3896dc7..8886465 100644 --- a/file_placer.py +++ b/file_placer.py @@ -13,7 +13,7 @@ newfileExt = [] newSet = set() fullPath = '' -getExistingDir = '' +# getExistingDir = '' if currentDirectory != chgeDirectory: os.chdir(chgeDirectory) @@ -48,13 +48,6 @@ else: fileSide.append(check) - # if newFolder not in folderSide: - # os.mkdir(newFolder) - # - # print(f"{newFolder} folder created successful") - # else: - # print(f"{newFolder} folder already exits") - # Differentiate the file from the extension for f in fileSide: @@ -91,10 +84,7 @@ if os.path.isfile(vryFile): fullPath = os.path.join(chgeDirectory, vryFile) - print(f"{fullPath}, read this first") - - elif vryFile in fullPath and vryFile in getExistingDir: - print(f"{vryFile}, I exits on both path ") + # print(f"{fullPath}, read this first") for chkFolder in folderSide: # print(chkFolder) @@ -117,8 +107,3 @@ # print("No folder created") -# urlLink = "https://www.youtube.com/watch?v=n3IYVthup9I" -# -# urlLink2 = "https://www.youtube.com/watch?v=PAMpNhx4maM" - -urlLink3 = "https://www.youtube.com/watch?v=isRtFdu8sRs"