All I need is a frame, and a panel. On the panel I have to display 3 pictures 1 at a time, separated by a pause of custom length. I need the panel to be 773x632 pixels for my png image.

What I need is the function for displaying an image from a file, and the function for a wait done in seconds (ex. wait(120) <-- this isn't working but similar to what im looking for). Also where can i find all the functions and what they do (like a website?)

This is my code so far.

import wx

class ShowPic(wx.Frame):

    def __init__(self,parent,id):
        wx.Frame.__init__(self,parentid,'MyFrame', size = (773,632))
        panel1=wx.Panel(self)

        

        
if __name__=='__main__':
    app=wx.PySimpleApp()
    frame=MyClass(parent=None,id=-1)
    frame.Show()
    app.MainLoop()
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.