top of page

How to draw Kalam's photo with just 3 lines of code



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!!!!🙂🙂







Subscribe our youtube channel
for more such videos and contents

Attention!!! Developers, if you want to contribute to this python project, check the GitHub page here

For further doubts and queries check out our discord server







33 views0 comments

Comments


bottom of page