| CARVIEW |
Welcome to Python for Designers
This manual is an introduction to Python3 and DrawBot. It covers some language and programming basics as well as a good share of the DrawBot API. If you are looking for a gentle introduction to programming and you are often busy with drawing stuff on a screen, this is maybe the right place for you!
A Few Words About
Disclaimers, acknowledgments, and various notes concerning audience and sources
01
Should a Designer Code?
Before diving into the code, let’s clarify why coding could be a good skill for a designer
02
03
The Elements of a Python Program
Keywords, operators, expressions. Here we get a grip on the basics of the language
04
05
Coordinates and Primitives
It is time to draw. Here we deal with the canvas properties and drawing functions
06
Basic Data Types
What values are made of? It is time to answer some existential questions
07
How to Make Choices
Unfortunately, this is not the self-help section of the manual. It is all about the conditional construct
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!
09
Strings, Encoding and Unicode
Before diving into typesetting, we should have clear in mind how computers deal with text
10
Transform Strings
Efficiently transforming values into strings is essential for proper typesetting
11
12
13
14
Tutorials
Hands-on Guides
Looking for an opportunity to use the knowledge you acquired from the manual? This section is packed with step-by-step guides for real application scenarios
Online Courses
This manual is free to read and free from ads (and it will be like this forever). In order to sustain its development, I offer online courses taught in English. You will get a proper introduction to Python and Drawbot plus support in solving coding exercises. Check them out and let me know!
Contribute
This resource is far from being complete, if you want to know where the development is headed, check the Road Map. If you spot any mistake, or you think something could be explained better, open an issue at the project repository. I also accept to review pull requests.
Who's
Python for Designers is an initiative by Roberto Arista. Beatrice Bianchet and Silvio Lorusso provided substantial help. If you want to check a complete list of the technology & people involved in making this website, you can consult the Acknowledgements and Impressum pages.