Dica 26 - Rodando Python dentro do Shell script

arrow-up-right

Leia mais em:

Grande Portal - Shell script 1arrow-up-right

Grande Portal - Shell script 2arrow-up-right

Grande Portal - Shell script 3arrow-up-right

Assista também:

arrow-up-right

Mini-curso Shell script 1arrow-up-right

arrow-up-right

Mini-curso Shell script 2arrow-up-right

Exemplo 1:

# running_python01.sh
python -c "print('Rodando Python dentro do Shell script')"
$ source running_python01.sh

Ou

$ chmod +x running_python01.sh
$ ./running_python01.sh

Exemplo 2:

Exemplo 3:

Exemplo 4: Não está no video.

https://www.geeksforgeeks.org/program-for-nth-fibonacci-number/

Last updated

Was this helpful?