r/PythonLearning • • Sep 28 '25

slicing

0 Upvotes

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 • • Oct 04 '26

Showcase [Showcase] MelodyMirror Studio

0 Upvotes

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 • • Mar 27 '26

Fast task cli

0 Upvotes

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 • • 26d ago

Learning Python in 2026

0 Upvotes

What's the best resource out there to learn python?


r/PythonLearning • • May 22 '26

A few questions, but mostly I am proud of myself! I would like to show off.

0 Upvotes

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 • • May 23 '25

This Python Code Draws a Perfect Fractal 🌀

0 Upvotes

r/PythonLearning • • May 25 '26

getting back to my loveeeee

0 Upvotes

im a 18 year old student who lost my whole coding skill due to collage entrance tests getting back into coding i used to do html before no i switched to python and im learning this


r/PythonLearning • • Jun 30 '25

Cannot read env variable in linux

Post image
0 Upvotes

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 • • Sep 02 '25

Help Request HELP ME

0 Upvotes

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 • • Aug 17 '26

Help Request I keep messing up basic things

0 Upvotes

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 • • Oct 11 '24

Why do I get these errors?

Post image
0 Upvotes

r/PythonLearning • • Oct 23 '24

Fixing the code

0 Upvotes

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 • • Feb 03 '25

Hello, are there any apps on the Play Store you would recommend to learn python on a beginners level?

0 Upvotes

r/PythonLearning • • Nov 16 '24

Turtle rossete

0 Upvotes

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 • • Feb 23 '25

Esp32 can run Python now ????Whattt!!!!

0 Upvotes

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 • • Dec 20 '24

I am trying to build a python fake news detector but this error pops up

Post image
0 Upvotes

r/PythonLearning • • Dec 08 '24

Help

Post image
0 Upvotes

I don’t even know where to start


r/PythonLearning • • Nov 18 '24

Please help me fix this error, am I missing something?

0 Upvotes

r/PythonLearning • • Oct 28 '24

I Write My Own Programming Language in Python

Thumbnail
gallery
0 Upvotes

r/PythonLearning • • Jun 22 '24

Python Course for Beginners

0 Upvotes

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:

https://chat.whatsapp.com/ED9YWb11x4QB0YdLfWYDG9


r/PythonLearning • • Oct 15 '24

Where to make python scripts?

0 Upvotes

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 • • Dec 21 '24

Think you know the best way to merge Python dictionaries? 🤔 Test these 3 methods—but here’s the twist: one of them might not be as efficient as you think!

Post image
0 Upvotes

r/PythonLearning • • Sep 20 '24

i need a help

0 Upvotes

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 • • Oct 09 '23

Making AI

0 Upvotes

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?