In article <496f0fac.30...@cemery.org.uk>,
Ranec wrote:
> The following code works just fine under Windows XP and Vista but not on
> MacOS X (currently no idea what version, though Python is 2.5.?). Any
> thoughts?
>
> def get_my_ip_address():
> ret=None
> try:
> s=socket.socket(
Sorry, my mistake. I didn't see you were using UDP...
Bill Janssen wrote:
> does anything listen on port 0?
Bill
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
Ranec wrote:
> s.connect(('google.com', 0))
What does this even mean? "google.com" is a domain, not a server
(though it does forward to "www.google.com"). And port 0? Does
anything listen on port 0? Sounds like OS X is the only platform that
gets this right :-). Try this:
s.conne
Eddie L wrote:
Christopher Barker wrote:
Some quick poking did not make it clear to me where py2app builds the
__boot.__py
file though.
If you create an app with py2app then right click on it and click show
package contents then you can browse the app's contents. __boot__.py is
located in
temporary answer
http://www.artima.com/forums/flat.jsp?forum=181&thread=113874
On Thu, Jan 15, 2009 at 4:27 AM, Ranec wrote:
> Dear All,
>
> I'm writing a Python FOSS application and am *very* keen to keep it
> platform agnostic.
>
> I don't own a Mac, but have access to some sympathetic Mac o
Christopher Barker wrote:
>
> Some quick poking did not make it clear to me where py2app builds the
> __boot.__py
> file though.
>
If you create an app with py2app then right click on it and click show
package contents then you can browse the app's contents. __boot__.py is
located in Content/
Dear All,
I'm writing a Python FOSS application and am *very* keen to keep it
platform agnostic.
I don't own a Mac, but have access to some sympathetic Mac owners. :-)
The following code works just fine under Windows XP and Vista but not on
MacOS X (currently no idea what version, though Python