User Tools

Site Tools


connectornot-lisbon-py

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
connectornot-lisbon-py [2015/04/30 08:26]
zoza created
connectornot-lisbon-py [2015/04/30 08:29]
zoza
Line 1: Line 1:
-====== get-values.py : interfacing incoming values from the app and  ​======+====== get-values.py : interfacing incoming values from the app with the physical system ​ ​======
 <code python> <code python>
 #​!/​usr/​bin/​env python #​!/​usr/​bin/​env python
Line 49: Line 49:
     try:     try:
         #datas = codecs.open("​values-test.txt",​ "​r",​ encoding="​utf-8"​)         #datas = codecs.open("​values-test.txt",​ "​r",​ encoding="​utf-8"​)
-        datas = urllib2.urlopen("​http://​kucjica.kucjica.org/​androidtesting/​arduino-get.php")+        datas = urllib2.urlopen("​http://​url-to-php-file-on-remote-server")
         line = datas.read()         line = datas.read()
         #print line         #print line
connectornot-lisbon-py.txt ยท Last modified: 2015/04/30 08:30 by zoza