Skip to content

Instantly share code, notes, and snippets.

View serrasqueiro's full-sized avatar
🎯
Focusing

Henrique serrasqueiro

🎯
Focusing
View GitHub Profile
@serrasqueiro
serrasqueiro / reindent.py
Last active March 26, 2023 10:58 — forked from akanakia/reindentv2.py
A slightly more versatile reindent.py
# reindent.py -- Tim Peters, and H.Moreira
# pylint: disable=missing-function-docstring, trailing-whitespace, line-too-long, invalid-name, unused-argument
# Re-named to reindent.py and enhanced by Henrique Moreira, 01 Dec 2019.
# Released to the public domain, by Anshul Kanakia, 22 May 2019 as reindentv2.py
# Original code reindent.py released to the public domain, by Tim Peters, 03 October 2000.
# This version is modified to allow custom indent space values (not just 4 spaces).
"""reindent [-d][-r][-v] [ path ... ]
@serrasqueiro
serrasqueiro / fastexcel.py
Last active August 31, 2020 17:55
fastexcel
# (c)2020 Henrique Moreira -- fast Excel read-out
""" fastexcel.py script allows you to learn Excel openpyxl usage """
# pylint: disable=unnecessary-comprehension, invalid-name
### Notes:
### unnecessary-comprehension, see:
### https://github.com/PyCQA/pylint/issues/3164