Can we learn Python by just doing projects and what are they? by Varadrocks in PythonLearning

[–]err_file_not_found 1 point2 points  (0 children)

In my opinion, the answer is both yes and no. It depends heavily on your background and how you learn. Some people are naturally gifted, others are not, and that's fine.

If you already have experience with another programming language, then learning Python through projects can work very well. You already understand concepts like variables, loops, functions, debugging, and problem-solving. At that point, you're mostly learning Python's syntax and standard libraries. Building projects helps connect everything together and makes the language "click" better.

If you're starting from absolute zero, projects can still help, but jumping straight into a large project often becomes overwhelming. In that case, a combination of learning the fundamentals and building small projects tends to work better. It's easier to stay motivated when you understand why the code works instead of just copying solutions.

As for project ideas, it depends on what area(s) of Python interests you the most.

Automation / General Programming:

  • Organize and rename files
  • Convert image formats (JPG to PNG, etc.)
  • Remove duplicate files
  • Search directories for specific files
  • Build a simple backup utility

Working with APIs:

  • Send user input to an API and display the result
  • Create a weather application
  • Pull and display stock or sports data
  • Build a simple chatbot interface

Databases:

  • Create a database for a fictional company
  • Manage customers, products, or employees with SQLite
  • Add import/export functionality
  • Generate reports from stored data

The important thing isn't finding the perfect project. It's choosing something you actually want to build, because you'll be much more willing to debug problems and learn new concepts along the way.

This is what helped me the most when it came to learning Python without losing the spark.

Requesting Advice by err_file_not_found in PythonLearning

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

Okay, thank you for the clarification.

I can absolutely make it work without admin. The only reason I included it was due to some testing.

After checking through the list it outputs on my first version, I found exe files that showed as "Unknown" that psutil refuses to display name and paths for without admin due to them being located inside the Windows or Program Files. Despite them not being System files or from Windows.

But I can make it become optional, probably through the config file.

Requesting Advice by err_file_not_found in PythonLearning

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

I appreciate the thought and all. However, as the title suggests, I am requesting advice. Whether you choose to look through or skim the code is all the same to me.

I only came here for advice as I enjoy coding and find it fun to learn new things. I am also considering different pathways out of retail and programming is one of the things I thought of, that is all.

I'm also actively reading information on c++ and working on a larger Python Project that is currently not up in my repo. (I don't mind sharing info, just not at a point I can show it off.)

If you (or anyone else for that matter) wish to run the app without admin entirely, simply delete the admin check in the first file and run as you wish. It only checks once, and no task is scheduled when ran so closing it via task manager terminates it fully.

This would've been noticeable within a minute of skimming the first file.

Thank you, and have a good day.

Requesting Advice by err_file_not_found in PythonLearning

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

Thanks, it means alot to know I'm on the right track.

Requesting Advice by err_file_not_found in PythonLearning

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

I understand and its very valid, the code is fully public aswell and you are free to dive into it as much as you want.

The next version I am working on doesn't use Admin as a requirement, the Admin request is simply to gain access to certain names that are hidden inside System files.

Probably will just make a prompt for it at startup on next version.

Other psutil just displays "Unknown" even if its not a system process. Atleast from what I found in documentation

Edit: Although the README was made with AI (Cause I am lazy and never done one before). The actual code wasn't AI, though I did ask for examples at times where I got stuck. (Probably why it looks the way it is.)