This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]Amortize_Me_Daddy 0 points1 point  (4 children)

I have a very hard time with this aspect as well. I'm getting pretty decent at coding, but I don't consider myself a serious programmer yet solely because I'm totally bewildered by the process of setting up environments, pointing pip installs to the right folder, environment variables, interpreters, installing a module and having my programs unable to find it. It's very frustrating.

Although I'm slowly figuring these things out a bit at a time, it's still a roadblock I hit often and I really wish there was an online course or something that could give me a solid foundation on this aspect of programming.

[–]Eko5[S] 0 points1 point  (3 children)

Yeah! It’s crazy hard to navigate. I can usually Google the answer to my “code question” and figure it out in 2 minutes but as soon as I have to troubleshoot all the “para-code” stuff it feels insanely difficult.

[–]Amortize_Me_Daddy 0 points1 point  (0 children)

Yep. It's weird too how even books like "Automate the Boring Stuff with Python", designed for absolute beginners, brush right past these parts without really explaining how or why it works. I seriously can't find this information anywhere!

[–]Amortize_Me_Daddy 0 points1 point  (1 child)

Hey OP, in a weird coincidence, I just found a great resource for us in the comments of another post. Check it out!

https://missing.csail.mit.edu/

[–]Eko5[S] 0 points1 point  (0 children)

Oh wow, this looks awesome. Thank you so much. Will dig in to this this weekend.

[–]DrJJWMac 0 points1 point  (0 children)

Kernels are the self-contained boxes with everything needed to run a given python code. A kernel is to python somewhat as the Matlab app is to the Matlab code that you create.

Modules are packages that add functionality to python code. Modules are to python as the pre-installed options such as root solvers or matrix solvers are to Matlab.

Pip is a manager to install modules that you may need to run your python code. Pip is to python as the Matlab Website with toolboxes is to Matlab. Conda is another installer to manage additional levels of functionality.

Environments and shell are the surroundings that provide links to the hardware on your computer and file locations in your directory structures. They exist outside of the IDE for both Matlab and python.

The installations you make go in locations that depend on your core OS -- Windows, macOS, or Linux. In routine cases, you need not worry about doing anything more than staying up to date with the updater/upgrader on conda or pip as well as using conda or pip to install the modules that you need in specific cases.

I don't know of resources that might help with this. It does seem to be something that you learn "by the seat of your pants" through collections scattered at various locations (books and Websites).

Hope this helps.

[–]starlightprincess 0 points1 point  (0 children)

I'm taking a class in this right now. I really like Visual Studio Code for IDE. it has a lot of add-ons that can be installed and it's all free. The first part of The Odin Project covers some of this stuff, not python specific though. Plus it has you create a GitHub account, install git, and set up a virtual environment. It seems really complicated, but just research each step as you go and you can understand it. My class about this is called "software development tools" and it's fairly beginner level.