You can then call the batch file with the task scheduler. Rem Set the virtual environment path by combining the script directory and the virtual environment folder Rem Specify the name of the virtual environment folder RoboIntern, Robotic office automation and. Here is first my folder structure: ProjectĪnd this is the code of the file update_data.bat: off Task Till Dawn, Task scheduler, Business or personal desktops, Import/export to exchange tasks, Windows or macOS. With it you can leave a lot of tasks previously done that the Mac itself and. The neat part is that every element is in the project's root folder so you don't have to think too much about file paths. One of the best programs to help us in these matters is called Task Till Dawn. With the help of ChatGPT I managed to make a small '.bat' script that can activate a virtual environment then run a python script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |