write a program for python for graphic designing
Answers
Answer:
Why This Manual
Enter if you want to discover the reasons behind this project
>>> read()
A Few Words About
Disclaimers, acknowledgments, and various notes concerning audience and sources
>>> read()
01
Should a Designer Code?
Before diving into the code, let’s clarify why coding could be a good skill for a designer
>>> read()
02
Interfaces Are a Solid Object
Monopoly, teaching and autonomy of graphics and code
>>> read()
03
The Elements of a Python Program
Keywords, operators, expressions. Here we get a grip on the basics of the language
>>> read()
04
Using DrawBot
This tool will bring us along during our journey in the Python world
>>> read()
05
Coordinates and Primitives
It is time to draw. Here we deal with the canvas properties and drawing functions
>>> read()
06
Basic Data Types
What values are made of? It is time to answer some existential questions
>>> read()
07
How to Make Choices
Unfortunately, this is not the self-help section of the manual. It is all about the conditional construct
>>> read()
08
How to Keep Doing Things Until You Need To
The conditional construct can be easily extended with iteration. Let the computer do the hard work!
>>> read()
09
Strings, Encoding and Unicode
Before diving into typesetting, we should have clear in mind how computers deal with text
>>> read()
10
Transform Strings
Efficiently transforming values into strings is essential for proper typesetting
>>> read()
11
Typesetting with DrawBot
Finally drawing text into DrawBot, single or multiple lines
>>> read()
12
How to Browse Sequences
Never heard of tuples and lists? Here we go!
>>> read()
13
Cookbook
A collection of handy Python super short recipes
>>> read()
14
Workbook
A miscellanea of advanced exercises
>>> read()
Bibliography
Eager to learn more? Here’s a continuously evolving reading list
Explanation:
Answer:
Zelle’s graphics are not a part of the standard Python distribution. For the Python interpreter to find Zelle’s module, it must be imported. The first line above makes all the types of object of Zelle’s module accessible, as if they were already defined like built-in types str or list.
Look around on your screen, and possibly underneath other windows: There should be a new window labeled “Graphics Window�, created by the second line. Bring it to the top, and preferably drag it around to make it visible beside your Shell window. A GraphWin is a type of object from Zelle’s graphics package that automatically displays a window when it is created. The assignment statement remembers the window object as win for future reference. (This will be our standard name for our graphics window object.) A small window, 200 by 200 pixels is created. A pixel is the smallest little square that can by displayed on your screen. Modern screen usually have more than 1000 pixels across the whole screen.