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

pipenv

March 1, 2020 by Igor Drobot Leave a Comment

Virtualenv was for me until 2020 a python-default tool for creating isolated virtual environments for python projects.
Virtualenv was always easy to handle and known as a mature pythonic tool under python developers.

But now, I think pipenv is stable and known enough to switch to it.

[Read more…]

Filed Under: Linux, Programming, Python Tagged With: pipenv, Python, virtualenv

SMTP debugging for Humans

January 30, 2020 by Igor Drobot Leave a Comment

A lot of different tools are around the internet which can be useful to determine different SMTP troubles.

The most of them are very useful but they are all reachable over the internet and don’t provide any kind of API for integration of monitoring or complex integration in (pre)deployment pipelines.
This is a short overview of some command line tools for developers and administrators, to check the e-mail flow during developing, emulate and intercept outgoing emails and afterwards for maintaining the setups.

[Read more…]

Filed Under: Linux, Programming, Python Tagged With: Debug, Python, SMTP

Catch KeyboardInterrupt

December 2, 2019 by Igor Drobot 2 Comments

CONTROL + C is the magic key combination to stop any execution at the command line. The execution stops immediately and in worst case you see something like ^C as the output of your running command.

If you stop the execution of any Python-Program, the output will be a bit unordinary and in the most cases, annoying. Because your Terminal gets flooded and you will get an Exception:

[Read more…]

Filed Under: Programming, Python Tagged With: KeyboardInterrupt, Python, Python Exception

Web frameworks

March 6, 2011 by Igor Drobot Leave a Comment

For most tiny web-projects is django or Ruby on Rails the overkill and that is mostly the problem which is between the framework and the quick solution.
There are a lot Micro Frameworks available without nasty and unnecessary stuff. Here is a short overview of them:

[Read more…]

Filed Under: Programming, Python, Ruby Tagged With: frameworks, Python, ruby

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