Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 23rd International Conference Dexa 2012 Vienna Austria September 2012 Proceedings Part 1 Lncs 7446

Authors: Stephen W. Liddle ,Klaus-Dieter Schewe ,A Min Tjoa ,Xiaofang Zhou

2012th Edition

3642325998, 978-3642325991

More Books

Students also viewed these Databases questions

Question

Discuss all branches of science

Answered: 1 week ago

Question

Distinguish between filtering and interpreting. (Objective 2)

Answered: 1 week ago