Converting Shell script to Python script

Main should have the below variable

we have variable called install_type, all script will run on that

based on install type the python script excution will vary

if install_type is emr or dataproc

it the script execution will be like below

EMR: sudo ./$prog --unifi-services-user unifi --unifi-services-group unifi --namenode-host [login to view URL] --namenode-host-ssh-user ec2-user --pem-file-path /tmp/[login to view URL]

if install_type is hdi:

$prog --unifi-version VALUE --hadoop-provider-version VALUE —hadoop-flavor-prefix VALUE

if install_type is cdh or hdp or catalog

sudo ./$prog --unifi-services-user unifi --unifi-services-group unifi

so, keeping this in mind, we need to write our main

so, here prog file will be another [login to view URL] like [login to view URL] like wise.

Skills: Amazon Web Services, Linux, Python, Shell Script

See more: python script installieren, python script output text file, python script read html page, bash vs python, convert bash shell script to python, useful linux python scripts, start python script with bash script, python execute shell command, bash script running python script, convert shell script to python script online, replacing bash scripting with python, read csv file using python script, python script scrapes results google search, python script text files, python script modify file content, python script city, python script crawl, python script harvast email, python script csv tab, python script modify html

About the Employer:
( 8 reviews ) Hyderabad, India

Project ID: #19307170

4 freelancers are bidding on average ₹1038 for this job


Hello! I can help you to rewrite your code on python. The price that I offer is for each code that I have to rewrite until 100 lines Please don’t hesitate to contact me for further information

₹1450 INR in 2 days
(5 Reviews)

Hi There, I just view your project and can able to view that you are like to execute those shell commands integrated with python script right. Instead of creating multiple python script for hdi or something different More

₹1250 INR in 2 days
(9 Reviews)

i can do it for you it's really easy just contact me with more details and i will be glad to work with you

₹700 INR in 2 days
(0 Reviews)

2 years of experience working at Amazon. 5 years of Software development experience in a professional environment. When you want someone who can deliver quality results within time constraints, I am the person you want More

₹750 INR in 1 day
(0 Reviews)