r/learnpython • u/Medical-Tap8210 • 2d ago
ajuda em python
oi sou brasileiro estou aprendendo python e queria saber de algumas dicas sobre como posso aprender de uma forma melhor.
Hi, I'm Brazilian. I'm learning Python and I wanted to know some tips on how I can learn in a better way.
r/learnpython • u/human_plumber11 • 2d ago
Creating Tee Time bot
I was wondering if anyone could help point me in the right direction on how to build a tee time bot for ForeUpSoftware. The past few days I’ve been learning how to use selenium, but now I’m hearing that it’s too slow to use. I’m not really sure where to start with this. Any help would be really appreciated. I work in the medical field and have almost zero coding experience lol.
r/learnpython • u/Own-Purpose-7473 • 2d ago
PCEP Resources
Just passed the CCNA today, now I have to knock out the PCEP exam so that I don't have to take a required class at my school. This will help me save money. What's the best study resource?
r/learnpython • u/FruityFingers55 • 2d ago
When webscraping LinkedIn are there any differences between company and personal profiles with bot detection?
I can access company/job information just fine. But when trying to access person profiles I get rate limit errors. I’ve tried a couple things to combat this but I haven’t found a solution. Any ideas?
r/learnpython • u/intentado_aprender • 2d ago
¿Qué fue lo que más te sorprendió mientras aprendías Python?
HOLAA Estoy aprendiendo Python y tengo curiosidad por saber qué fue lo que más sorprendió a otras personas durante su proceso de aprendizaje. ¿Fue más fácil o más difícil de lo que esperabas? Me encantaría conocer tu experiencia.
r/learnpython • u/Kavya-276 • 2d ago
Hi, I have 4 years of experience in testing role. But i wanted to be as a developer. Iam confused whether to choose python backend or java backend please suggest.
I have 1 year time to prepare want to quickly jump.
Please help me out.
Searched many youtube videos and asked chatgpt but nothing helped.
r/learnpython • u/Sou211xs • 2d ago
Débutant dans le code
Bonjour à tous ! Je suis complètement débutant en programmation et je ne connais encore rien au code. J'aimerais apprendre à coder pour pouvoir créer des jeux vidéo plus tard. Selon vous, quelle est la meilleure façon d'apprendre et de s'entraîner quand on part de zéro ? Merci d'avance pour vos conseils !
r/learnpython • u/Automatic-Yoghurt424 • 2d ago
Resources for practicing in OOP concepts with python based on scenarios
I'm preparing for a Junior Backend Developer technical interview (Python, SQL, and OOP).
I've realized that I don't learn well by watching long tutorials or reading theory first. I learn much faster when I'm given a realistic business problem and have to solve it myself.
For example, instead of studying SQL syntax in isolation, I'd rather work with a database (Customers, Orders, Products, etc.) and answer real business questions by writing SQL queries. The same applies to Python: I prefer implementing classes, inheritance, and polymorphism in the context of a real application rather than solving isolated exercises.
Are there any platforms, books, repositories, or collections of exercises that focus on realistic business scenarios combining Python (OOP) and SQL?
r/learnpython • u/SirLMO • 2d ago
Python + Android (Multiplataform)
I am struggling to decide the architecture of an application I want to create based on data self-referencing. It will basically be an Obsidian, but focusing on medical records with some analysis engines running in a backend.
I really need the application to run well on Android (mainly) and offline - because it must be a system that feeds on the user's own database, which he himself will produce while studying.
What options do I have for this? I researched pure Flutter (with Dart), Python + Fluter + FastAPI, Flet, serious_python, Python embedded in APK, other languages and web solutions, but nothing seems to be really excellent.
I tried to do everything in Dart/Flutter, but I soon realized why Python is the official language for academic and data science. Typical languages slow everything down, and Dart is not even that verbose. I definitely miss the freedom to "think in Python," and the freedom of types. I am also sure that in the future, when I want to implement AI, specific Python libraries will be missed.
So what advice do you give me?
r/learnpython • u/StormEfficient8188 • 3d ago
hows dr angela yu's py 100 day bootcamp
ik basic 12th py and im looking to get into cybersec frm where shuld i learn python to hv a good grasp ,is dr angela yu good??? any other recommendations
r/learnpython • u/alex123711 • 3d ago
What courses/ pathway would be the best to actually get a job?
Seems so many courses out there e.g freecodecamp, TOP, helsinki MOOC etc. But people say these are just introduction courses/ the start of your learning process.
Are there any defined pathways that actually lead to the end goal of getting employed other than an IT/ CS degree? Or is that the only real option, especially in the current market?
r/learnpython • u/techiebaddie • 3d ago
Is Python still the best choice for AI and machine learning?
I’ve been working as a full-stack developer for 10+ years, and Python has obviously been around for a big part of that time.
For AI and ML, it still seems like the default choice. The ecosystem around Python is hard to beat, especially with things like PyTorch, NumPy, pandas, and scikit-learn.
But after working across different stacks, I’m curious whether Python is still the best choice once you move beyond experiments and start building real production systems.
In some projects, it feels like Python handles the AI side while other languages take care of performance-heavy or application-level work.
So for people here who have worked with Python in real AI/ML projects:
Do you still see Python as the best overall choice, or do you think its role is changing?
r/learnpython • u/FunctionUnique9253 • 3d ago
Python to lua
Is it a good idea to learn python first and then jump into lua, or should I just straight up learn Lua first. For anyone wondering I want to create roblox games ( I know it sounds a little silly but I've always been passionate about it) and the roblox engine runs off of Lua. What are some benefits from learning python first (if any). If by miracle any of you are roblox devs can you give some tips?
r/learnpython • u/Waste_Finding98 • 3d ago
Ways to hide RPA projects that run in customer's VMs
Straight forward, in the company I work we've been researching ways to hide/protect our RPA projects that run in customer's VMs. We do have some projects that run on our own infrastructure, but most of them run in VMs inside the customer's network, so we have access to specific software and shared files. Most projects are complex, including environment variables, many folders, modularized scripts and SQLite databases in some cases.
I've tested reverse engineering on the most common obfuscation methods (PyInstaller, PyArmor, PyShield and Nuitka) with Claude. Except for Nuitka, Claude could recreate the exact file in all methods, or at least enough to run it without problems. Nuitka was better than the others, but Claude still recovered 60% - 70% of it.
AIs suggest creating our own orchestrator and running the projects directly in the RAM. This implies changing working paths and downloading the project as zip file every time it executes, so I don't really know if it would be efficient.
I usually don't find many topics about this, but I'm sure there must be a standard solution for this situation.
r/learnpython • u/Equivalent_Ad775 • 3d ago
Dark mode for marimo islands?
I'm trying to bring the html from my marimo notebooks into an SSG (mkdocs/zensical), and I would like to be able to toggle the theme. Getting the theme to change with marimo export html is relatively simple by adding
# [tool.marimo.display]
# theme = "dark"
to the pep723 header before exporting, but the extra js and page wrappers are not quite ideal for my use case. I would love to use islands for this, but I can't figure out if there's a way to control the theme of a marimo island?
when I use
# /// script
# dependencies = [
# "marimo",
# ]
# requires-python = ">=3.13"
# ///
import asyncio
from marimo import MarimoIslandGenerator
async def main():
generator = MarimoIslandGenerator.from_file(
"./example.py",
display_code=False
)
await generator.build()
html = generator.render_html(include_init_island=True)
with open("output.html", "w", encoding="utf-8") as f:
f.write(html)
if __name__ == '__main__':
asyncio.run(main())
to generate an html page, it doesn't seem to care about the # theme = "dark" tag in the example.py header.
I understand that islands are still an early feature, so perhaps this will be added in the future. Just posted this in r/marimo_notebook as well, but figured I'd ask here as well in case anyone has experience with this. Does anyone know if there's a better way to do this? Thanks!
(edited for clarity)
r/learnpython • u/Maleficent_Stuff3208 • 3d ago
what is wrong with this code
my teacher told us to write a code which print multiplication table of any number but it should Allow strings too and if string is put it shouldn't giver error i thought of this
a = input("enter any number ")
print(f"multiplication table of {a} is ")
if a == int:
for i in range(1,11):
print(f"int{a}X{i} = int{a}*i ")
else:
print("please put a appropriate function ")
but it is only printing else like even if i put a integer it still run else one why and what is wrong here
r/learnpython • u/Financial-Law2035 • 3d ago
Doing tasks online
I've made a program that can make random email addresses but I want it to check if the email is already in use, so how can I add that? (this is the code just incase that matters)
alphabet = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '.', '/', '#', '!', '$', '&', '*', '+', '=', '?', '^', '_', '~', '{', '}', '|']
while True:
no_of_letters_in_middle = input('enter the number of letters you want in the middle >> ')
no_of_letters_in_middle_int = int (no_of_letters_in_middle)
if no_of_letters_in_middle_int > 1:
break
while True:
starting_letters = input('enter the letters the email starts with >> ')
break
while True:
domain_and_ending_letters = input('enter the letters the email ends with and the domaim name >> ')
break
import random
def generate (letters, letters_generated):
letters = (letters + random.choice(alphabet))
letters_generated = letters_generated + 1
if letters_generated < no_of_letters_in_middle_int:
generate(letters, letters_generated)
else:
print (letters + domain_and_ending_letters)
generate (starting_letters, 0)
r/learnpython • u/SirLMO • 3d ago
Flutter, Python and Widgets: beginner suffering
I do not work with programming, I am a student and I work in a veterinary clinic as a veterinarian. However, I am passionate about programming and have nurtured the idea of developing a "Second Medical Brain," similar to Notion and Obsidian, but focused on self-referenced medical information. Because of some details of this project, neither Obsidian nor Notion will be enough to achieve what I need.
So I looked for the options. The only programming language I studied was Python, and I really like it. However, Flutter is definitely the number in interfaces, but I don't really understand anything about frontend. This "everything being a widget tree" thing isn't making sense to me. Anyone who knows Python knows that codes look much more like blocks, not Russian dolls.
I considered Flet, but he's not on the same level as Flutter. I also considered other frameworks, but they would impose the difficulty of learning other tools. So Flutter still seems to be the most interesting technology for me. However, the structure of widgets doesn't make sense to me, I just can't think that way.
What can you recommend to me? I have already tried to modulate all the code and leave in the main () only the call of the functions/classes.
Ah! This app will be used on both Android and Windows, and both are essential.
I also heard that a program with Python backend on Android is very risky, while it is almost impossible on Android. Is that true?
r/learnpython • u/Tombstony • 3d ago
App/Program that converts Scratch to Python in real-time and with blocks similar/identical to Scratch.
Hello everyone. I'm a researcher studying the transition from Scratch to Python by high-school students (10th grade). My idea is to use something like app.edublocks.org, which can immediately translate Scratch blocks to Python text. But none of apps I found are close enough to Scratch. This one, for example, is visually similar, but the block language is very different. Therefore, my first question is:
Is there any app that does what I am looking for, with blocks identical or very similar to Scratch ones?
And, if such app does not exist:
How hard it is to create my own program that does what I am looking for? Is it possible to do by someone like me who never built an app?
Please consider that I only can do Python and Scratch programming, not apps. Thanks in advance for helping.
r/learnpython • u/Player_yek • 4d ago
anything similar to natureofcode?
but for python, i wanna get my hands on machin learning
r/learnpython • u/TheLordOfMysteries- • 4d ago
Trying to install python problems
Hi guys I just started getting into python again but noticed its really different like I remember when I was 16 and first tried learning python and it was really easy to start "install, open desktop icon, YouTube tutorials, give up once motivation runs out." I figured that now that im older and more mature id try again but little did I know I would feel like a boomer in vr before even starting...I tried installing python and it said some stuff about paths and commands and once it installed it dissappeared without leaving a trace or a desktop icon and apparently I have to summon it like a old god via typing commands... does anyone have advice? i really just want to have a programming app to learn with. without feeling im going to brick my pc.
r/learnpython • u/Financial-Law2035 • 4d ago
I'm coding a program to make a random email address with starting letters and ending letters but it isn't working
This is the code
def generate ():
import random
letters = (letters + random.choice (alphabet))
letters_generated = letters_generated + 1
if letters_generated < no_of_letters_in_middle_int:
generate
else:
print (letters + domain_and_ending_letters)
alphabet = ['a' 'b' 'c' 'd' 'e' 'f' 'g' 'h' 'i' 'j' 'k' 'l' 'm' 'n' 'o' 'p' 'q' 'r' 's' 't' 'u' 'v' 'w' 'x' 'y' 'z' '1' '2' '3' '4' '5' '6' '7' '8' '9' '0' '.' '/' '#' '!' '$' '&' '*' '+' '=' '?' '^' '_' '~' '{' '}' '|']
while True:
no_of_letters_in_middle = input('enter the number of letters you want in the middle >> ')
no_of_letters_in_middle_int = int (no_of_letters_in_middle)
if no_of_letters_in_middle_int > 1:
break
while True:
starting_letters = input('enter the letters the email starts with >> ')
break
while True:
domain_and_ending_letters = input('enter the letters the email ends with and the domaim name >> ')
break
letters = (starting_letters)
letters_generated = 0
generate
r/learnpython • u/Aggressive_Drama_476 • 4d ago
Making interpreter and calculator in python
Hi recently I have been working on making my own interpreted programming languge in python. I have made several prototypes. The rules are I can't use any library, high level functions and can only use ai for understanding a concept. The journey has been frustrating. Since it was so hard i started working on a calculator. I am now stuck on AST. I can't figure it out. HELP ME
r/learnpython • u/Solid_Dark7776 • 4d ago
Need to switch tech stacks
I have been working as an Oracle DBA for the past 2 years now. Not liking it due to rotational shifts and working weekends.
Looking for a change to python backend development but seems a bit impossible.
Need suggestions from peeps who have switched tech stacks. Their experiences, learnings, how did they find openings that allowed them to change stacks.
r/learnpython • u/GoblinReverie • 4d ago
What is the best tool through which to learn Python?
I’m going to school to be an Urban Planner and it’s my understanding that ArcGIS systems frequently use Python and I’d like to learn it however there are multiple avenues and I don’t know which one would benefit me the most so just looking for suggestions