WPF Alternative for python

Is there any alternative for WPF (windows presentation foundation) in python?


Asked by: Lyndon689 | Posted: 28-01-2022

Answer 1

Here is a list of Python GUI Toolkits.

Also, you can use IronPython to work with WPF directly.

Answered by: Carina320 | Posted: 01-03-2022

Answer 2

You might want to look at pygtk and glade. Here is a tutorial.

There is a long list of alternatives on the Python Wiki.

Answered by: Chester956 | Posted: 01-03-2022

Answer 3

Try PyQt which binds python to QT graphics library. There are some other links at the end of that article:

  • Anygui
  • PyGTK
  • FXPy
  • wxPython
  • win32ui

Answered by: Dexter754 | Posted: 01-03-2022

Answer 4

If you are on Windows and you want to use WPF (as opposed to an alternative), you can use it with IronPython - a .NET version of python.

Here's a quick example: http://stevegilham.blogspot.com/2007/07/hello-wpf-in-ironpython.html

Answered by: Andrew802 | Posted: 01-03-2022

Similar questions

user interface - Is there a JGraph alternative for Python?

Which library can I use to develop an application for visual modeling with graphs? Is there a library for Python like JGraph for Java? Thank you!

python - Open source alternative to MATLAB's fmincon function?

Closed. This question does not meet Stack Overflow guid...

language features - is there an alternative way of calling next on python generators?

I have a generator and I would like to know if I can use it without having to worry about StopIteration , and I would like to use it without the for item in generator . I would like to use it with a while statement for example ( or other constructs ). How could I do that ?

security - Is there an alternative to rexec for Python sandboxing?

Implementing a 'sandbox' environment in Python used to be done with the rexec module (http://docs.python.org/library/rexec.html). Unfortunately, it has been deprecated/removed due to some security vulnerabilities. Is there an alternative? My goal is to have Python code execute semi-trusted Python scripts. In a perfect world, calls to any fu...

Python and MySQL: is there an alternative to MySQLdb?

Is there a module written purely in Python that will allow a script to communicate with a MySQL database? I've already tried MySQLdb without success. It requires too much: GCC, zlib, and openssl. I do not have access to these tools; even if I did, I don't want to waste time getting them to work together. I'm looking for tools that will make my work easier. Can someone point me in the direction of a MySQL Python mod...

Looking for a better alternative to PIL for basic image file I/O and processing in Python?

Closed. This question does not meet Stack Overflow guid...

how to program functions with alternative return value signatures in python? (next() for alternative iterators)

e.g. so that these would both work - is it possible? (val,VAL2) = func(args) val = func(args) Where val is not a tuple For example I'd like these to work for my custom object something for item in something: do_item(item) #where again item - is not a tuple for (item,key) in something: do_more(key,item)

python - Django - alternative to subclassing User?

I am using the standard User model (django.contrib.auth) which comes with Django. I have made some of my own models in a Django application and created a relationship between like this: from django.db import models from django.contrib.auth.models import User class GroupMembership(models.Model): user = models.ForeignKey(User, null = True, blank = True, related_name='memberships') #other irrelevant f...

python - Alternative XML parser for ElementTree to ease UTF-8 woes?

I am parsing some XML with the elementtree.parse() function. It works, except for some utf-8 characters(single byte character above 128). I see that the default parser is XMLTreeBuilder which is based on expat. Is there an alternative parser that I can use that may be less strict and allow utf-8 characters? This is the error I'm getting with the default parser: ExpatError: not well-formed ...

python - Alternative to the `match = re.match(); if match: ...` idiom?

If you want to check if something matches a regex, if so, print the first group, you do.. import re match = re.match("(\d+)g", "123g") if match is not None: print match.group(1) This is completely pedantic, but the intermediate match variable is a bit annoying.. Languages like Perl do this by creating new $1..$9 variables for match groups,...

python - Alternative to cvs2svn for performing cvs to svn migration

I am trying to perform a migration from cvs to svn on my our new XServe server which is running OS X Server. There is a known conflict between the cvs2svn and dbm libraries that come pre-installed with OS X. The error is: ERROR: cvs2svn uses the anydbm package, which depends on lower level dbm libraries. Your system has dbm, with which cvs2svn is known to have problems. To use cvs2svn, you must ins...

Still can't find your answer? Check out these communities...

PySlackers | Full Stack Python | NHS Python | Pythonist Cafe | Hacker Earth | Discord Python