Skip to content

Very helpful APi! + Python2 Hack #2

@01tot10

Description

@01tot10

Hey hey!

Just wanted to thank you for writing this API, it helped me a lot yesterday when trying to figure out the serial protocol for my JDS6600 signal generator!

Also, just in case it might help someone else:
I was able to use the API natively within Python2 by importing the str() function from future. ( I should for sure move to Python3 but I guess there's still some others like me stuck in the past )

Here are the bits of code I added to the imports:

from __future__ import unicode_literals
from builtins import str

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions