fipy telnet
-
Hej!
Does anybody has experience to automate execution of a python file (not main.py) in the fipy board.
I am thinking of a script that can use telnet or any other means to go into the board and execute a arbitrary file.Please share your experience if you have in this context.
Thanks,
M -
@mraj That's what I forgot to mention yesterday. Yes, you can use telnet to connect to the FiPy and execute commands. Once you started a script, that keeps running even when the telnet conection is closed. So the challenge is to automate the PC side with ftp and telnet. That shoudl be possible with ftplib and telnetlib.
-
@robert-hh Yes, you are right. Now I see it working in two steps (could be better optimised). Using FTP to upload code and then using telnetlib to telnet the device and execute arbitrary command. Thanks. Just wondering if this is standard way?
Thanks,
M
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login