Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は Python でいくつかのサーバー側のことをいじっていますが、プログラムを LAN 外で使用できるようにしたいと考えています。これについての最善の方法は何ですか?
私の頭の上から、IPを返す外部Webページを使用できます。たとえば、myip.dnsdynamic.org ページを使用すると、次のようになります。
import urllib2 myip = urllib2.urlopen("http://myip.dnsdynamic.org/").read()