J_T
Posts: 1
Joined: Tue Aug 27, 2019 9:25 pm

Python development cycle

Tue Aug 27, 2019 9:38 pm

I have a raspberry pi zero which I have set up for headless use. I want to run some basic applications written in python (v3+), which is easy enough via ssh-ing into my pi and running various commands, but also extremely tedious. I would expect there to be some kind of ide or ide plugin to automate this process but I can't find anything like that (at least not for headless mode). Do such tools exist? And if not, what is standard practise for headless development?

Thanks :)

User avatar
MrYsLab
Posts: 372
Joined: Mon Dec 15, 2014 7:14 pm
Location: Noo Joysey, USA

Re: Python development cycle

Wed Aug 28, 2019 6:49 pm

If you are running a Buster version with GUI capabilities, you can run VNC to remotely access your RPi from your PC and then use something like Thonny or Mu as your IDE.

If you are using a version of Buster without GUI capabilities, then PyCharm Pro https://www.jetbrains.com/pycharm/?fromMenuwill allow you to easily develop and debug on your PC via SSH. They provide a 30 day trial period. It is simple to set up and works very well out of the box.

You can also use Visual Studio Code https://code.visualstudio.com/?wt.mc_id=DX_841432 That is free of charge. I prefer PyCharm and do not use VS Studio Code. The procedure to get remote debugging working looks like fun to get going ;) https://code.visualstudio.com/docs/python/debugging

Return to “Python”