Search results

  1. G

    Receiving uploaded GPRS data through a socket (Python)

    I am trying to develop a script that runs on my server that receives and processes data uploaded from a GPRS device. The GPRS device allows me to set the IP address and port number. First of all, I just want the script to acknowledge that the GPRS device has connected to it. At the moment, on...
  2. G

    Python - shebang line not working

    I have tried both shebang lines separately: #!/usr/bin/python #!/usr/bin/env python with the following script: print "Content-type: text/plain\n\n" def hi(): print "hello" hi() Both times I get a 500 error. When I setup a cron to email me the output, I get an error saying...
Top