r/PythonLearning • u/EmuBeautiful1172 • Sep 28 '25
slicing
how important is that feature? or would you say every feature is important? of course! but yeah i want to know what features are the most important to master. if i could get a list.
r/PythonLearning • u/EmuBeautiful1172 • Sep 28 '25
how important is that feature? or would you say every feature is important? of course! but yeah i want to know what features are the most important to master. if i could get a list.
r/PythonLearning • u/HappyHazard133 • Oct 04 '26
Here's something I built a few months ago:
https://github.com/Keymii/melody-mirror-studio
MelodyMirror Studio.
The idea is pretty simple. I wanted to learn singing, but couldn't find a vocal instructor nearby. So, I built something which lets me extract vocals from songs, use them as pitch reference, and helps me align my singing directly with it.
It supports direct downloads from YT, scale adjustment (transpose), and vocals and pitch extraction. It can run directly on your potato pc (no GPU needed, but can take a few minutes to pre-process the audio), with minimum requirement being availability of at least 2 free threads for concurrent audio playback and microphone input.
Please try it out and let me know if anything could be improved, so it can also be useful to you.
r/PythonLearning • u/Ok_Bag2564 • Mar 27 '26
I built a simple CLI task manager to practice Python.
It focuses on speed — you can add tasks like:
math+2
Would love feedback on how to improve it.
Example:
math+2
biology+1homework
-2
Super fast workflow, no menus.
Takes ~2 seconds to add a task vs opening a full app.
r/PythonLearning • u/Ok_Presentation6213 • 26d ago
What's the best resource out there to learn python?
r/PythonLearning • u/bloodgodintern • May 22 '26
Disclaimer: I am very new to posting anything on reddit. I don't know etiquette much, and I don't know accepted formatting. If I've made a mistake, correct me nicely! I'm open to learning!
I'm learning python primarily, but I'm also interested in other languages. I was looking for a place to show off something I'm proud of -- and maybe also get an answer.
The question: What language did I translate from?
The context: I was on tiktok and came across a video that I assume was some low-effort "download memes from r/programmerhumor and get lots of likes" situation. In it, there was a picture of a bar chalkboard that had the challenge to read the code written down and tell the bartender the correct output (a secret word) to get a free drink. Obviously, I am not at this bar, but I thought it may be a fun exercise to test my understanding of programming language basics! So, I translated the mystery code on the board into python using the arguments I know. I think I got it right! I would test it against the source code.. but as I don't know what language it was written in, I have no clue what sort of compiler to run it through.
New Question: Is there an online compiler that can detect the language a code is written in and compile it? Curiosity.
The Board's code is as follows:
// If you can read this code, tell your bartender the
// Secret word of the day for a free drink on us.
var your_drink;
var reverse=function(s) {
return s.split("").reverse( ).join("");
}
var bartender = {
str1: "ers",
str2: reverse("rap"),
str3: "amet",
request:function(preference) {
return preference+".Secret word:"+thisstr2+thisstr3+thisstr1;
}
};
bartender.request(your_drink); And my translated code is:
# If you can read this code, tell your bartender the
# Secret word of the day for a free drink on us.
your_drink = "Lime margarita. “
def function(s):
return s.split("").reverse( ).join(" ")
bar1 = "ers"
bar2 = "par"
bar3 = "amet"
def bartender(preference):
return preference + "Secret word: " + bar2 + bar3 + bar1
print(bartender(your_drink))The output I received for my code:
Lime margarita. Secret word: parameters
=== Code Execution Successful ===r/PythonLearning • u/amilone-7657 • Jun 30 '25
Running on AWS linux, fedora.
Python version 3.13.5.
Realized that our application was failing as it was not able to fetch the environment variables in Linux.
So I ran a sample python program, and set up a SAMPLENV variable in local environment.
While running the program, it gives me a keyerror, which means it's not able to read the env variable.
(It works on windows, and mac)
r/PythonLearning • u/Hunter_z39 • Sep 02 '25
why is this code is not working
'''
Task 3 — Odd numbers 1–19
Make a list of odd numbers from 1 to 19 (use a step).
Self-check: 10 numbers, all odd.
'''
odd_numbers = []
for value in range(1, 20, 2):
# Using step of 2 to get odd numb
odd_numbers.append(value)
if(odd_numbers % 2 == 0)
print(odd_numbers) r/PythonLearning • u/EnvironmentalTry8353 • Aug 17 '26
So I am learning python from one shot and I come from commerce bg so I basically have 0 knowledge I am learning python from this video https://youtu.be/UrsmFxEIp5k?si=BuRKRLNZ7-iPBDKJ so he is teaching one chapter then giving us practice sets and I am constantly failing all practice test an facing lot of problems on understanding the functions and stuff like when to use first bracket or third bracket or when to use dots and etc I have not covered the full video yet but it's somewhat of confusing
Am I too dumb for coding that I cannot even understand these basics things and have to use Ai Lol
edit : Guys I am learning python as a hobby and not as full time student , my main focus is commerce but I really love hardware , tech and programming
r/PythonLearning • u/LahmeriMohamed • Oct 23 '24
hello guys , hope you are doiing well, is their some expert in python that could help me in fixing the python to make it run correctly ?
r/PythonLearning • u/ESY_peasy • Feb 03 '25
r/PythonLearning • u/Historical_Bee7074 • Nov 16 '24
Hi guys. Can you tell me how to do this rossete in turtle? I just started programming and I don't know how to do it.
r/PythonLearning • u/Creezylus • Feb 23 '25
Hi All,
I just learnt today that I can run Python script on esp32 via this tutorial
https://youtu.be/WpnY6FtmuuQ?si=MlDa8NjyR7De0fek
Man I used to hate Esp32 cz it uses C. Things are much easier to do now on Esp32 for my hobby projects. What do yall think about it ?
r/PythonLearning • u/[deleted] • Dec 20 '24
r/PythonLearning • u/Alarming-Prompt-7158 • Nov 18 '24
r/PythonLearning • u/pkzoid • Oct 28 '24
r/PythonLearning • u/brands_xd • Jun 22 '24
LIVE CLASSES | 🚀📚 Learn Python & MySQL! 🐍💻
A certificate is provided!
‼Registration will start on June 20, hurry up and join!
🔥🏆 Course Highlights:
📌 Master Python programming with practice scenarios and MySQL essentials.
📌 Learn to connect Python with MySQL seamlessly.
📌 Create front and backend systems using your Python and MySQL skills!
📚 Course Curriculum:
🐍 Python basics: syntax, data types, control structures, and more.
🔢 Work with Python data types: Strings, Lists, Tuples, and Dictionaries.
💻 Write clean & efficient Python code to automate tasks.
Practice sessions in course to help you understand scenario-wise coding.
💡 Understand mySQL: database and table creation, data manipulation, and insights extraction.
🔄 Establish Python-MySQL connections to build dynamic applications.
💰 Pricing:
Please note that there are 3 options available for you to enroll in this course:
1️⃣ Python Only
You can choose to learn Python only and attain a Python certificate.
Price: 8 USD / 700 Indian Rupees
2️⃣ MySQL Only (Short Course)
You can choose to learn MySQL only and attain a MySQL Certificate.
Price: 3 USD / 300 Indian Rupees
3️⃣ Python & MySQL
You can choose to learn both languages and attain the Python & MySQL Certificate.
Price: 10 USD / 900 Indian Rupees
⏲ Timings of class:
Will be discussed further in the group.
👉 Don't miss this opportunity to unlock a world of coding possibilities! Join now and elevate your coding skills to new heights!
If you are interested, please join this group:
r/PythonLearning • u/AJS_123 • Oct 15 '24
I have just started learning Python and have a background in using MATLAB. When using MATLAB there are buttons at the top where you can make a new script separate to the command window where everything can be edited and run all at once. Is there some type of software I need to achieve a similar thing with Python? Thank you for your help!
r/PythonLearning • u/Confident-Detail-439 • Dec 21 '24
r/PythonLearning • u/BenicioO23 • Sep 20 '24
I'm making a website with integrated artificial intelligence for a school project, but I don't know how to do it... I tried to do it with the help of GPT chat but when I type the question, "typer error: filed to fetch" appears.
If anyone could send me a ready-made file or help fix the error I would be grateful... I have to hand in work on Monday
i create a arquive app.py
"app.py from flask import Flask, request, jsonify import openai from flaskcors import CORS app = Flask(name) CORS(app)
openai.apikey = 'my key' u/app*.route('/chatbot', methods=['POST']) def chatbot(): data = request.json usermessage = data.get("message", "")*
if usermessage: response = openai.ChatCompletion.create( model="gpt-3.5-turbo", # Ou GPT-4, se disponível messages=[ {"role": "system", "content": "Você é um assistente útil."}, {"role": "user", "content": user_message} ] ) return jsonify({"response": response.choices[0].message["content"]})
return jsonify({"response": "Por favor, envie uma mensagem."}) if __name == '__main': app.run(debug=True)"
and a index to up this a weabsite

r/PythonLearning • u/Cristb31 • Oct 09 '23
I am trying to make my own AI using an API key from GPT3 off of the open AI website. I wanted to have complete uncensored and unrestricted answers, but apparently GPT three will not let me do that. How can I take off see moderations and restrictions from the API key or AI?