Python Forum
Re-write BASH script to Python script
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Re-write BASH script to Python script
#6
You can use those modules too. I opt for the suborocess module over the others.

I suggest you Google them or show us your current work as to not give you the answers. Each of those is a command that you are just relaying for python. I dont know if you need to just execute them, wait, or parse the output, etc. So it could go different directions.
Recommended Tutorials:
Reply


Messages In This Thread
Re-write BASH script to Python script - by popi75 - Apr-30-2021, 02:04 PM
RE: Re-write BASH script to Python script - by metulburr - Apr-30-2021, 03:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Autonomous Python Script Leyo 6 1,969 Apr-01-2022, 09:37 AM
Last Post: Axel_Erfurt
  My script returns no values Shay3534 7 3,371 Dec-04-2020, 09:47 PM
Last Post: Shay3534
  Create process to control python script kobibi11 5 2,642 Jun-07-2020, 08:19 AM
Last Post: kobibi11
  How to call bash on Python and put the result to the variable? meknowsnothing 4 2,763 May-30-2020, 04:48 AM
Last Post: ndc85430
  Opening files in same directory as script Emekadavid 3 2,577 May-28-2020, 06:50 PM
Last Post: Emekadavid
  Error in Python script garvind25 10 5,986 May-25-2020, 08:50 PM
Last Post: GOTO10
  An interesting Role-Play-Game battle script NitinL 4 3,424 Apr-02-2020, 03:51 AM
Last Post: NitinL
  Please help with this simple tic tac toe script ErtYwek 2 1,919 Mar-06-2020, 06:42 PM
Last Post: ndc85430
  python script for gfx hat (LCD for raspberry) domoticity 12 6,366 Jul-05-2019, 12:02 PM
Last Post: noisefloor
  Fixing arrays output in Python WLST script pkbash 2 4,030 Feb-28-2019, 06:20 PM
Last Post: pkbash

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020