Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I used to be a heavy R programmer and really used to the Rstudio's "highlight and run" feature. I just wonder if there any python IDE that has similar feature that allows you to select part of the code in a script and run and show the results in a console?
In Spyder you can highlight and run by pressing F9. I also heard a rumour that RStudio is going to be able to run python soon but I'm not sure if it's true
Try GNU Emacs - very powerful text editor. Using this editor you can run the selected region of code in the python shell. See this question for more details.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am new to Python and Ubuntu. Using it to learning Machine learning. so it learning 3 things at same time.
As of now I am trying out of code on terminal, any recommendation which IDE to use ?
Try using Jupyter notebook. You could use this by installing Anaconda. For developing your applications further, you may still want to try Pycharm later.
But I would really recommend you to first go with Jupyter notebook because it allows to run a part of your code and check the results below it. It will help you to understand your code well.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I've been using slimmer in python 2 but now I'm switching to Python3. I am not able to find alternative to slimmer in Python3. Can anyone suggest any alternative which can be used in Python3? Thanks
Slimmer is no longer maintained, as stated by the author on the Project's page, so it is very unlikely that it gets ported to Python 3 one day.
The author recommends using other projects (he mentions UGLIFY-JS or CSSMIN) that are not Python based (most "uglyfiers" are written in JS).
That makes it likely that, to use them from Python code, you will have to use a subprocess.Popen() call to their executable. You can create a wrapper function around this call to create a kind of Python binding.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
at the moment i am using the IDLE of python, but I am really missing the "basic" IDE features like Code Cempletion and Suggestion of used variables. IS there an IDE that supports these and works with OpenCV?
I'm pretty new to both, so I am sorry if I lack knowledge.
Generally every IDE for Python should work with OpenCV (it's just a wrapper for C++ lib, not something more complicated). Here you have a big list with comparision of features. Right now i'm using Sublime Text, because i'm working on quite small project and i don't need "big" IDE like Eclipse.
Important note about Sublime - if you often need to test something in console, consider installing SublimeREPL plugin - it allows you to run Python (or almost any other language or shell) in Sublime tab, so you can use it with all editor features (e.g. code completition)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
We are planing to place quality checking for our python code, earlier we used sonar for java projects. Is there any project support python having similar functionality of sonarsource ?
There seem to exist a python plugin for sonar now.
Check this https://stackoverflow.com/questions/296420/automatic-code-quality-review-tool-for-python
Basically you could use PyFlakes, PyLint or PEP8 and hook it to your version control system to run on every commit.
You may have a look at Violations Lib. It is used in a bunch of plugins, listed in its README. It supports analysis tools for Python and there are plugins for commenting GitLab, Bitbucket Server and GitHub.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have seen various articles about good Python editors/IDEs, like this. However, none of them points out whether the editors support automatic code completion. I tried notepad++, PyScript and Komodo Edit, but all of these requires a hotkey to invoke the code completion dialog.
Do you know any Python editors with automatic code completion?
This SO question shows how to do it with vim/gvim, eclipse/pydev, IDLE, wingware -- however no answer is clear about the "automatic" part (which would of course still require confirmation, since there's never an absolute certainty!-).
Eclipse with pydev extension should work.
Aptana pydev (based on eclipse)?
Try Pycharm
They have explained how to install and how to use.
I am using Pycharm from last year It's quit helpful in tab completion and other things like setting project configuration for virtual env, git anaconda etc...