Wenhelt on Hackaday Prize 2023: Supercapacitors Let Solar Speaker Work In Darkness.Andy on The Other Way To Fight Software Rental.Anonymous on The Other Way To Fight Software Rental.David on The Other Way To Fight Software Rental.Stanson on Improved Hydrogen Fuel Cells Are Groovy.ITER Dreams And The Practical Reality Of Making Nuclear Fusion Work On Earth 46 Comments Posted in Ask Hackaday, Interest, Slider, Software Development Tagged atom, code completion, Geany, ide, IDLE, interactive shell, python Which IDE did you end up with and what kind of compromises did you make during that change. What do you prefer for your Python development? Does an interactive shell matter to you? Did you start with IDLE and move to a more mature IDE. It’s entirely possible I’ve just been using Python wrong all these years and that tinkering with your code in an interactive shell is a poor choose of development processes. I’ve resorted to using a “fake” python file in my projects as a workaround for commands and tests I would normally run in the interactive shell. I’m currently using runner which has an okay display but is not interactive. Script also uses a bottom pane but I can’t get it to run interactively. The first brings up a terminal as a bottom pane but doesn’t automatically run the file in that terminal. I’ve tried platformio-ide-terminal, script, and runner plugins. I’m using autocomplete-python and tabs-to-spaces, but again I come up short when it comes to running Python files. The package management is good, and the packages I’ve tried have been superb. CTRL-R brings it up and it uses a search style but you can also scroll through all symbolsĪtom depends heavily on packages (plugins that anyone may write). Atom has symbol view that isn’t shown all the time. It launches with a dark theme and everything is a tab. I have been using Atom much more than Geany and have grown to like it enough to stick with it for now. There is no code completion, and no syntax highlighting. When you run your program it launches in an interactive terminal, which I like, but you lose all IDE features at this point, which I despise. It’s the familiar three-pane layout that places symbols to the left, code to the right, and status along the bottom. The look of Geany brings to mind an “IDE 1.0” layout style and theme. Both are easy to install on Linux and provide the more advanced features I want for larger projects: better navigation, cross-file code completion (and warnings), variable type and scope indication. I’ve tried perhaps a half-dozen different Python IDEs now, spending the most time on two of them: Geany and Atom. I’m working on larger and larger projects spread over many files and the individual nature of IDLE editor windows and lack of robust navigation has me looking to move forward. The second desirable feature is that while using this interactive shell, IDLE supports code completion and docstring support (it gives you hints for what parameters a function accepts/requires).īut simplicity has a tough time scaling. This means that any globals that your script uses are still available, and that you can experiment with your code by calling functions (and classes, etc) in real time. The first is that it keeps an interactive session open after you run your Python code. Have IDLE run your code and it saves the file, then launches it in the shell window.įor me, there are two important features of IDLE’s shell. You get a separate window for the shell and each Python file you’re working on. Generally speaking my preferred development environment is text editor and command line compiler. It’s in the repositories for super quick and easy install and there’s basically zero configuration to be done. I’m a Linux-only type of a guy so using IDLE for Python is a natural fit. For Years I’ve Been IDLE IDLE with interactive shell that has highlighting and code completion Perhaps I just haven’t tried the right one yet, but it could be that I’m just doing Python wrong. And just like Arduino, I have yet to find the killer IDE for Python. It has a critical mass of libraries for anything from facial recognition and neural networks to robotics and remote sensing. Python is the Arduino of software projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |