Asked — Edited

Python Program Language

Yo DJ

I believe that the new ARC can be programed in Python? In doing some research, to try and learn a little, I found out that it comes now in two versions (2 & 3) which are not fully compatible? Is that right? If so, which should one use?

Thanks


Related Hardware EZ-B v4

ARC Pro

Upgrade to ARC Pro

With Synthiam ARC Pro, you're not just programming a robot; you're shaping the future of automation, one innovative idea at a time.

PRO
Synthiam
#1   — Edited

ARC uses Python 2: https://stackoverflow.com/questions/1093322/how-do-i-check-what-version-of-python-is-running-my-script

User-inserted image

Also note, JavaScript is much faster than Python if you're looking at performance.

#2   — Edited

Hey Ted, how are you? Nice to see you are still around. We need more smart people on the forum. Anyway, Java is pretty straight forward. I find the best way to learn is to write scripts in Blockly, convert them to Javascript and then tweak from there...

Cheers man Richard

PRO
Synthiam
#3  

JavaScript != Java

:P

#6   — Edited

Me lurn berry badlee.... Thanks for pointing out my typing oversight and lack of proof reading... ;).... Now I am only as smart as the Skipper and Gilligan here. .... :p

Now if you will excuse me, I am about to make myself a cup of java and feed my pet python.....

PRO
Canada
#7  

0==="0" false ;)

PRO
Synthiam
#8  

amin++

JavaScript comparison difference between value and value/type: https://www.w3schools.com/js/js_comparisons.asp