#🔒 Hey everyone!

33 messages · Page 1 of 1 (latest)

random aspen
#

Hey everyone!
I hope you're all doing well.

I'm trying to build a Python project on my own, but I'm not sure where to start or what steps to follow. If anyone has experience with Python projects (structure, tools, best practices, or any tips), I’d really appreciate your help or guidance.

terse forumBOT
#

@random aspen

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

real radish
#

so it depends entirely on what you want and are familiar with

#

do you want to stick with the default tooling python ships

#

or are you open to third party alternatives like uv and poetry?

random aspen
random aspen
old summit
#

I would just try and learn from failure. You'll learn what does and doesn't work over time if you reflect on what went good and what went poorly during the project.

real radish
#

if you're already using uv then there isn't really much you can do on your own because uv is opinionated

#

just follow the uv documentation and you're good to go

real radish
random aspen
rustic slate
#

i think ruff from astral is also a good choice for tooling

random aspen
#

I watched course Angela's 100-day Python

real radish
#

then you should switch your focus on learning how to code instead of dev tools that build up your project, because you don't need the latter to learn how to code in python as python script.py is enough for you to run your code

#

and when it comes to learning how to code, there isn't really much good advice i can give personally maybe someone else could jump in, but that's typically something you learn over time by actually doing things, start small you know.

#

try writing something as simple as a guessing game, rock paper scissors, then maybe a snake game, save stats into a file and display them, learn how to declare dependencies on other libraries like a tui library to render the snake, etc...

random aspen
#

My studies kept me away from coding, but when I came back, I felt like I had forgotten everything

random aspen
rustic slate
#

@random aspen i like this site for information on the subject of tooling https://pydevtools.com/handbook/

This is not a book about programming Python. Instead, the goal of this book is to help you understand the ecosystem of tools used to make Python development easier and more productive. For example, this book will help you make sense of the complex world of building Python packages: what exactly are uv, Poetry, Flit, Setuptools, and Hatch? What a...

random aspen
#

@real radish I bought some courses Golange. Do you recommend I start them now?

rustic slate
onyx shale
#

Best advice I can give is to gather knowledge about a subject and build a project around that.

terse forumBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.