What's new

Tutorial How to Run Python inside a Bash File

PHC-TheGlock

Forum Master
Elite
Joined
Oct 10, 2018
Posts
3,290
Solutions
9
Reaction
37,825
Points
4,497
Ok, I'm gonna share this simple trick but helpful for bash Scripters there
You need:
  • Python or Any Versions you want​
  • Bash (ofcourse)​
You do not have permission to view the full content of this post. Log in or register now.
OKAY, thats pretty much it see you again in my new thread
Follow me For more Linux Tutorials
-
PHC-TheGlock

TIPS: If di kayo marunong mag Bash Scripting, Just Learn the basics. CD, LS, SED, AWK, GREP and others.... then magkakaidea na kayo sa mga Logical Conditions
 
Last edited:
bossing, bakit kelangan pa may embedded python code (at sudo)? hindi ba mas simple kung ganito:


Bash:
#!/bin/bash

read -p "Enter your name: "
echo "Your name is: ${REPLY}"
echo "Current date and time is: $(date)"
 
bossing, bakit kelangan pa may embedded python code (at sudo)? hindi ba mas simple kung ganito:


Bash:
#!/bin/bash

read -p "Enter your name: "
echo "Your name is: ${REPLY}"
echo "Current date and time is: $(date)"
This is for python tutorial, not bash scripting. Kung may bash ka na gagamit ng python, this are the examples on how to use it.
 
Back
Top