[Tutor] Need a bump in the right direction (network programming)
Dave Angel
d at davea.name
Fri Sep 23 09:20:53 CEST 2011
On 09/23/2011 01:15 AM, Cheeyung wrote:
> I'm creating a mobile application and I'm using python for a desktop
> server. However, I don't have access to a static IP on the desktop,
> but do have a website. Is it possible to connect from mobile -> http
> website -> desktop server and back?
>
> What kind of (python) libraries/functions am I looking for?
>
> As you can see, I'm completely clueless about where to begin. If
> someone could recommend a resource to learn network programming, that
> would be great too!
>
> Thanks!
>
> CY
> _
Run ifconfig as an external process, and parse the output to find your
IP address(es). Maybe that'll get you started. (if you're on Windows,
it'll be called ipconfig instead, and is formatted somewhat differently)
--
DaveA
More information about the Tutor
mailing list