def set_kernel_var():
 Popen(['sysctl', '-w', 'net.ipv4.conf.all.route_localnet=1'], stdout=DN, stderr=PIPE)

def set_kernel_var ( ) : Popen ( [ 'sysctl' , '-w' , 'net.ipv4.conf.all.route_localnet=1' ] , stdout = DN , stderr = PIPE )
set kernel variables .