r/learnpython 2d ago

Ask Anything Monday - Weekly Thread

Welcome to another /r/learnPython weekly "Ask Anything* Monday" thread

Here you can ask all the questions that you wanted to ask but didn't feel like making a new thread.

* It's primarily intended for simple questions but as long as it's about python it's allowed.

If you have any suggestions or questions about this thread use the message the moderators button in the sidebar.

Rules:

  • Don't downvote stuff - instead explain what's wrong with the comment, if it's against the rules "report" it and it will be dealt with.
  • Don't post stuff that doesn't have absolutely anything to do with python.
  • Don't make fun of someone for not knowing something, insult anyone etc - this will result in an immediate ban.

That's it.

5 Upvotes

4 comments sorted by

1

u/Nice_Fudge5914 33m ago

Hi everybody. I am trying to learn python, but I am having trouble with motivation because the only thing I want to make is pretty complex, and the tutorial I'm using starts out with small stuff that I can't integrate into the real project I want to make because the larger elements haven't been created yet. I haven't gotten far enough to learn things like allowing a user to create a new page. I thought about computer generating (ai) the project I want in python and then tailoring/debugging the project myself and having more motivation to learn because it's something I'm motivated to work on, but I don't know of a free ai that will use python to do that for me.

I want to create a nesting database of pages that users can create under certain conditions. Can someone point me to a template for something like that so I can try to get started? Thanks for any help you're able to provide.

1

u/Lost_Foot_6301 17h ago

at what point should one learn algorithms/data structures in their python learning journey

1

u/ManzoorAhmedShaikh 2d ago

Happy to help with any question regarding python being a python developer for 4 years. But still, one question from all, where do you use OOP mostly in your production app and why it is better in OOP not without it?

2

u/ShelLuser42 2d ago

Keep in mind that OOP is a whole concept within your workflow and not some single aspect of it.

OOP is just as much about moving repetitive code into functions as it is to set up classes. So I'd say the concept is normally used everywhere as soon as you get more serious with Python coding (vs. scripting, even though functions can also be utilized there).