🔒 Closed How to Run Python inside a Bash File

Status
Not open for further replies.
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
 
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.
 
Status
Not open for further replies.

About this Thread

  • 6
    Replies
  • 1K
    Views
  • 5
    Participants
Last reply from:
xLynx

Online now

Members online
1,123
Guests online
1,181
Total visitors
2,304

Forum statistics

Threads
2,273,709
Posts
28,951,014
Members
1,234,926
Latest member
peyzzzzz
Back
Top