Howto Python
It looks like I will, after all, be diving into Python. Here’s the reason: as it happens, there is not one, but two of my favorite applications support end-user scripting via Python1.
I generally don’t fancy learning new programming / scripting languages for the heck of it2, but scripting support in Abaqus is one application I am seriously looking forward, to increase my productivity.
As I am wondering how to go about learning Python3, I would really appreciate if anyone could suggest me a simplified starting point resource(s) to get a hang of scripting in it.
Suggestions, anyone?
- Python seems to be a natural fit for anything 3D. See Blender, for another example. [←]
- I think I am beyond that; but there was such a time not long ago. [←]
- Strictly task related work, generating meshes, modules, which I could replicate towards creating superelements. That kind of stuff. [←]
I started with Beginning Python and use the free online Dive into Python book for reference.
Beginning python reads real easy, and keep a highlighter or such handy for noting the essential “hacks” and tricks as you read the first few chapters. It is a beautiful language, which is very easy to learn and intuitive.
The Python cookbook has a bunch of recipes to help you look at smaller samples of code and learn from them.
I am sure this comment is gonna get marked down as spam!
Jan 8, 07 at 18:15No, it is not going to be marked as spam :). I have started reading the obvious one, but many thanks for the other two, Carthik.
My needs are far simpler, so it would make sense for me to dig Beginning Python, I suppose.
If I feel like being a little adventurous, I might try something stupid :), otherwise, I’d tow the line on what simple things I can accomplish first.
Jan 8, 07 at 18:27Fun
Jan 12, 07 at 10:07Book
Simpler
Thanks, Govind!
Jan 12, 07 at 10:10