Answer the question
In order to leave comments, you need to log in
How to add a variable?
Have a great weekend everyone !
Tell me please . The command for archiving works well, but I need to add a variable to it so that the variable "a" is allowed in the archive.zip place, where the path where the archive will be saved will be written. How to do it ? Thanks for the help .
os.system("start winrar.exe a -pPASS -r -ibck archive.zip D:\\ico\\*.*")
Answer the question
In order to leave comments, you need to log in
a = 'archive.zip'
Once:
Two:
Three:
os.system(f'start winrar.exe a -pPASS -r -ibck {a} D:\\ico\\*.*')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question