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

stream.py for python3 #1248

Open
dlbraun opened this issue Mar 10, 2024 · 5 comments
Open

stream.py for python3 #1248

dlbraun opened this issue Mar 10, 2024 · 5 comments

Comments

@dlbraun
Copy link

dlbraun commented Mar 10, 2024

I did a first pass at updating doc/scripts/stream.py for Python3. If one of the developers wants to check it over and add it to the distribution that would be great. It basically works. There is an issue where after uploading all the lines from the g-code file it sometimes enters an infinite loop of printing IDLE:....

stream.txt

@mitko125
Copy link

mitko125 commented Oct 5, 2024

What is the possibility of getting your "stream.py"? I'm not experienced in python and I'm having trouble converting the original to python3.

@dlbraun
Copy link
Author

dlbraun commented Oct 5, 2024 via email

@mitko125
Copy link

mitko125 commented Oct 5, 2024

Thank you.
But I can't figure out how to download "stream.py" at all?

@dlbraun
Copy link
Author

dlbraun commented Oct 5, 2024 via email

@mitko125
Copy link

mitko125 commented Oct 6, 2024

Unfortunately, as you sent me the file, I cannot insert it directly into "VS Code". I started to redo it and noticed that expressions like:
print "Initia.....
are for python2 and not for python3 which wants:
print("Initia...

So I don't need it, but thank you for the effort.

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