car using the phyton script

hello everyone…
im new in using blender game engine. it’s working if im using logic
but when I’m trying using a phyton script (I got from here) but it doesn’t work. can somebody show me where’s the mistake? thank you…

here is the file

OK, I looked at the file. ('m not good with python at all.) I did notice you don’t have a Sensor named “dir” which leaves an error in line 20 of the script. When I named the “z_dir” object Sensor ‘dir’, it made the wheels move, but in the wrong direction. There could be many reasons for this. Sorry I don’t have time to look at the .blend more.

Not fixed, but maybe you can figure it out from there. Good luck.