zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Readable python tracebacks

March 16, 2020 by Igor Drobot Leave a Comment

Python tracebacks are ugly by design, the information from the traceback looks line for line identically, without direct pointing to the issue.

rich is a tiny python library which brings some color into the python game and makes the output of tracebacks nice and readable.

[Read more…]

Filed Under: Python Tagged With: python3

MongoDB on macOS

October 23, 2019 by Igor Drobot Leave a Comment

MongoDB is a cross-platform document-oriented database. Classified as a NoSQL database. MongoDB can be used for rapid development and storing of Big Data while the database is very scalable.

[Read more…]

Filed Under: Linux Tagged With: Big Data, MongoDB, python3

Python 2 to 3 migration

April 11, 2019 by Igor Drobot Leave a Comment

pythonclock.org is a pretty simple countdown for the end of Python 2.
The End Of Life, sunset date for Python 2.7 is officially announced to January 1, 2020.

It’s not a 1 April fool joke and not a really something new.
Python 3, a major, backwards-incompatible release, was released on December 3, 2008. [2]
So lets say, it was pretty clear who has not switched to Python 3 version,
it’s your own fault.

This a simple dive in for converting Python code from version 2 to Python 3.

[Read more…]

Filed Under: Linux Tagged With: pip3, python migration, python2, python3

Parallel python versions

March 11, 2019 by Igor Drobot Leave a Comment

Some project have strict dependencies, and requires additional python 3.x versions to manage the dependencies.
This describes a walkthrough of a build of python 3.5.6 from a source tarball.

Just go to python.org Download section and copy the download link to a python version of your need:

[Read more…]

Filed Under: Linux Tagged With: pyenv, Python, python3

Quickshare methods

November 26, 2018 by Igor Drobot Leave a Comment

Sharing is caring. For this situations there are following command line methods to provide some data to be downloaded from everywhere.
On the most common linux systems is python preinstalled or is a part of the core system,
so the next two python-examples should work like a charm.
[Read more…]

Filed Under: Linux Tagged With: Linux, PHP, Python, python3

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok