Skip to content

Instantly share code, notes, and snippets.

@batok
Created July 13, 2009 15:59
Show Gist options
  • Save batok/146216 to your computer and use it in GitHub Desktop.
Save batok/146216 to your computer and use it in GitHub Desktop.
import wx, socket
app = wx.PySimpleApp()
wx.MessageBox( socket.gethostbyname(socket.gethostname()))
app.MainLoop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment