@fader, thanks for the idea. I think this would be too cumbersome. I typically wouldn't commit a change until I've tested it on the Omega, so I imagine this solution would have a huge amount of "test" commits.
Posts made by Chris Zeh
-
RE: Python Scripts - Suggested Workflow?
-
RE: Mega Omega Software Release!
Awesome, thanks for the update and detailed change info! Looking forward to the documentation releases.
-
RE: Python Scripts - Suggested Workflow?
@Johannes-Zellner I just saw your post after I was done composing my last one. I'm currently using Windows, buy maybe there is a similar tool to mount in a similar way... would be much more simple than the Dropbox approach I proposed above.
-
RE: Python Scripts - Suggested Workflow?
Thanks for all the great feedback everyone!!
In summary it looks like the three main options are:
- Become a command line ninja - SSH w/ VI/Nano. (Not ideal for big projects IMHO)
- FTP/SFTP to push the files, SSH to execute. (Several different approaches for this, Notepad++ w/ NppFTP, NetBeans, Python IDE + FTP Client, etc).
- ACE Web Editor in Console
I like the idea of doing the development locally, so I have a perpetual copy that I won't accidentally nuke when I do an Omega upgrade (plus I can use tools like GitHub Desktop and an IDE to manage larger projects.)
It looks like the best option is to use a text editor/IDE that will automatically do the FTP push when the file is edited... but I had another idea. Does OpenWRT Linux have any support for DropBox or similiar services? In this way we can use any editor/IDE and the DropBox like service will take care of syncing the files back and forth. Thoughts?
-
Python Scripts - Suggested Workflow?
Hi Onioneers,
I would like to be able to use a modern IDE or Text Editor to write Python scripts instead of hacking through the console.
I'm thinking I could setup an FTP and use something like Notepad++ to "live edit" files on the Omega, then execute the scripts via the Console. I'm wondering if there is a better way, or a better tool?
It's almost like I want to Cross-Compile, but more that I want to Cross-Script if that makes sense.
I would appreciate anyone's tips and workflows for working with Embedded Python.
Here is hoping I don't have to become a console ninja w/ VIM or EMACs to put together Python projects.
Thanks!
ChrisTwitter: @idleChris
Blog: idlelogiclabs.com
Side-Project: BetterSnipper