Skip to content

Python 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

[Solved] 'Object arrays cannot be loaded when allow_pickle=False'

Display Python code on the screen

Introduction

I often got this error message when I learning about machine learning by Python, recently.

'Object arrays cannot be loaded when allow_pickle=False'

The reason for this message is actually very clearly. In fact, it's just that "allow_pickle" is adjusted to False after Numpy package is upgraded.

And it caused us to be hindered when reading some pickle-encapsulated training data.

Read More »[Solved] 'Object arrays cannot be loaded when allow_pickle=False'

[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
Exit mobile version