MadBob
  • Home
  • About

python

A collection of 3 posts
The Wikipedia Graph
hack

The Wikipedia Graph

I've spent the latest days playing around categories in Italian Wikipedia, in the aim to chart them and get a visualization of a semantic graph composed by more than 440K nodes. I've not reached any acceptable nor useful result, but it is worth to document what
13 Oct 2023 3 min read
python

UDisks2 Python Automounting

Yet another full evening spent reading forums and mailing lists trying to hack together a few lines of code. Thanks, DBus. The following Python snippet auto mounts USB drives (I needed on an appliance with no any running evoluted desktop environment doing it). import dbus from dbus.mainloop.glib import
08 Jan 2017
python

ReloadOrRestartUnit

Given that I just spent two hours to write three lines of code, I share here my initial problem and the final solution for those looking for the same thing in the future (including myself). The problem is: in a graphical Python application running as a normal user, obtain authorization
11 Apr 2016 1 min read
Page 1 of 1
MadBob © 2025
Powered by Ghost