how to receive two data in python [solved]

my first exercise with python arduino sketch:

 ...
float t =  dht.readTemperature();
 float h = dht.readHumidity()
 bridge.put("temp", t);
 bridge.put("umidi", h);
...

I would like a very simple python example

 #!/usr/bin/python thank you very much

Have you tried Googling "arduino python" and what did you find that might be useful?

...R

To receive parameters in python you could use sys.argv, use print sys.argv find out how. At Arduino sketch side:

void insertdb() {
  Process p;            
  p.begin("/mnt/sda1/mysql.py");      
  p.addParameter("1"); 
  p.addParameter("32"); 
  p.run();

http://forum.arduino.cc/index.php?topic=214431.msg1570756#msg1570756

thanks for the suggestions! I'd like to see an example like:

$test= $client->get("temp");
echo $test;

but if it is possible written in python

Fortunately, I found a [u]running[/u] system:

#!/usr/bin/python

import sys    
sys.path.insert(0, '/usr/lib/python2.7/bridge/') 
from bridgeclient import BridgeClient as bridgeclient   
value = bridgeclient()      
temperatura =  value.get('temp') 
umidita = value.get('umi')

print temperatura
print umidita

I hope it will be useful