Uncategorized

Debian Jessie: Run aprx as a service

If you’d like to run aprx as a service on Debian Jessie, use this systemd script (in /lib/systemd/system/aprx.service):  

 

Python’s Default Argument Values are Sticky

I can’t believe it’s taken me this long to learn this: Python’s default argument values are only evaluated once during runtime. I’ve never encountered this before because I don’t use default arguments very often, and when I do, it’s often to set something to a static value. Today, I encountered a function definition where I …

Python’s Default Argument Values are Sticky Read More »

Scroll to Top