Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.5 not supported #1

Open
AntonElsesser opened this issue Jul 4, 2020 · 1 comment
Open

Python 3.5 not supported #1

AntonElsesser opened this issue Jul 4, 2020 · 1 comment

Comments

@AntonElsesser
Copy link

  • socketscpi version: socketscpi-2020.5.0-py2.py3-none-any.whl
  • Python version: 3.5
  • Operating System: Windows10 amd64

Description

I have problems during the import of the module in python 3.5.

Python 3.5 don't support f Prefix.

The Problems are located in socketscpi.py

in line 233 return f'#{len(str(numBytes))}{numBytes}'

in line 263 if debug:
in line 264 print(f'binblockwrite --')
in line 265 print(f'msg: {cmd}')
in line 266 print(f'header: {header}')

It would be nice if you find the time to refactor this to support newer python versions.

@blistergeist
Copy link

I will look into the effort required to support versions of Python older than 3.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants