Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Ruby and Python ???

Greetings,

Just asking about ruby and python, I don't have exp. in python but I got some idea what you can do on python and I'm not yet an expert in ruby but I need information what is the diff. between of this two programming language when we are talking about implementing script to a electronic device. Python, you can create a script and put in your computer e.g. Raspberry PI and use this to control your device like automation system. It is possible that you can do the same on Ruby? or in theory, by creating a web application to do this...? (Just only for future references.)

Thanks and God Bless... :)

1 Answer

Both are programming languages so you should be able to do whatever you can do with one with the other. The Python community consists of a lot of academia which use it for experiments, data analysis, and etc. The Ruby community is largely web developers that use the rails framework to build websites. It all depends on what u want to do. If you want to program robots go with Python because you'll have an easier time finding help when you run into a problem. Want to build websites, go with Ruby because rails is awesome, but Python has Django and Flask for web development also (I've just found it harder to find great resources to learn it).

Im no expert either but I've used both. @s3nojA

Thank you very much sir... this information was a good help <thumbs up>