In python, to replace an old string with a new string, we can use string.replace(old, new) function. However, this function is case sensitive. In this tutorial, we will introduce a way to replace string with case insensitive.
When using python to access a blocked site (https://www.google.com in china), you may get this error: urlopen error [Errno 0] Error. In this tutorial, we will introduce you how to fix this error.
Python string.count() function can return how many times of substring in a string. In this tutorial, we will write some examples to illustrate you how to use this function.
In this tutorial, we will propose a new way to fix urlopen error EOF occurred in violation of protocol error: using shadowsocks to open a url and this error does not occur. You can read our tutorial to learn how to fix this error.
Shadowsocks is a powerful vpn application, it can allow us to access some blocked website. In this tutorial, we will introduce how to use shadowsocks to access blocked websites using python.
occurs when you are using ssl in python application. In this tutorial, we will tell you why this error occur and how to fix it.
When you are developing network application using python, you may find this error: ModuleNotFoundError: No module named ‘socks’. In this tutorial, we will introduce you how to fix this error.
In python, to rename a file, we can use os.rename(old_name, new_name) function. In this tutorial, we will introduce how to do and you also notice os.rename() function may fail for some reason.
To convert a svg file to png, we can use svglib library, in this tutorial, we introduce how to convert a svg file to png with cairosvg, CairoSVG is more powerful than svglib. You can learn how to convert by referring to our tutorial.
When you are using python cairosvg library to convert svg to png, you may find OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2 error. In this tutorial, we will introduce how to fix this error.