
This video gives brief overview of what you will learn in this course.
After finishing this course, you will be able to generate id cards, certificates and much more as PDF files by using python.
Generate id card data with mockaroo, exporting excel, csv, json files to 1000 rows. Define fields like school id, name, gender, date of birth, and grade using types and formulas.
Set up a Python project in PyCharm, install dependencies with pip, and organize folders for data, templates, images, and id_cards. Use pandas, xlrd, reportlab, and PyPDF2 to generate id cards.
Read data from an Excel file with pandas, then iterate over each student using data.iterrows to create an id card, with paths managed by constants.
Create an id card generator in Python by drawing student information on a reportlab canvas using BytesIO and the first three rows of Excel data to merge with a template.
Generate a qr code for each learner containing school id, name, and surname, save it as a png, and draw it on a canvas alongside the learner image if available.
This course will teach you how to use python to generate ID cards.
During the course you will learn:
how to generate realistic data and download it as an Excel file
how to start and setup your project in PyCharm
how to read data from an Excel file and iterate over it by using pandas
how to draw text and image on a canvas by using reportlab
how to generate QR code by the help of pyqrcode
how to merge canvas and a PDF file template to create new PDF file.
The course consists of an intro and 7 lectures.
Who this course is for:
People with the basic understanding of python who want to know how to use it to work with PDF files and generate a QR code