Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Python program in JES that takes one command line argument which is where the user is to write the file out to and it then
Python program in JES that takes one command line argument which is where the user is to write the file out to and it then has the user pickAFile() that the user wishes to edit. Your program then divides the canvas into 4 horizontal and 4 vertical areas, covering the entire canvas and performs a different color manipulation on each of the 16 squares.
- Function name mainFn()
- The mainFn("file_path_to_write") takes 1 text argument which is where the resulting file is to be written.
- The mainFn() should then have the user pickAFile()
- mainFn() should then call at LEAST 2 other functions that divide the canvas and make the color changes. One that divides the area to be edited vertically four times and changes the colors of each 1/4 and one that does the same in the horizontal plane. Combined, these 2 functions will give you 16 square or rectangular sections and each will have a different color schema.
- The mainFn() will then display the finished file to the user and write the completed file to disk where the user had indicated in the function call
Please provide steps on how to complete code. Complete novice here any help would be beneficial.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started