« first day (2005 days earlier)      last day (1351 days later) » 

3:16 PM
out of place question , I have this requirement to make like a c++ application, this application is using the virus scan exe to dynamically scan a directory
my question is , is it possible to scan a network directory if example im running the application in my local ?
or the application should be on the same server with the files needed to be scanned
 
Why are you asking a c++ question in the Python room?
 
4 messages moved from Python
 
 
7 hours later…
10:27 PM
import os

# define the name of the directory to be created
path = r'C:\Users\User\Pictures\1sort'
lst_folders = [r"Raw_Folder", r"Jpeg_Folder", r"Sort_Folder"]

for new_folder in lst_folders:
print(new_folder)
path_new = os.path.join(path, new_folder)

try:
os.makedirs(path_new)
except OSError:
print ("Creation of the directory %s failed" % path)
else:
print ("Successfully created the directory %s" % path)
 
1 message moved from Python
 

« first day (2005 days earlier)      last day (1351 days later) »