How to Print a List Without Newline in Python?

Best Solution to Print List Without Newline To print all values of a Python list without the trailing newline character or line break, pass the end=” argument in your print() function call. Python will then avoid adding a newline character after the printed output. For example, the expression print(*[1, 2, 3], end=”) will print without … Read more

How to Modify Images using Pillow

Problem Formulation and Solution Overview This article will show you how to use the Pillow Library in Python to modify and manipulate images. To make it more interesting, we have the following running scenario: Creative Prints is an online store accepting images from Photographers wishing to sell their art. The Manager would like you to … Read more

BitcoinVows.com

The idea of BitcoinVows.com is to create an immortal message, i.e., a “vow”, promise, love message, dedication, or just a simple note to your (future) kids that shall outlast civilizations. Bitcoiners believe that the Bitcoin Blockchain will exist for hundreds of years. πŸ’‘ The last Bitcoin will be mined in the year 2140. So, the … Read more

Python Convert Parquet to CSV

Problem πŸ’¬ Challenge: How to convert a Parquet file ‘my_file.parquet’ to a CSV file ‘my_file.csv’ in Python? In case you don’t know what a Parquet file is, here’s the definition: πŸ’‘ Info: Apache Parquet is an open-source, column-oriented data file format designed for efficient data storage and retrieval using data compression and encoding schemes to … Read more

Python Programming Tutorial [+Cheat Sheets]

(Reading time: 19 minutes) The purpose of this article is to help you refresh your knowledge of all the basic Python keywords, data structures, and fundamentals. I wrote it for the intermediate Python programmer who wants to reach the next level of programming expertise. The way of achieving an expert level is through studying the … Read more

Python Convert Markdown Table to CSV

Problem Given the following Markdown table stored in ‘my_file.md’: 🐍 Python Challenge: How to convert the Markdown table to a CSV file ‘my_file.csv’? Solution To convert a Markdown table .md file to a CSV file in Python, first read the Markdown table file by using the f.readlines() method on the opened file object f, by … Read more

How to Suppress Warning Messages in Python

Problem Formulation and Solution Overview This article will show you how to suppress warning messages in Python scripts. Warning messages in Python are commonly used to notify the coder of a potential issue with their script. Warnings can inform the coder about any outdated or obsolete elements. An example would be if a plugin or … Read more

How to Install the Solidity Compiler via Static Binary and Linux Packages

In this final, concluding part on installing the Solidity compiler, we’ll be going through two more approaches, the static binary / precompiled Solidity Compiler installation, and Linux packages installation. We will follow the outlined steps for these two fairly simple and quick approaches, and after that, make an overview of all the approaches we made … Read more

How to Install the Solidity Compiler via Source Code Compilation?

In this article, we’ll produce, i.e., compile a Solidity compiler from its source code. Platform compilation is not an operation regular computer users explicitly do very often, if ever. However, in some unusual situations, we need specific software in terms of its (previous) version, or it should run in our exotic environment, etc. Regardless of … Read more

Double Hyphen (‐‐) Not Single Dash (–) in WordPress

WordPress automatically replaces ‐‐ with the long dash –. But for technical text, you often need the double minus symbol, e.g., when writing scripts and command line flags such as –option. πŸ’¬ How to prevent WordPress from replacing the double hyphen (minus) with the long dash? Here’s the surprisingly simple fix: You can simply edit … Read more