Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 15 results for
tlapse
- Page 1
Integrating Python and wxPython?
Programming
Software Development
15 Years Ago
by sravan953
… __init__(self, parent, title): wx.Frame.__init__(self, parent, -1, '
tLapse
', wx.DefaultPosition, (560, 472), style=wx.CLOSE_BOX | wx.SYSTEM_MENU | wx….CURSOR_DEFAULT)) self.label4 = wx.StaticText(self.panel, -1, 'Welcome to
tLapse
. Please select a program you want to open.', (8,16…
Re: Integrating Python and wxPython?
Programming
Software Development
15 Years Ago
by sravan953
… __init__(self, parent, title): wx.Frame.__init__(self, parent, -1, '
tLapse
', wx.DefaultPosition, (560, 472), style=wx.CLOSE_BOX | wx.SYSTEM_MENU | wx….CURSOR_DEFAULT)) self.label3 = wx.StaticText(self.panel, -1, 'Welcome to
tLapse
. Select the program which you want to open:', (8,16…
Re: Integrating Python and wxPython?
Programming
Software Development
15 Years Ago
by Stefano Mtangoo
… __init__(self, parent, title): wx.Frame.__init__(self, parent, -1, '
tLapse
', wx.DefaultPosition, (560, 472), style=wx.CLOSE_BOX | wx.SYSTEM_MENU | wx….CURSOR_DEFAULT)) self.label3 = wx.StaticText(self.panel, -1, 'Welcome to
tLapse
. Select the program which you want to open:', (8,16…
Program abruptly quits
Programming
Software Development
15 Years Ago
by sravan953
Hey guys, I have made a program called '
tLapse
', here's the code: [code='python'] import subprocess import time …import os print("Welcome to
tLapse
...") time.sleep(3) os.system('cls') try: com=open…
Re: Program abruptly quits
Programming
Software Development
15 Years Ago
by sravan953
…'] import subprocess import time import os print("Welcome to
tLapse
...") time.sleep(3) os.system('cls') try: type=open…
Re: Integrating Python and wxPython?
Programming
Software Development
15 Years Ago
by vegaseat
With wxPython your input() and raw_input() are done with the wx.TextCtrl() widget and you need to bind the return key or use a button widget. Also, wxPython has its own timer. Also, do all of us a favor and don't use those horrible "8 space tabs" for indents!
Re: Integrating Python and wxPython?
Programming
Software Development
15 Years Ago
by mathijs
Take a look at the great wxpython tutorial on this site. It helped me to create some graphical programs with python. You should probably just bind some functions to a button wich is not too hard. I'm not sure how to link to the tutorial but you can find it at the top post in this forum
Re: Integrating Python and wxPython?
Programming
Software Development
15 Years Ago
by sravan953
[QUOTE=mathijs;891918]Take a look at the great wxpython tutorial on this site. It helped me to create some graphical programs with python. You should probably just bind some functions to a button wich is not too hard. I'm not sure how to link to the tutorial but you can find it at the top post in this forum[/QUOTE] Can you please specify which …
Re: Integrating Python and wxPython?
Programming
Software Development
15 Years Ago
by mathijs
[url]http://www.daniweb.com/forums/thread128350.html[/url]
Re: Integrating Python and wxPython?
Programming
Software Development
15 Years Ago
by sravan953
How do I bind the return key? I only know to bind a button to a function
Re: Integrating Python and wxPython?
Programming
Software Development
15 Years Ago
by vegaseat
Here is an example how to bind the Return/Enter key ... [code=python]# testing wxPython's # wx.TextCtrl(parent, id, value, pos, size, style) # a widget used for text data input or output import wx class MyFrame(wx.Frame): def __init__(self, parent, mytitle, mysize): wx.Frame.__init__(self, parent, wx.ID_ANY, mytitle, size=…
Re: Integrating Python and wxPython?
Programming
Software Development
15 Years Ago
by Stefano Mtangoo
Good start is wxPython's web [url]www.wxpython.org[/url] Then Go to their wiki. If you will walk there there is a link to Jan Bodnar's site [url]www.zetcode.com/wxpython[/url] and [url]www.learningpython.org[/url] Also there is a mouse vs python (google it) Are great sites for tutorial. Hard coding is better than GUI Builder, for your code will …
Re: Integrating Python and wxPython?
Programming
Software Development
15 Years Ago
by sravan953
What is the [CODE] self.edit.SetFocus()[/CODE] for?
Re: Integrating Python and wxPython?
Programming
Software Development
15 Years Ago
by Stefano Mtangoo
Read this, might help :) [url]http://aspn.activestate.com/ASPN/Mail/Message/wxPython-users/2168781[/url]
Re: Program abruptly quits
Programming
Software Development
15 Years Ago
by vegaseat
Most likely your while loop is the problem. You are telling while to loop as long as clock does not match the time, but inside the loop you have if with a condition to match clock and time.
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC