pymba
pymba copied to clipboard
Improve the DLL search pattern
This should make it discover newer versions such as the recently released Vimba 4.0, too.
Thanks, much nicer! My only hesitation is that this requires Python 3.4, which may cut off some users.
Yes, I specifically checked for the patlib library availability. But Python 3.4 is already end of life. Even Python 3.5 will be EOL in september.
The more critical thing, I just realized would be the format strings I used. That is python 3.6. Feel free to use ore modify this code as you like :-) I just ran across it when the current pymba version did not like vimba 4.
Fair point on v3.4. Yes, the f-strings are still an issue for some users, if you can remove that I'll merge ;)