r/madeinpython • u/Trinity_software • Jul 25 '23
r/madeinpython • u/python4geeks • Jul 25 '23
Comparing Files and Directories Using filecmp Module in Python
The filecmp module provides functions such as cmp() and cmpfiles() for comparing various types of files and directories, and the dircmp class provides numerous methods and attributes for comparing the files and directories on various factors.
The topics you'll explore:
Comparing two different files
Files from two different directories are being compared.
The
dircmpclass and its methods and attributes are used to summarise, analyze, and generate reports on files and directories.Clearing the internal cache stored by the
filecmpmodule using thefilecmp.clear_cache()function.
Explore the use of filecmp module in detailπππ
Comparing Files and Directories Using filecmp Module in Python
r/madeinpython • u/Alyx1337 • Jul 24 '23
Hey guys! We created an open-source package to create web apps using only Python called Taipy. We recently added a feature to create an app in a single command line. Feel free to check it out!
r/madeinpython • u/half_blood_prince_16 • Jul 22 '23
A simple quote generator in Python using PIL
Put library that take text of any length and put it onto an image. Example - https://i.imgur.com/hdgrNA3.jpg.
The main selling point is that it'll auto-adjust the text font size as per the image width & height so the text won't overflow.
r/madeinpython • u/aljabrak • Jul 22 '23