Skip to content

Packages

[Python] Download Articles Published on WordPress through the python-wordpress-xmlrpc package

As mentioned in the article [Python] Automatically post on WordPress through the “python-wordpress-xmlrpc” package, I want to download articles I have published on WordPress through Python for simple classification. Among them, what I found was the module named python-wordpress-xmlrpc.

Read More »[Python] Download Articles Published on WordPress through the python-wordpress-xmlrpc package

[Python] Automatically post on WordPress through the “python-wordpress-xmlrpc” package

In the process of using WordPress to run my personal blog, sometimes I want to be able to organize all the articles I have written. Of course, the method I want to use is of course other than manually look slowly, such as obtaining WordPress-related information through some APIs.

Read More »[Python] Automatically post on WordPress through the “python-wordpress-xmlrpc” package

[Python] Use zipfile to compress or decompress file

Python is the most popular programming language!

Introduction

Everyone is familiar with the compressed file. These compressed file means that we compress one or more files and folders into a file, which is also call archiving.

In addition to archiving, according to the different compression format algorithms, some can even compress the file size to help us better store and transmit these files.

But what if we need to restore the compressed file back to the original file? At this time, we need to decompress according to different compression formats.

Today I want to record how to use Python module zipfile to compress or decompress some fiile as ZIP format.

Read More »[Python] Use zipfile to compress or decompress file