Hi! i would like to know how could i run console prompt commands in my script. In Google Colab you must start with "!" to refer to console. It will be very usefull know it. Thanks!
Hi! i would like to know how could i run console prompt commands in my script. In Google Colab you must start with "!" to refer to console. It will be very usefull know it. Thanks!
hi there, from a jupyter notebook file, you can use the same "!" to run a console/shell command.
if you are working in the file editor, you would have to start a bash console etc.
How could it be if i want to task a py file and then apply a console command when it ends?
are you doing this from the jupyter notebook? or do you mean you want to run a scheduled task that runs a python file and then a console command?
The second one: want to run a scheduled task that runs a python file and then a console command
For the scheduled task running Python see https://help.pythonanywhere.com/pages/ScheduledTasks/ and for running a shell command from Python see https://docs.python.org/3/library/subprocess.html