xForms /

Filename Size Date modified Message
992 B
484 B
2.3 KB
975 B
1.7 KB
2 B
1.4 KB
1.6 KB
9.2 KB

This project intends to help create quick and easy desktop gui forms(wxPython), which can perform various actions through scripts written in python. A simple example would look like..

    <entry label="User Name" varname="user"/>
    <entry label="Password" varname="pass" password="true"/>
    <button label="Done" command="done_clicked"/>
    <command id="done_clicked"/>
      print 'User name is', user
      print 'Password is', pass
      print 'Done.'

This generates a form with two fields an a button, clicking which, the username and password are printed to the console (console can also be built-into the form using console="true" in the root xForm tag)

I want this project to encourage people to create simple gui's to take some input instead of command line requesting of information especially when distributing your scripts.