DEV Community 👩‍💻👨‍💻

Cover image for Beginner Python Project Part 2
lary mak
lary mak

Posted on • Updated on

Beginner Python Project Part 2

In this second post on my preferred python beginner projects I continue by building a photo editor app using python.

To get started we will need first have a code editor :
either * pycharm * VScode or * Sublime

  • Next step create a file and give a .py extension
  • Now you will have to install pillow: pip install pillow
  • Next you will need two images, the one to use for back ground and the other to combine with The image should be transparent, you can remove the back ground of the image Here
  • After doing the basics you can now write the code below and run it
from PIL import Image
me ='image name')
back ='background image name')
back.paste(me, (0,0), me)
Enter fullscreen mode Exit fullscreen mode

Links to code and video

Youtube: Photo Editor Using Python
Github: larymak
Twitter: larymak1

Oldest comments (2)

philippurwoko profile image
Philip Purwoko

Does it save the file ?

larymak profile image
lary mak Author

yes it does...

DEV has this feature:


Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. 🛠