User Profile

Collapse

Profile Sidebar

Collapse
analfabete
analfabete
Last Activity: Jan 15 '08, 09:34 PM
Joined: Aug 23 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • analfabete
    started a topic Error on windows startup (zipextimporter)

    Error on windows startup (zipextimporter)

    HI everybody !
    I have finished my python program with WxPython and it compile with py2exe
    My program work fine when I start it by an icon but when I use windows registry (HKCU\Sofware\w indows\currentv ersion\run\mypr ogram.exe) to start my program on windows startup my program does'nt work and I have this error:
    Code:
    Traceback (most recent call last):
      File "<install zipextimporter>", line 1, in <module>
    ...
    See more | Go to post

  • analfabete
    started a topic Use variable after use on function

    Use variable after use on function

    Hi everybody !
    Currently i have a problem about 10 code lines on my mass mailling script
    Code:
    min_id = 0
    max_id = 99
    
    while max_iduser[0] >= min_id:
        
        recup_mail(min_id ,max_id)
    
        min_id += 100
        max_id += 100
        time.sleep(30)
            
    else :
        sys.exit()
    My problem is after use recup_mail(...) , min_id...
    See more | Go to post

  • analfabete
    started a topic My StaticText doesn't appear

    My StaticText doesn't appear

    Hi everybody !
    When i call my class Maj, my staticText label, there is no text appear just a white Framework...

    Code:
    class Maj(wx.Frame):
        def __init__(self, parent, ID, title):
            resolution = wx.DisplaySize()
            pos = (resolution[0]/2-175,resolution[1]/2-15)
            
            wx.Frame.__init__(self, parent, ID, title, pos, wx.Size(400, 40), style= wx.FRAME_NO_TASKBAR | wx.STAY_ON_TOP
    ...
    See more | Go to post

  • analfabete
    started a topic wx.dialog button event doesn't work

    wx.dialog button event doesn't work

    Hello everybody!
    I have a program with a button.
    When I click on this button a wx.dialog open.
    However on my new windows there are two button "Valider" and "Annuler", can you tell me why they don't work, I didn't pass to fix my problem can you help please...
    My program:
    Code:
    import wx
    import wx.lib.buttons as buttons
    
    class FenetrePrincipal(wx.Frame):
    ...
    See more | Go to post

  • analfabete
    replied to Popmenu and crash
    I found a solution so when i click on the menu for the first time nothing happen and after it work...
    [CODE=python]import wx
    import wx.lib.buttons as buttons

    class FenetrePrincipa l(wx.Frame):
    def __init__(self, parent, ID, title):
    wx.Frame.__init __(self, parent, ID, title, wx.DefaultPosit ion, wx.Size(482, 68), style= wx.FRAME_NO_TAS KBAR | wx.STAY_ON_TOP )

    #Bouton Option...
    See more | Go to post
    Last edited by bartonc; Oct 4 '07, 06:46 PM. Reason: Added =python to code tags

    Leave a comment:


  • analfabete
    started a topic Popmenu and crash

    Popmenu and crash

    I do a program with a Bitmap Button and i want when i click on my button open a popupmenu. However when i click on my button my program.pyw stop (bug).
    Can you tell me why please:
    My program:
    Code:
    import wx
    import wx.lib.buttons as buttons
    
    class FenetrePrincipal(wx.Frame):
        def __init__(self, parent, ID, title):
            wx.Frame.__init__(self, parent, ID, title, wx.DefaultPosition, wx.Size(482,
    ...
    See more | Go to post

  • analfabete
    replied to wxPython Event creates a new frame
    Thank for your fast respond, but it don't working fine because with the Show method, a new frame create. Me I just want to replace it with a different position
    See more | Go to post

    Leave a comment:


  • analfabete
    started a topic wxPython Event creates a new frame

    wxPython Event creates a new frame

    Hi everybody! I really need your help
    I have created a program with events.
    So when my event is turn on by click on a menu , the parent windows move:
    My code:
    Code:
    class MenuOptions(wx.Menu):
        def __init__(self, WinName):
            wx.Menu.__init__(self)
            self.parent = FenetrePrincipal( None, -1, "Example" )
            ...
            my menu
            ...
            self.Bind(wx.EVT_MENU,
    ...
    See more | Go to post

  • Hi there is a miderstanding because my english is bad
    So I have decide to draw a schema what i want:
    ...
    See more | Go to post

    Leave a comment:


  • Always see the entire wxPython window on the screen

    Hi everybody !
    When I move my windows's program, this windows can leave the screen like all program.
    But me, I would like to know how I can do to always keep all part of my windows (when I move it) visible

    I do this:
    Code:
      
         self.width = GetSystemMetrics(0)
         self.height = GetSystemMetrics(1)
    
        def OnLeftDown(self, evt):
            self.CaptureMouse()
    ...
    See more | Go to post

  • analfabete
    replied to Bitmap and mask
    Thank you, now it work fine !
    See more | Go to post

    Leave a comment:


  • analfabete
    started a topic Bitmap and mask

    Bitmap and mask

    Hi everybody !
    I am triyng to set a mask on my bmp image with this code:

    Code:
            
    bmpHome = wx.Bitmap('btn_home.bmp',wx.BITMAP_TYPE_BMP)
    bmpHome = bmpHome.SetWidth(18)
    mask = wx.Mask(bmpHome, wx.WHITE)
    bmpHome = bmpHome.SetMask(mask)
    So I received this error message:


    Can you help me please...
    See more | Go to post

  • So I have do this:
    Code:
        
    self.Bind(wx.EVT_MOTION , self.OnMoveFen)
    
    def OnMoveFen(self, event):
            if wx.MouseEvent.LeftIsDown == True:
                pt = wx.Point
                self.Move(pt)
    But when I push down my left button nothing do... can you help me please...
    See more | Go to post

    Leave a comment:


  • Move windows without title bar (wxPython)

    Hi evrebody!
    Currently I am using wxPython to make my own program !
    My program have no taskbar so I would like to know how to do this:
    When an user click on right mouse button, and he keep down this button , he can move the program windows anywhere.

    I have this:
    Code:
    self.Bind(wx.EVT_RIGHT_DOWN, self.OnMoveFen)
    So I don't know how to write...
    See more | Go to post

    Leave a comment:


  • analfabete
    started a topic Move windows without title bar (wxPython)

    Move windows without title bar (wxPython)

    Hi evrebody!
    Currently I am using wxPython to make my own program !
    My program have no taskbar so I would like to know how to do this:
    When an user click on right mouse button, and he keep down this button , he can move the program windows anywhere.

    I have this:
    Code:
    self.Bind(wx.EVT_RIGHT_DOWN, self.OnMoveFen)
    So I don't know how to write OnMoveFen function... Can you help me please ?
    ...
    See more | Go to post

  • analfabete
    replied to Integrate IE in python program
    Before the change i had the same error
    See more | Go to post

    Leave a comment:


  • analfabete
    replied to Integrate IE in python program
    I changed my code so I have already the same errors:...
    See more | Go to post

    Leave a comment:


  • analfabete
    replied to Integrate IE in python program
    I have found something about IEHtmlWindow
    And I have tried to write something but everything crash
    My code
    Code:
    import wx
    if wx.Platform == '__WXMSW__':
        import  wx.lib.iewin    as  iewin
    
    class IE(wx.Frame):
        def __init__(self,titre):
            wx.Frame.__init__(self,parent=None, id=-1, title= titre , size=(300, 300) )
    
            self.ie = iewin.IEHtmlWindow(self, id=-1, style
    ...
    See more | Go to post

    Leave a comment:


  • analfabete
    started a topic Integrate IE in python program

    Integrate IE in python program

    Hi,
    I begin in python program and I would like to know how I can do to integrate Internet Explorer into my python program without titlebar statusbar etc... Just with the main windows (windows which show web site)
    I have already searched documention but i never find something about my problem
    Thank you !
    See more | Go to post
No activity results to display
Show More
Working...