Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/t/o/TopHat-1.02/TopHat_Platform/Networking/Protocols/Tpcustom/tophat.py   TopHat(Download)
from Common.log import LogFile
from Common.date import Timestamp
from Networking.Protocols.Tpcustom.networkhandler import TopHatNetwork
from signal import signal, SIGINT
from socket import AF_INET, AF_INET6
 
		global network
		network = TopHatNetwork(AF_INET6)
		signal(SIGINT,Shutdown)
		print "Listening on port %d, deadly." % config.Port
	else:
		global network
		network = TopHatNetwork(AF_INET6)
		signal(SIGINT,Shutdown)
		print "Listening on port %d, deadly." % config.Port

src/t/o/TopHat-Platform-HEAD/Networking/Protocols/Tpcustom/tophat.py   TopHat-Platform(Download)
from Common.log import LogFile
from Common.date import Timestamp
from Networking.Protocols.Tpcustom.networkhandler import TopHatNetwork
from signal import signal, SIGINT
from socket import AF_INET, AF_INET6
 
		global network
		network = TopHatNetwork(AF_INET6)
		signal(SIGINT,Shutdown)
		print "Listening on port %d, deadly." % config.Port
	else:
		global network
		network = TopHatNetwork(AF_INET6)
		signal(SIGINT,Shutdown)
		print "Listening on port %d, deadly." % config.Port