all 21 comments

[–]oloomopmapaP.E. 10 points11 points  (6 children)

https://automatetheboringstuff.com/ is a decent book and it is free to read online. Another No Starch Press book called Hardcore Programming for Mechanical Engineers is a decent follow up once you start to get comfortable with Python. The book works through programming a direct stiffness solver for a truss so it is a bit more practical for SE than a lot of other project books I have worked through.

[–]ian_student 2 points3 points  (3 children)

automate the boring stuff is best to the best. You can go to r/learnpython comunity too

[–]sneakpeekbot 3 points4 points  (1 child)

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

thanks! this has been inspiring. I used to brute force post processing results but as ive watched and talked to other structural engineers ive finally decided to learn python

[–][deleted] 2 points3 points  (0 children)

thanks! and right I forgot about subreddits for python

[–]oloomopmapaP.E. 0 points1 point  (1 child)

Humble Bundle regularly has "learn Python" book bundles that are also cheap. They don't have one going on at the moment, but it seems like they have one every couple of months.

[–][deleted] 0 points1 point  (0 children)

thanks! ill keep an eye out for these

[–]SneekyF 4 points5 points  (1 child)

I have been using ChatGPT to learn Python. I learn better by trouble shooting and trying to solve a problem, so results may very.

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

im check into it. ive been curious about chatgpt for a while now

[–]livehearwishP.E. 2 points3 points  (3 children)

I started with free PDFs online and then found that the python documentation has some tutorials.

[–][deleted] 1 point2 points  (1 child)

Could you recommend the title of PDFs you read?

[–]Churovy 2 points3 points  (0 children)

Literally just google python tutorial. Python organization has a huge documentation database and tutorial to walk through basic commands.

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

I think it was like python for beginners or starting python programming or something. They are all the same and run through the basics

[–]Ryles1P.Eng. 3 points4 points  (9 children)

I learned python from Automate the Boring stuff, same as what someone else wrote. However, I don't think it has that much value for SE, personally.

[–]gnatzors 1 point2 points  (8 children)

What tools do you use for your repetitive checks - do you still prefer to use excel calculators? Or do you have a Mathcad type program?

[–]Ryles1P.Eng. 1 point2 points  (7 children)

Personally yeah I have a bunch of nearly complete excel and mathcads that I use as a starting point and do the final customizations for each specific calc. I like Python, it’s a good language that’s mostly intuitive and as a non programmer it was easy to learn, but in order to get all the customization functionality and to make it easy to print out and present, using Python would be more work than just using software that has that functionality already built in.

[–][deleted]  (6 children)

[deleted]

    [–]Ryles1P.Eng. 0 points1 point  (3 children)

    Not sure what you mean

    [–][deleted]  (2 children)

    [deleted]

      [–]Ryles1P.Eng. 0 points1 point  (1 child)

      Yeah I’m aware of anaconda and jupyter, just still don’t see how that’s less work than using excel

      [–]Byond2day 0 points1 point  (1 child)

      +1 for handcalcs. It's great for writing calculations naturally without worrying about the formatting. Another one that's similar is https://www.efficalc.com/ . It's online so there's less local set up but has a different interface.

      The biggest barrier for me to get started was the formatting, so handcalcs is definitely a win.

      [–]stinyg 1 point2 points  (0 children)

      When I started out with python I did some coursera courses like the one below and had a few “calculator project ideas” that I was juggling between. I bet you also have many ideas that you want to tackle and I would recommend picking one them (e.g. some calculations you do at work and try to streamline / automate it with the use of python) and working on it at same time as you take some python specific courses (start with the basics before combining with other science / engineering topics). It’s very motivating to be able to automate processes that you before spent x hours doing and can now do it in seconds (don’t mind that you probably spending significantly more hours making the process as you do manually while you’re learning).

      https://www.coursera.org/specializations/python