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 8 years ago.
Improve this question
I've been writing and using short Python scripts (~100 lines) for various tasks in Ubuntu using the Geany text editor, which I like for it's simplicity (setup, F5 to run, etc.) and syntax highlighting.
I would like to know if there is a similar application for Windows. Because what I've found so far requires downloading 3 different applications or using a big IDE like eclipse.
You can use the Geany build for Windows
You can still use Geany to run Python in windows.
But if you need to debug, auto-complete and beautiful IDE, I suggest that you head for pycharm.
Microsoft's Python Tools for Windows now works as a plugin for Visual Studio Express (and not just the paid version of Visual Studio) so you get nice free solution that has everything you need with a pretty simple install. It can be found at: http://pytools.codeplex.com/
Any good programmer's text editor will do. I personally use SublimeText 3, but I've used Eclipse + PyDev before to great success, and the usual suspects (emacs, vim, Notepad++) will work just fine too.
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 6 years ago.
Improve this question
I have this script written in Python 3.5 and I need to run it in a windows 7 PC.
The problem is that this PC does not have Python installed.
Is there a way of converting the .py to an extension that windows can run?
Or is there a way of converting the .py file to .bat or something like that?
Thanks!
py2exe should handle situations such as this. Directly from the tutorial site it says:
"py2exe turns Python programs into packages that can be run on other Windows computers without needing to install Python on those computers."
Source: http://www.py2exe.org/index.cgi/Tutorial
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 7 years ago.
Improve this question
I use Python with compiled Cython and Fortran extensions (wrapped using modern Fortran's iso_c_binding module and Cython) for number crunching.
So far, I do not have a convenient debugging strategy. I use pudb for the Python part. Although I might be able to use gdb on the Cython&Fortran parts of the project, I find myself to be using console text output (print()!) instead.
I'd like to know if there are tools that make the different levels of code transparent for debugging, i.e. I'm looking for a "one-tool-debugs-it-all" solution that doesn't care whether it steps Python, Cython or Fortran code.
I'd prefer tools that allow user-friendly interaction, such as the aforementioned pudb. Does such a jack of all trades debugging tool exist? Is the Python mode of GDB the best I can get?
You can use the Cython debugger which extends gdb with new commands that begin cy. These let you step through Cython code, set breakpoints, inspect locals etc. and still work just like the py commands from GDB's Python mode when you happen to be in a Python frame. There's no Fortran support unfortunately.
You can try free PTVS + trial Intel Fortran + mixed mode debugging
see also
http://pytools.codeplex.com/wikipage?title=Mixed-mode%20debugging
http://pytools.codeplex.com/workitem/1974
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...
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 8 years ago.
Improve this question
Can somebody point me at a good tutorial for py2exe? I've read over the official tutorial but it is rather light on details, compared to all the options one can use when building an executable out of a python script. For the record, my python script uses Python 2.5.2, wxPython/wxWidgets 2.8 and MySQLdb 1.2.2; so if you have specific tips for py2exe with those packages that would be much appreciated (and yes, I've seen the Py2EXE and wxPython page).
Regarding "Py2EXE and wxPython", the page mentions the import statement "from wxPython.wx import *". This is the old wxPython (several years old, I think). In my app, I just do "import wx", and I don't have any major troubles.
I have one tip for wxPython and py2exe: you need a manifest if you want your app to look any good on Windows XP. This email has details: http://mail.python.org/pipermail/python-list/2004-June/268126.html
I'm going to release py2exe GUI so that you can easy compile your apps without writing setup scripts. More info here
Don't know about a better tutorial, but there is some information to be found at the news list.
http://news.gmane.org/gmane.comp.python.py2exe
Since this question was asked, I've updated the official py2exe tutorial to include substantially more information about bundling the Microsoft C runtime DLL.
http://www.py2exe.org/index.cgi/Tutorial#Step5
If anyone reading this question knows about things which they think are missing from the official tutorial, can I encourage them to add that knowledge to the official tutorial, which is a wiki.