CS50 Python Final Project

Publié le: 12 novembre 2025
sur la chaîne: Mohamed Khaled | محمد خالد
15
1

CC:
Hello everyone!

My name is Mohamed Khaled Abdelwhap Mohamed, and I’m from Cairo, Egypt.

This is my final project for CS50’s Introduction to Programming with Python, and it’s called PDF Editing.

My project is a Python program that allows users to edit PDF files easily.

It includes several useful features such as merging, splitting, and reversing PDF files.

In this part, I will explain how to run my project.

First, I open the command prompt and write this command:
python project.py

After running the command, the GUI window appears — like you can see here.

In the main window, we have three buttons, and each one represents a different feature.

The first button is “Reverse PDF”, which allows you to reverse the order of pages in a PDF file.

The second button is “Split PDF”, which lets you split a PDF into smaller files or specific pages.

And the third button is “Merge PDF”, which helps you combine multiple PDF files into one document.

Each button opens a new window where you can choose your files and perform the operation you want.

The interface is simple and easy to use, and I built it using Tkinter for the GUI and PyPDF2 for PDF manipulation.

I also created unit tests using pytest in the file test_project.py.

These tests check that all main functions — like merge, split, and reverse — work correctly and give the expected results.

This helped me make sure that my program is reliable and works without errors.

Overall, I really enjoyed building this project.
I learned a lot about file handling, graphical interfaces, and software testing in Python.

Thank you for watching — this was PDF Editing, my final project for CS50 Python!


Sur cette page du site, vous pouvez voir la vidéo en ligne CS50 Python Final Project durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Mohamed Khaled | محمد خالد 12 novembre 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 15 fois et il a aimé 1 téléspectateurs. Bon visionnage!