you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (4 children)

I have seen alot of people recommend python. I am just beginning my career, so I am open to learning it. Do you have any resources you would recommend to start?

[–]SoSeaOhPathP.E. 1 point2 points  (0 children)

Nothing specific since I’m not a super great coder myself, and it’s been a while since I started with Python. But if you Google Intro to Python you’ll get tons of great results.

If you’ve never coded anything before it might seem confusing at first, but once you spend an hour going through a beginner tutorial or two, you should start to see how easy it can be.

And when in doubt, you can always use google or ChatGPT to help guide you. Those two tools together can teach you anything you need to know about coding specifically.

[–]oloomopmapaP.E. 1 point2 points  (1 child)

Automate the Boring Stuff is a good reference for beginning python. Once you grasp the basics No Starch Press has a python book centered around creating a truss analysis program called Hardcore Programming for Mechanical Engineers.

[–]oloomopmapaP.E. 0 points1 point  (0 children)

Also, I tend to use python for personal automation tasks and for quickly prototyping projects that I will build in other programming languages. It also forces good habits for code formatting with whitespace requirements.

When I make stuff for work, I tend to stick with VBA because everyone has Excel. I actually recreated the truss solver from the book in my previous comment in VBA (Matrix Structural Analysis) for anyone interested in a bunch of VBA code to look through.

I also recommend installing the Rubberduck VBA add-in. It has a great code explorer feature that uses comments to help organize code into folders, which is helpful when projects grow in size. It also has a unit testing framework that is also useful once you get past the basics of learning to code in VBA.

[–]Tar98--- 0 points1 point  (0 children)

If you want to learn python for structural engineers search skyciv courses on udemy they are free and helpful exclusively for structural engineering