I never really bothered checking, but apparently, my KoboCloud project, a set of scripts to download books to Kobo ebook readers from multiple cloud storage services (Dropbox, pCloud, Google Drive, and more) is quite successful. A couple of people even made video tutorials about it, with thousands of views!
I’m happy that this little hobby project changed the experience for so many users!
I’m also very grateful to the other contributors, who implemented a ton of features into the project! Thank you guys, this is the power of Open Source!
I recently implemented a swift generic input dialog for PyQt5 which extends the functionality of QInputDialog. It supports multiple inputs in the same window, with text, numeric, boolean, and option inputs.
Its usage is simple and intuitive as demonstrated by the following code snippet:
import sys
from PyQt5.QtWidgets import QApplication
import GenericInputDialog
app = QApplication(sys.argv)
app.setQuitOnLastWindowClosed(True)
accepted, values = GenericInputDialog.show_dialog("Test",
[GenericInputDialog.TextLineInput('Text input'),
GenericInputDialog.IntSpinInput('My Int', 10, -100, 100),
GenericInputDialog.FloatSpinInput('My Float'),
GenericInputDialog.IntSliderInput('My slider'),
GenericInputDialog.BooleanInput('Bool value'),
GenericInputDialog.OptionInput('My string options', [
'option 1',
'option 2',
'option 3'
], 'option 3'),
GenericInputDialog.OptionInput('My int options', [
('option 1', 1.1),
('option 2', 2.2),
('option 3', 3.3)
], 2.2)
])
# Note: for option inputs, the value list can be a list
# of strings, and then the output is the string itself, or a
# list of tuples, where the first element is a string (the label)
# and the second is the returned value (any).
# The default value for options can be the label string, the
# default returned value, or an integer index.
# returned values can be accessed by key or by position
print(values['My Int'])
print(values[2])
# they can be iterated like a list
for v in values:
print(v)
Il giorno 18 Aprile 2020 ho tenuto la seconda lezione online di programmazione in Python sulla lettura e la visualizzazione dei dati sulla pandemia di COVID-19.
Il giorno 11 Aprile 2020 ho dato una prima lezione online di programmazione in Python sulla lettura e la visualizzazione dei dati sulla pandemia di COVID-19.
The World Health Organization published a guide on how to produce an effective hand sanitizer when a commercial one is not available. While they discourage home production, with the COVID-19 pandemics in action, finding hand sanitizer has become challenging everywhere in the world.
I’ve made a google sheet for the calculation of the quantities needed for home production using the WHO recipe. You will need:
I have produced a number of precompiled SimpleElastix Python modules. As it is a pain to recompile it every time, I publish them here in case someone finds it useful. Let me know at francesco.santini@gmail.com if you need more.
Use easy_install to install the .egg files and pip to install the .whl files.
Newer modules are on PyPI maintained by myself! Install them with
pip install SimpleITK-SimpleElastix
All the modules are compiled for the x86_64 architecture.