bobc4d Posted December 16, 2017 Share Posted December 16, 2017 there is a class from Udemy about learning Python. right now it is on sale for $15. https://www.udemy.com/complete-python-bootcamp/ [www.udemy.com] so, would this help to learn Python to be used in Houdini? Quote Link to comment Share on other sites More sharing options...
LaidlawFX Posted December 16, 2017 Share Posted December 16, 2017 Yeah it's the same python. Houdini only adds the hou module, i.e. HOM. That allows you to manipulate houdini functions and classes. So you can learn the basics of python anywhere. Have fun Quote Link to comment Share on other sites More sharing options...
Atom Posted December 16, 2017 Share Posted December 16, 2017 But it is still python 2.7 not python 3.x. So you still use... print "my string" Not print ("my string") Quote Link to comment Share on other sites More sharing options...
LaidlawFX Posted December 17, 2017 Share Posted December 17, 2017 All CG companies and softwares work in 2.7, very few have made the switch to 3+. Plus you can do print("Hello World") in Houdini, so you'll need a more complex example For some one learning python it really doesn't matter if they learn 3+ vs 2.7. The differences are extremely small for intro learning, and one stack overflow question away. Quote Link to comment Share on other sites More sharing options...
bobc4d Posted December 17, 2017 Author Share Posted December 17, 2017 thank you for the replies. Quote Link to comment Share on other sites More sharing options...
Guest tar Posted December 17, 2017 Share Posted December 17, 2017 On a side note will python 3+ be much faster or is it just new syntax etc? Quote Link to comment Share on other sites More sharing options...
LaidlawFX Posted December 18, 2017 Share Posted December 18, 2017 I don't think there is much of a major speed difference. You'll still be better off with iron py and other similar branches that have more compiled components. Python 3+ will get all the latest and greatest stuff so it might be faster in a lot of ways, but nothing comparable to the difference between other languages. You can theoretically use your own python with Houdini, if you wanted to a different library, and then just import the hou module. Generally this is a lot more work to maintain, but bigger studios have a few good reasons to do this depending on their internal library of tools they developed over the years. Quote Link to comment Share on other sites More sharing options...
Guest tar Posted December 18, 2017 Share Posted December 18, 2017 @LaidlawFX thanks! @bobc4d Python the Hard way has very good recommendations. https://learnpythonthehardway.org Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.