r/learnpython • u/AutoModerator • 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.
1
1
u/Top-Cauliflower-1808 1d ago
I used to think I needed to know everything before asking. Now I ask the small stuff early and it saves hours. Thanks for keeping this thread welcoming.
1
u/Lyaw_Lyawa 1d ago
¿Cómo podría usar &, |, ~ (operadores bit a bit) en un código?
Aparecían en los cursos que tome y aún después de bastante tiempo, no sé cómo usarlos, ni los he visto en código.
1
u/lakseol 2h ago
You use those operators when you need to manipulate single bits in an integer value. For most "mainstream" code they will not be used. The only places I can think of where they might be used is in micropython code on a microcontroller, or maybe python code that is analysing low-level data like network packets.
If you need to do things like that just find a tutorial and follow along.
2
u/ConnectAffect2346 2d ago edited 2d ago
Well i hope someone can explain to me how can a machine learning model be created in python, like are mathematics and theory of graphs used in order to orgsnize everything inside its neural network like i saw on couple of posts regarding ML models or are those graphic visualizations of neural network actually just visual representations of how the algorithm works?? I am very new to ML and neural networks and for now i didn't yet have the opportunity to learn about the algorithms behind those terms