Is there a nice way to switch between 2 different packages providing the same APIs?

Bev in TX countryone77 at gmail.com
Fri Jul 6 07:56:15 EDT 2018



> On Jul 6, 2018, at 3:14 AM, Mark via Python-list <python-list at python.org> wrote:
> 
> In the end I changed to a completely different approach.
> 
> I now have two parallel directories, one with PySide-based code and the other with auto-generated PyQt-based code. And I created a tiny script to copy the PySide code to the PyQt directory & do the necessary changes. (I can post the script if anyone's interested.)

I am interested.
> 
> This means that there are no import hacks and no (manual) duplication, while still being easy to test using either binding library.
> -- 
> https://mail.python.org/mailman/listinfo/python-list

Bev in TX






More information about the Python-list mailing list