How to run Python in Brackets (MacBook)
Adobe Brackets and running Ruby/Python programs - Stack Overflow
Using Brackets (Text Editor) for Python?
Add curly brackets to python please
Videos
Hey guys! I’m learning python (coming from c++ and java) and I’m trying to use Python in Adobe Brackets. I know Brackets is more for html/css, but I really like. Problem is, I can’t for the life of me figure out how to execute my program once the code is ready.
Does anyone know how to run the code from Brackets without opening the terminal and running it manually?
Thanks!
You might want to try a generic extension for running command line tools, such as one of these:
- Command Line Shortcuts
- Brackets Build System
- Command Runner
- Brackets Shell access
- Brackets Terminal
- The Brackets Builder you mentioned above - looks like you choose Edit > Edit Builder to configure the commands you want, and then you can press Ctrl-Alt-B to run them.
Brackets Builder has worked best for me "right out of the box". However, I run into the same problem as you (when wanting to perform console inputs) in both Brackets AND Sublime, but NOT in SciTE.
A good clean work around inside Brackets, for when you need to test programs with console inputs, is to load the extension "Open project in terminal", which will allow you to open a terminal right from your current project folder and run your python script. This allowed me to run your case from Brackets with very little hassle, and of course, it works great in a real terminal.
To make this approach even easier, I've asked the developers on GitHub, thru a raised issue, if they can add support for more terminal programs in Windows, such as ConEmu, and if they could allow intial command line arguments to be loaded, which would make this type of work that you want to do even more seamless and fast. I'll update my post once I see any improvements or alternatives to all the above points.
I was wondering if Brackets is a good choice for Python. I know there are other favorites for Python, but I currently have Brackets installed and would be happy to just use that. Are there any disadvantages to using Brackets for Python and should I switch? FYI I'm just starting out in programming.
» pip install bracket-expansion