I have tried this code this code works fine but I want to add more code so it becomes complex to write it in one function only I want to use another it in different line. Is there any way?
I have tried saving this in some variable and accessing it but it doesn't work:
os.system('cmd.exe /K "cd %s & activate & mkdir C:\Private\PY36-VirtualEnv\Source\%s & cd C:\Private\PY36-VirtualEnv\Source\%s & code . " '%(path_list[which_dir - 1] , new_folder,new_folder))