r/BeagleBone • u/kelei • Jul 24 '14
Sending Python files to the BBB
Hey guys, so I'm pretty new to the embedded systems but have done a bit of C++ on MCU's in the past. I'm working with a BBB right now and the language I would like to work with is Python. I'm able to run Python codes by creating a .py file within the BBB through the PuTTy SSH terminal (copy and paste method). But is there a crafty way of having the file/s written in Notepad++ on my desktop and then transferring it to the BBB. Thanks in advance!
2
u/destroyman1337 Jul 24 '14
Using WinSCP you can transfer stuff using its default IP address. 192.168.7.2.
I usually just wrote my .py files by connecting through SSH and using VIM directly on the BBB. But sometimes I would do them in Notepad++ on windows and just transfer them over.
1
1
u/_yertle_the_turtle Jul 24 '14
Sftp will get the job done. Are you running Angstrom?
1
u/kelei Jul 24 '14
No, I have it on Debian as it was pre-programmed.
2
u/_yertle_the_turtle Jul 24 '14
Ahh ok. I had an older version running stock angstrom but I just flashed debian the other day. Go with WinSCP
3
u/zombieregime Jul 24 '14
i usually use filezilla to transfer files back and forth. if you right click a remote file youll get a "view/edit" option which, on my desktop, opens the document in wordpad.
2
u/mooktank Jul 24 '14
There's a built in option in Windows Explorer for adding FTP locations. See here.
1
1
1
Aug 14 '14
I use samba and nfs. Samba for accessing from windows, nfs for accessing from Linux. Or, a mount directly to my dev pc (using samba or nfs) and run stuff from there for development. Edit on dev pc, run/compile on bb.
Or...you could use FTP or some usage insanity like that.
Blows my mind that people are using ftp...
5
u/battery_go Jul 24 '14
WinSCP is what you're looking for (if you can SSH into the BBB)