[Python] using sudo inside jupyter notebook's cell

Discussão em 'Python' iniciado por Stack, Setembro 5, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to make a tutorial for a platform inside a jupyter notebook

    at some point I need to run a linux command inside a cell like this :

    !sudo apt-get install blah


    but cant figure out how to enter the sudo pass , and I dont want to run jupyter notebook with sudo, any idea how to do this ?

    Continue reading...

Compartilhe esta Página