How to draw Kalam's photo with just 3 lines of code
- Saravaanan S
- Mar 22, 2022
- 1 min read
Content in this blog:
How to install sketchpy
How to draw kalam's photo using sketchpy
Requirements :
Python interpreter (3.6.x above)
Any text editor (VS Code recommended)
Some Creativity😉
Installing Sketchpy
Open your text editor, here I am using VS Code you can download it from here, feel free to use any text editor you want, as we will suggest you to use VS code.

Then open up the terminal by pressing Ctrl+`

Type the following command to install sketchpy
pip install sketchpy
you can see the output shown below

Successfully installed 😊
How to draw kalam's photo using sketchpy
Then type the following python code:
from sketchpy import library as lib
pen=lib.apj()
pen.draw()
run the code
Output:

Yeah we have made it!!!!🙂🙂
Opmerkingen