3 ms·
Yes, I have a little Python library for managing network shares in Windows. It has things like automatic retries that "back off" slowly, switching to cached IP
by at_a_remove 6y ago
Yes, I have a little Python library for managing network shares in Windows.
It has things like automatic retries that "back off" slowly, switching to cached IPs in case DNS is down, and checking to see if all of the drive-letters are full and either re-using a letter or creating a "letter-less" share. I had to develop it during a period of great instability within our network. It's ... large and over-engineered, but it just keeps on truckin'.
On the other hand, it has been quite useful going forward, so that's a plus.
I tend to program fairly defensively, in layers, right down to the much maligned Pokemon exception handling. The results don't have the, ah, velocity that is so often praised but they'll be there ticking along years later.