Python Programming
-
How to Create a Python Virtual Environment on Ubuntu
Python is one of the most popular and versatile programming languages in the world—powering tens of thousands of apps for Linux, Windows, and macOS.
While Ubuntu releases prior to 23.04 were able to install Python packages with a single command, more recent versions require that you install Python packages in a virtual environment. Here's one easy way to create and use a Python virtual environment on Ubuntu.
-
Remove Special Characters from String Python
To remove special characters from the string in Python, the “isalnum()”, “replace()”, “translate()”, “filter()”, and “re.sub()” methods are used.
-
Pandas to LaTeX
Pandas is a Python library and LaTeX is a high-quality preparation system. To convert the pandas to LaTeX, the “to_latex()” function is used.
-
Pandas Explode Multiple Columns
The explode()” function is used for modifying or transforming each member of an array or element of list into rows and convert the element of the list to a row.
-
Python Call Static Method Within Class
In Python, static methods can be invoked without an object and the “@staticmethod” decorator can be used for defining a static method.
-
Pandas Group by Quantile
The “groupby.quantile()” function can be utilized for calculating the quartile by the group in Python by importing the “pandas” module for data analysis.
-
Goodbye to Flake8 and PyLint: faster linting with Ruff
Flake8 and PyLint are commonly used, and very useful, linting tools: they can help you find potential bugs and other problems with your code, aka “lints”. But they can also be slow. And even if they’re fast on your computer, they may still be slow in your CI system (GitHub Actions, GitLab, or whatever else.)
-
Update: oledump.py Version 0.0.75
This update brings an new plugin: plugin_vba_dir.py (there are no changes to oledump). This plugin parses the records found in the vba/dir stream to display project, references and modules information oledump_V0_0_75.zip (http)MD5: FB0F82B3B29883707A399B99C894EF08SHA256: D357E48D827822D15C9C22C0B5204924FBA9FC59104818C9824AD149FE6F6249
-
Overview of Content Published in April