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 want create python GUI application. I want use html+css for drawing controls (buttons, comboboxes and other) because I already have source code for them. Ultimately I want have executable file (generated with PyInstaller or with other 'py to exe' packages).
I don't want use packages which represent webserver because I am going to use my application on WinPE which has many of limitations and problems.
What package I can use for it?
There may be a better way to do this, but there are multiple GUI packages in Python which have web browser objects (or can be used to make them).
Here's an example from PySide:
https://deptinfo-ensip.univ-poitiers.fr/ENS/pyside-docs/PySide/QtWebKit/
You can also search for examples on tkinter (Pythons standard GUI package), pyqt will be similar to pyside.
pygtk also has possibilities.
You can use these packages to build a primitive (or not if you put a lot of time into it) browser which you pipe your templates into based on user input.
How about TideSDK? http://www.tidesdk.org/
Supports Python, PHP, and Ruby and is pretty popular choice.
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 5 years ago.
Improve this question
I recently learned python for scripting for Maya and other applications. As someone who sees big potential within scripting I use my self-written script pretty often to speed things up. But there is kinda missing the easy-to-use aspect. I always have to copy them from Sublime(Text Editor) into Maya. Thats when I asked my technical director how to implement a window for my scripts. He suggested QT for it, but even though I already created some simple window, I cannot get it to work in Maya with python.
I did not find any very useful tutorial for that :/
Is there maybe a full tutorial for that? Or can somebody help me?
Importing your windows as a module, attaching functions to buttons and so on.
I think it would be interesting for many people who wants to learn python for some applications.
Thanks ahead!
Okay I found the answer myself after looking even more.
Here is a youtube link for a video from the "Maya Learning Channel" who shows it pretty well.
He is neither using PyQt nor PySide. Did not even know it works without these.
Good luck other people! ^^
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
So I was thinking it would be awfully convenient to have a Python interpreter DLL, and to what I know, the interpreter is a DLL, but I don't know how to use it/if it can be used that way.
I want to execute python files from Gamemaker Studio through a DLL, (Python 2.7, preferably.) and if I knew the functions of the DLL, I could make the proper GML scripts to do it.
Any help is greatly appreciated.
It is called embedding the Python interpreter. Read the section on extending and embedding the Python interpreter of the Python documentation.
You might consider some other interpreter, in particular Lua, which is free software, widely used in games, and rumored to be faster, or GUILE (also faster, and with a much more powerful and expressive language, Scheme; read also SICP)
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 7 years ago.
Improve this question
I'm starting to develop interfaces for my python applications , but I've seen that there are diferents tools to do it, so I would like to know which could be the best, I need something, easy, portable and pretty results. I hope that you can help me.
Pick the one you like, there's no "the best" here.
Personally I like PyQt4, because I like QT4, and py2exe works perfectly fine with it, wxPython is another good thing, but it does not work very well under Windows, see my question here: wx.App (wxPython) crash when calling
You can check some application developed using each frameworks, and see if you like any.
For PyGTK - Glade should be your best bet. Similarly, Rapyd-Tk seems to be good for TK. Though for Tk, I would advise you to try with the articles which help you build from the code and then go with the builders. This answer in SO provides the wealth of options available for building GUI using WxPython.