You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifos.path.isdir("textml"): # Check if output dir exists
oldFiles=os.listdir("textml") # Removing each file in dir before deleting
iflen(oldFiles) >0:
forfileinoldFiles:
os.remove("textml/"+file)
os.rmdir('textml') # Removing directory
os.mkdir('textml') # Recreating directory
Here, we can change the 'textml' to a variable that holds that value for easy configuration and adaptation to different scenarios or user requirements.
The text was updated successfully, but these errors were encountered:
textml/main.py
Lines 15 to 24 in 293683d
Here, we can change the 'textml' to a variable that holds that value for easy configuration and adaptation to different scenarios or user requirements.
The text was updated successfully, but these errors were encountered: