i am trying below code still it is giving me horizontal line..i am missing something?
self.ln = wx.StaticLine(self,-1,wx.Point(620,0), wx.Size(687,7),wx.LI_VERTICAL)
self.ln.SetForegroundColour(wx.Colour(255,0,255))
thanks for ur reply
got it now..i was missing style keyword ..earliar it has not given error thats why 
didnot found it
self.ln = wx.StaticLine(self, -1, size=(4,479),style=wx.LI_VERTICAL)
How to draw vertical line using wxpython