write python script to setup environment variables

this is the path which already exist there is ; present before

;C:Program FilesPuppet LabsPuppetbin;C:Program FilesAmazonAWSCLI

what i need is

c:WindowsSystem32;”;C:Program FilesPuppet LabsPuppetbin;C:Program FilesAmazonAWSCLI”;C:UsersuserAppDataLocalMicrosoftWindowsApps;

step: 1

replace the ;”; with ;

then if present go to step 2 and 3

step: 2

Delete the aws path (C:Program FilesAmazonAWSCLI)

step 3:

add back to the new line


Attached the environment variables screenshot below

Hi there, would you like us to help you do this question?

We are professional assignment help service for students who can't even. Get your papers written starting at just $11.99 a page.

Do my question How much will it cost?