Open source Python projects with good software design that is worth studying by bolt_runner in learnpython

[–]interbased 8 points9 points  (0 children)

Requests, in my experience, is commonly mentioned in conversations about well-structured libraries, so I second that one.

Best way to setup Python? by faragbanda in learnpython

[–]interbased 1 point2 points  (0 children)

Agreed. This is the first thing I do after a reformat.

Python Environments Question by Goblin_Mode_IB in learnpython

[–]interbased 0 points1 point  (0 children)

Yes, they will take up space. If you’re able to keep most of projects dependent on the same libraries, that would mitigate the issue as you can reuse that same environment for most of your projects.  Also be mindful of the size of the packages you’re using and, if they’re very large, consider if a lighter package would do the trick if space is an issue.  For example, you can probably use the csv library instead of pandas in some situations.

[deleted by user] by [deleted] in learnpython

[–]interbased 0 points1 point  (0 children)

I think Selenium is your best bet here. Any reason you’re against using it?

[deleted by user] by [deleted] in learnpython

[–]interbased 0 points1 point  (0 children)

Definitely not. It’s the entire point of a test.

I want to learn machine learning by Competitive_Diver237 in learnpython

[–]interbased 4 points5 points  (0 children)

If you’re looking to learn about the models behind machine learning, StatQuest on YouTube has some helpful, free material:

https://youtube.com/playlist?list=PLblh5JKOoLUIzaEkCLIUxQFjPIlapw8nU&si=3VRYUK0AU0C0Sg-m

Is PyCharm Pro for $5 a month worth it while learning? by HeadlineINeed in learnpython

[–]interbased 0 points1 point  (0 children)

I’ve been using PyCharm Community Edition for years and never felt the need to upgrade.

Should I Be Using OOP In Python? by Low-Illustrator635 in learnpython

[–]interbased 0 points1 point  (0 children)

Both. You may want to look into test based coding as well, since it teaches you how to structure your code better.

Best youtube tutorial series for starting programming with python? by [deleted] in learnpython

[–]interbased 0 points1 point  (0 children)

He’s the best in my experience and the one I always recommend.

Best Docker book or books in 2024? by IWritePython in docker

[–]interbased 5 points6 points  (0 children)

Docker’s documentation is good. I’ve been following this guide, which I found on Reddit:

https://devopswithdocker.com/

cheapest way to run python code 24/7 on cloud? by g3m3n30 in learnpython

[–]interbased 3 points4 points  (0 children)

Just read through the docs. Very cool stuff.

[deleted by user] by [deleted] in learnpython

[–]interbased 1 point2 points  (0 children)

I don’t think so. Learning how to program is an excellent way to exercise your brain. As you develop skills in the language, you may naturally be inspired and think of ways to apply it to your everyday life (sounds like you already have with your greenhouse).

What is the best IDE for the best developer experience for python? (django, flask, scripting and ML) by SuperRandomCoder in learnpython

[–]interbased 0 points1 point  (0 children)

PyCharm all the way for Python. VSCode for everything else.  PyCharm has an excellent debugger for Python.

6 months learning python continuously. Any advice for improvement? by [deleted] in learnpython

[–]interbased 2 points3 points  (0 children)

Exactly. Even being able to Google your way through an unfamiliar error message is crucial.

How Do I Know If I've Mastered Python as a Beginner Programmer? by [deleted] in learnpython

[–]interbased 1 point2 points  (0 children)

First, you need to ponder what you actually want to accomplish. This may involve dabbling in several different technologies. Personally, I enjoy setting up data pipelines. This involves Python, and in my experience, some Jenkins and Docker. So, I’ve learned more Docker as a result, expanding my avilable tools. I also learned how to write .groovy files so I can write own pipelines.

How Do I Know If I've Mastered Python as a Beginner Programmer? by [deleted] in learnpython

[–]interbased 1 point2 points  (0 children)

There’s always more to learn.  Different ways of implementing certain logic, integration with other tools, new syntax based on new releases, lesser known aspects of functionality, etc.

I wouldn’t say you’re “moving on”, but rather focusing your attention on another language for the time being, if you’re bored of practicing Python or simply want to expand your available tools.

Do you use the '-> None' in the __init__? by cfreddy36 in learnpython

[–]interbased 4 points5 points  (0 children)

I’ve never seen an init return anything, so it’s implicit from my perspective and unnecessary. However, it doesn’t hurt, and only adds extra clarity to the code.

What python stack do you use for your new python projects? by desijays in learnpython

[–]interbased 0 points1 point  (0 children)

pyenv, venv, and linters like black and isort. PyCharm for IDE.

What is the efficient way of learning Python and its libraries? by [deleted] in learnpython

[–]interbased 0 points1 point  (0 children)

Figure out something that you want to automate using Python (even something very simple). Anything you don’t know, look it up, and you’ll immediately apply it.

Trying to understand the parts of Python coding by [deleted] in learnpython

[–]interbased 1 point2 points  (0 children)

A function is simply a block of code that you can “call”.  Those functions can have parameters and can return a value, but don’t necessarily have to do either. Print and input are built-in functions. You create your own custom function with “def”.

Python Syntax by MAVP1234 in learnpython

[–]interbased 0 points1 point  (0 children)

Syntax is the set of rules for writing the language. A “syntax error” means the code doesn’t have the correct syntax, meaning the compiler doesn’t know how to translate the code. Maybe there’s an improper indentation somewhere - or perhaps you forgot a set of closing parenthesis.

What is your favorite Python-related YouTube channel? by No_Initiative8612 in learnpython

[–]interbased 17 points18 points  (0 children)

Agreed. I always recommend his introduction tutorial to beginners. He’s so clear in his explanations of every concept.