Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions file_placer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
newfileExt = []
newSet = set()
fullPath = ''
getExistingDir = ''
# getExistingDir = ''

if currentDirectory != chgeDirectory:
os.chdir(chgeDirectory)
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand All @@ -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"