Posts by Michael Mafort • 46 points
1 post
-
3
votes2
answers5650
viewsA: How to Direct Commands to the Linux Python Terminal
Try: #!/usr/bin/env python3 # -*- coding; utf-8 -*- import subprocess processo = subprocess.call(["ls", "-la"], shell=True) #seria o mesmo que ls -la no seu terminal. See the details in:…