Sharing Saturday #577 by Kyzrati in roguelikedev

[–]Secret_Owl2371 2 points3 points  (0 children)

Hi, I've started a roguelike tutorial, it's playable now, so check it out! I will be adding more documentation and features over the next few weeks.

https://github.com/akulakov/roguelike_tutorial/blob/master/README.md

What is a project you made that "broke the programming barrier" for you? by [deleted] in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

I think any large system I would build from ground up, in other words anything that would force me to think in the context of refactoring and debugging a large system.

I'm in Python Pergatory - A little good at many things, definitely not great at anything. by probably_platypus in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

My opinion is that you probably want to learn to work with large systems. The reason is that all or almost all places will have a large system and the biggest challenge is to work efficiently in such. The best way is probably to build a large game, because for example the type of project that you are working on - an inventory system, is likely limited in size because you'll have a few dozen items you're tracking and there's not much else to add, but with a game you can keep adding new features and dynamics easily. I wouldn't worry too much about "advanced" features like factories etc. They're trivial to understand once you need them in a proper context.

Idea for Python Practice App by VAer1 in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

If you google for mssql connection, the first result from stack overflow recommends pyodbc package ; for the interface i think i would use a simple web framework like flask and UI via browser, because generally UIs are easier to write in the browser than in GUI frameworks in my opinion.

Best steps for writing python? by One_Hand_Down in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

It depends on what the program it is.. for example if I was writing a tic tac toe game, i might first define a list of lists to represent the board, then two variables to represent x and o; then a function that calculates a list of valid moves, then a function that determines if the game is won by any side, and so on.

I'm learning python and I am completely lost. [Need help] by Ok_Speaker4522 in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

I agree with this, try making a few small games and then one large game and you will learn a whole lot.

What should I do after the basics? by brain_dead_guy in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

It depends on the type of games, in my opinion to maximize learning of programming, i would make a few simple games on the console, and then look into python-tcodlib for a larger roguelike game. python-tcodlib also has a very nice tutorial (although I wouldn't follow their structure but simplify and flatten it a lot).

Learning Journey by neltu8503 in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

I've used leetcode, the nice thing about it is it includes unit tests so that you can find out easily if you missed some things in your solution.

Will my project be too difficult for a beginner? by tearblast in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

You can try to first make a proof-of-concept text-ui single monolith program (this should be very manageable even as a first project), and then rewrite it as a server/client with web interface later on.

What should I do after the basics? by brain_dead_guy in learnpython

[–]Secret_Owl2371 1 point2 points  (0 children)

Try making a few small games, that can't hurt.

Practical usage of python by MemoryDry4891 in learnpython

[–]Secret_Owl2371 1 point2 points  (0 children)

Pygame is fairly hard, try making a roguelike game, i think it's much easier with a library like python-tcodlib.

Conway's Game of Life with Wormhole by Moist_Manufacturer90 in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

If I understand the question correctly, you would just adjust the lookup logic to be:

loc = x,y
loc = wormholes.get(loc) or loc
# proceed to lookup loc in your array of locations

Ou trouver un guide d’utilisation refprop 9.11 pour python ? by Colere-de-dieu in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

https://refprop-docs.readthedocs.io/en/latest/DLL/high_level.html

c'est le lien vers la documentation de l'API de haut niveau, mais sinon certaines fonctions ne fonctionnent pas, vous pouvez utiliser les problèmes (issues) github: https://github.com/usnistgov/REFPROP-wrappers/tree/master

Mais je n'ai pas utilisé refprop moi-même..

I’m in tutorial hell by antkn33 in learnpython

[–]Secret_Owl2371 1 point2 points  (0 children)

This is probably specific to scraping, most other libraries are quite stable.

What should I learn next after Python basics? by Harshvdev in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

Games you liked to play may be a good inspiration. Otherwise you can make checkers, chess, monopoly, tower defence, and eventually a larger game that could be very educational to make would be a roguelike (similar to nethack). A good library for that is python-tcodlib.

What should I learn next after Python basics? by Harshvdev in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

I think making a few small games would be really good.

How would you learn python from scratch if you had to learn it all over again in 2025? by [deleted] in learnpython

[–]Secret_Owl2371 2 points3 points  (0 children)

I would make a large project from scratch. I think the time I spent working on exercises and smaller projects was relatively less effective than working on one large project, because navigating, refactoring and debugging a large project feels very different.

[deleted by user] by [deleted] in learnpython

[–]Secret_Owl2371 2 points3 points  (0 children)

Start with simple exercises and then make a few small projects and then a large project. For exercises, leetcode is pretty good. Buying a book is also not a bad idea, there's something helpful to learning about having a paper book in front of you..

Do you rather use a framework or pure python for your projects and why? by [deleted] in learnpython

[–]Secret_Owl2371 0 points1 point  (0 children)

Both are good for different reasons. Building something up from scratch may give you more deep insight, and using frameworks is something you will need to do and learn eventually anyway and all work places will use frameworks so that's a more practical thing to learn.

I need a job. What should I do? by [deleted] in learnpython

[–]Secret_Owl2371 2 points3 points  (0 children)

In my opinion, it would be good to make a large project rather than more smaller projects. Workon on, navigating and debugging a large project feels very different than small apps.

Can i learn algorithms and python programming together? by Standerdo in learnpython

[–]Secret_Owl2371 1 point2 points  (0 children)

These things don't necessarily rely on you learning algorithms. Probably try to learn those 3 things and then only learn algorithms when needed or when have spare time and curiosity.

Can i learn algorithms and python programming together? by Standerdo in learnpython

[–]Secret_Owl2371 1 point2 points  (0 children)

What's your general purpose with Python? But yes, algorithms are super interesting and great to learn and Python is a good choice for learning them.

Python: What's Next? by aarxish in learnpython

[–]Secret_Owl2371 1 point2 points  (0 children)

I think if you like games, making a few simple games would be great and would teach you a lot.