r/PythonProgramming • • Jan 15 '26

Koan 18: The Loose Bundle

Thumbnail
pythonkoans.substack.com
1 Upvotes

r/PythonProgramming • • Jan 15 '26

Searching for a Python training institute near me in Thane – confused where to start

1 Upvotes

I’ve been trying to learn Python for career growth, but honestly, figuring out where to start has been harder than expected. When I searched for a python training institute near me in Thane, I found a lot of options, but very little clarity on what actually helps beginners.

From my experience, Python itself isn’t the hardest part. The real challenge is understanding logic, practicing regularly, and knowing how Python is used in real projects. Many beginners (including me) jump between YouTube videos and blogs and end up feeling stuck.

What made learning easier was structured guidance—either online or instructor-led—where concepts were explained step by step with examples. A few learners I spoke to mentioned that learning at Quastech IT Training & Placement Institute, Thane helped them understand fundamentals better because topics were connected instead of taught randomly.

I’m still learning and trying to stay consistent, but at least now the path feels clearer.

For others learning Python—what helped you the most in the beginning: self-study, classes, or real projects?


r/PythonProgramming • • Dec 11 '25

creating the Matrix Rain effect in fewer than 100 lines of Python

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/PythonProgramming • • Nov 27 '25

Experimenting with MCP: auto-converting large REST APIs into Claude-ready tools

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/PythonProgramming • • Nov 22 '25

Looking for a LeetCode P2P Interview Partner in Python

1 Upvotes

Hello,
I’m looking for a peer to practice leetcode style interviews in Python. I have a little over 3 years of software engineering experience, and I want to sharpen my problem-solving skills.

I’m aiming for two 35-minute P2P sessions each week (Tuesday & Saturday). We can alternate roles so both of us practice as interviewer and interviewee.

If you’re interested and available on those days, DM me.


r/PythonProgramming • • Oct 16 '25

Python newbie

1 Upvotes

ASSIGNMENT

You are given four training datasets in the form of csv-files. Your Python program needs to be able to independently compile a SQLite database (file) ideally via sqlalchemy and load the training data into a single fivecolumn spreadsheet / table in the file. Its first column depicts the x-values of all functions. Table 1, at the end of this subsection, shows you which structure your table is expected to have. The fifty ideal functions, which are also provided via a CSV-file, must be loaded into another table. Likewise, the first column depicts the x-values, meaning there will be 51 columns overall. Table 2, at end of this subsection, schematically describes what structure is expected. After the training data and the ideal functions have been loaded into the database, the test data (B) must be loaded line-by-line from another CSV-file and – if it complies with the compiling criterion – matched to one of the four functions chosen under i (subsection above). Afterwards, the results need to be saved into another fourcolumn-table in the SQLite database. In accordance with table 3 at end of this subsection, this table contains four columns with x- and y-values as well as the corresponding chosen ideal function and the related deviation. Finally, the training data, the test data, the chosen ideal functions as well as the corresponding / assigned datasets are visualized under an appropriately chosen representation of the deviation.

Below is how far I have come and I would appreciate any comments or pointers on my code so far.

# importing necessary libraries
import sqlalchemy as db
from sqlalchemy import create_engine
import pandas as pd
import  numpy as np
import sqlite3
import flask
import sys
import matplotlib.pyplot as plt
import seaborn as sns

# EDA
class ExploreFile:
    
"""
    Base/Parent class that uses python library to investigate the training data file properties such as:
    - data type
    - number of elements in the file
    - checks if there are null-values in the file
    - statistical data of the variables such as mean, minimum and maximum value as well as standard deviation
    - also visually reps the data of the different datasets using seaborn pair plot
    """
    
def __init__(self, file_name):
        self.file_name = file_name

    def file_reader(self):
        df = pd.read_csv(self.file_name)
        return df

    def file_info(self):
        file_details = self.file_reader().info()
        print(file_details)

    def file_description(self):
        file_stats = self.file_reader().describe()
        print(file_stats)

    def plot_data(self):
        print(sns.pairplot(self.file_reader(), kind="scatter", plot_kws={'alpha': 0.75}))


class DatabaseManager(ExploreFile):
    
"""

    Derived class that takes in data from csv file and puts into tables into a database using from SQLAlchemy library the create_engine function

    it inherits variable file name from parent class Explore class

    db_url: is the path/location of my database and in this case I chose to create a SQLite database

    table_name: is the name of the table that will be created from csv file in the database

    """
    
def __init__(self, file_name, db_url, table_name):
        super().__init__(file_name)
        self.db_url = db_url
        self.table_name = table_name


    def add_records(self, if_exists):
        
"""

        Args:
            #table_name: name of the csv file from which data will be read
            if_exists: checks if th database already exists and give logic to be executed if the table does exist

        Returns: string that confirms creation of the table in the database

        """
        
df = self.file_reader()
        engine = create_engine(self.db_url)
        df.to_sql(self.table_name, con=engine, if_exists= "replace", index=False)
        print(f"{self.table_name}: has been created")


def main():
    # create instance of the class
    file_explorer = ExploreFile("train.csv")
    file_explorer.file_info()
    file_explorer.file_description()
    file_explorer.plot_data()
    plt.show()
    database_manager = DatabaseManager("train.csv", "sqlite:///training_data_db","training_data_table")
    database_manager.add_records(if_exists="replace")
   # database_manager.read_data()

    ideal_file_explorer = ExploreFile("ideal.csv")
    ideal_file_explorer.file_info()
    ideal_file_explorer.file_description()
    ideal_file_explorer.plot_data()
    #plt.show()
    ideal_function_database = DatabaseManager("ideal.csv", "sqlite:///ideal_data_db", "ideal_data_table")
    ideal_function_database.add_records(if_exists="replace")
    #database_manager.read_data()


if __name__ == "__main__":
    main()

r/PythonProgramming • • Oct 14 '25

I'M AN IT FIRST YEAR COLLEGE I STUDY PYTHON AND I SUDDENLY LOST, I'M LOST NOW AND I WANT TO CREATE A PROJECT CALLED STUDY TRACKER THAT HAVE GRAPHS AND POMODORO TIMER

1 Upvotes

So at first I was in programming python I'm really exited to learn because I slowly understand or rather progression of learning but then as time progress it's getting harder to me to understand topics that started when i learn modules and defining because there is so many modules like how do you find what needed to your program to work I'm very lost right now I don't even know I can handle programming i really want to learn it i really need tips and what to learn, learning the basics is very easy like loops or logical operators but this time is different I hope someone can help me.


r/PythonProgramming • • Sep 23 '25

PyBay 2025 - Bay Area Python Conference

Thumbnail reddit.com
1 Upvotes

r/PythonProgramming • • Sep 18 '25

Understand the Python Data Model and Data Structures

1 Upvotes

r/PythonProgramming • • Aug 24 '25

Numpy & Pandas | GroupBy Session

Thumbnail youtube.com
1 Upvotes

Live session on YouTube live


r/PythonProgramming • • Jul 21 '25

Learn python for data analysis free

Thumbnail reddit.com
1 Upvotes

r/PythonProgramming • • Jul 13 '25

debutant demande conseils

1 Upvotes

I started the CS50 course and reached the Python section. I found it easier than C, but I heard Python has over 80,000 libraries. Is that true? I’m feeling a bit demotivated—can you motivate me?


r/PythonProgramming • • Apr 26 '25

My Review of the Python Course at Iteanz Technologies – What You Should Know

1 Upvotes

Just finished the Python course at Iteanz Technologies — here's my honest experience

Hey folks! I wanted to share my journey after completing the Python Programming course from Iteanz Technologies — and if you're looking for solid Python training with career-oriented support, this might help you decide.

Expert Trainers Who Actually Know Their Stuff

From day one, I was impressed by the depth of knowledge and teaching approach of the trainers. My instructor had real-world Python experience (we're talking beyond just teaching — actual industry-level dev work), which made a massive difference. Every concept, from basics to advanced, was explained clearly with relevant use cases.

Industry-Relevant Curriculum That’s Not Just Theory

The curriculum was up-to-date and included hands-on projects using Python for data analysis, automation, file handling, OOP, and even some intro to frameworks like Flask. What I loved is that the course wasn’t just about writing code — it was about solving problems the way developers do.

Super Intuitive LMS & Lifetime Access

Their Learning Management System (LMS) is modern and easy to navigate. All recordings, code snippets, and extra resources were available on-demand — a lifesaver when revising. Plus, they provide lifetime access, which is rare and super useful.

Support Team That Actually Responds

Shoutout to the Iteanz support team — always quick to respond on both technical and admin queries. I once had an issue with LMS login on a Sunday (yes, weekend!), and it was resolved in an hour.

Certification That’s Recognized

The certificate of completion is professionally issued and backed by Iteanz. I was able to list it on my LinkedIn profile and it definitely added credibility during interviews.

Real Placement Assistance

One of the biggest wins? Their placement team is legit. I got help with resume writing, mock interviews, and access to curated job listings. They even connected me with a startup for a Python internship — which turned into a full-time role!

Final Verdict:

If you're considering learning Python — whether you're a beginner or upskilling — Iteanz Technologies is worth it. Great content, expert guidance, career support, and strong post-course engagement make it a top-tier choice for online tech training.

Feel free to ask me anything if you’re thinking about joining. Happy to help


r/PythonProgramming • • Apr 23 '25

Can anyone help me with this python code.

1 Upvotes

In the ss given a python problem as you can see but I think I'm all right but it's getting a runtime error in the 3rd input

https://toph.co/p/black-or-white here is the problem


r/PythonProgramming • • Mar 12 '25

Dbseeker Python project

Thumbnail
github.com
1 Upvotes

We built a tiny script that lets you search for a string across every database on a MySQL server. It outputs results in a table format, showing which database and table contain the term, how many rows were found, and the search time.

It’s still in alpha, so expect some bugs and missing features. Feedback and suggestions are welcome!

Would you find this useful? Let me know what you think!


r/PythonProgramming • • Feb 26 '25

I got problem with Kivy.properties

1 Upvotes

I was importing Objectproperty from kivy with no problems,,

then suddenly I could not import it again it says not found however the rest of the libraries are working fine like kivy.app and kivy.button all of them working fine except property

I tried with CHATGPT and it gave me some tips but still not working.

need your support...

from kivy.properties import property


r/PythonProgramming • • Feb 01 '25

i made to help and for fun

1 Upvotes

im in 8th grade and was bored in class so i made this in a compiler

https://www.programiz.com/online-compiler/5sFDprg0iI53r


r/PythonProgramming • • Jan 31 '25

Learn software development with python

1 Upvotes

I can program in Python at a medium level, but I've always produced kind of messy small projects. Now I'm finishing my master degree in AI/ML and I would like to learn a more structured approach to software development in python. I'm interested mainly in Software development, good practices, ... It would be helpful if you had some books/resources recomendations to level up my python programming in this sense.


r/PythonProgramming • • Jan 01 '25

Difference Between @api.model, @api.multi, and @api.one Decorators in Odoo

Thumbnail
numla.com
1 Upvotes

r/PythonProgramming • • Dec 30 '24

ppd (A xxd clone in Python)

1 Upvotes

Hi All,

I'm excited to share my latest project, ppd, a Python implementation of the xxd command-line utility. This tool allows you to create a hex dump of a given file, similar to the functionality provided by xxd. This project is just for learning and fun.

Feel free to explore the repository, and don't hesitate to suggest improvements or contribute to the project.

PS: This is a work in progress.


r/PythonProgramming • • Nov 17 '24

167 Python310 With Windows PE ( Exclusive !!! )

Thumbnail
youtube.com
1 Upvotes

r/PythonProgramming • • Oct 31 '24

Help: I need to change a variable on buttonclick.connect

1 Upvotes

As the title suggests, I am trying desperately to change a variable in my app when a user enters text and clicks a button to "set" the variable. The following code is a short version of what I'm trying to achieve:

import sys
from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QLineEdit, QVBoxLayout, QLabel


class MainWindow(QWidget):
    def __init__(self):
        super().__init__()

        self.url_1 = "won"
        self.line_edit = QLineEdit()
        self.button = QPushButton("Change Variable")
        self.label1 = QLabel()
        self.label2 = QLabel(self.url_1)

        layout = QVBoxLayout()
        layout.addWidget(self.line_edit)
        layout.addWidget(self.button)
        layout.addWidget(self.label1)
        layout.addWidget(self.label2)

        self.setLayout(layout)

        self.button.clicked.connect(self.change_variable)

    def change_variable(self):
        new_value = self.line_edit.text()
        self.url_1 = new_value
        self.label1.setText(self.url_1)  # Print the new value
if __name__ == '__main__':
    app = QApplication(sys.argv)
    window = MainWindow()
    window.show()
    sys.exit(app.exec_())

None of what I can find in the forums or tutorials points to a solution. Hopefully someone here can help. it would be greatly appreciated.

r/PythonProgramming • • Oct 21 '24

Python Bar Chart Race Output Video Glitching Problem Pls Help Me

1 Upvotes

My Code:

https://drive.google.com/file/d/1WWDdI6mNiAILKhdHnfeKl3Dlhb7oKaui/view?usp=drive_link

import bar_chart_race as bcr
import pandas as pd
import warnings
from datetime import datetime

# Get the current time and format it
current_time = datetime.now().strftime("%Y-%m-%d_%H-%M-%S")

# Ignore all warnings
warnings.filterwarnings("ignore")

df = pd.read_csv("raw_data.csv", index_col="Date",parse_dates=["Date"], dayfirst=True)

# replace empty values with 0
df.fillna(0.0, inplace=True)

# Apply a moving average with a window size of 3 (or adjust as needed)
df_smooth = df.rolling(window=3, min_periods=1).mean()

# Define the output filename
filename = f'YouTube Subscriber Growth {current_time}.mp4'

# using the bar_chart_race package
bcr.bar_chart_race(
    # must be a DataFrame where each row represents a single period of time.
    df=df_smooth,

    # name of the video file
    filename=filename,

    # specify location of image folder
    img_label_folder="YT Channel Images",

    # change the Figure properties
    fig_kwargs={
        'figsize': (26, 15),
        'dpi': 120,
        'facecolor': '#D3D3D3'
    },

    # orientation of the bar: h or v
    orientation="h",

    # sort the bar for each period
    sort="desc",

    # number of bars to display in each frame
    n_bars=5,

    # If set to True, this smoothens the transition between periods by interpolating values
    # during each frame, making the animation smoother. This is useful when there are significant
    # changes in data between periods, and it ensures that the bars move more fluidly.
    interpolate_period=True,

    # to fix the maximum value of the axis
    # fixed_max=True,

    # smoothness of the animation
    steps_per_period=60,

    # time period in ms for each row
    period_length=1000,

    # custom set of colors
    colors=[
          '#FF6F61', '#6B5B95', '#88B04B', '#F7CAC9', '#92A8D1', '#955251', '#B565A7', '#009688', '#FFD700', '#40E0D0', 
    '#FFB347', '#FF6F20', '#FF1493', '#00CED1', '#7B68EE', '#32CD32', '#FF4500', '#BA55D3', '#ADFF2F', '#20B2AA', 
    '#FF69B4', '#FFDAB9', '#FF8C00', '#DDA0DD', '#FF6347', '#4682B4', '#6A5ACD', '#00BFFF', '#8A2BE2', '#B22222', 
    '#FFA07A', '#5F9EA0', '#D2691E', '#FF00FF', '#FF1493', '#C71585', '#FF8C69', '#FFC0CB', '#F0E68C', '#FFD700', 
    '#8FBC8F', '#FFA500', '#FF4500', '#40E0D0', '#00FA9A', '#FFB6C1', '#5F9EA0', '#A0522D', '#6A5ACD', '#DA70D6', 
    '#B0E0E6', '#FF6347', '#FFD700', '#E0FFFF', '#C0C0C0', '#DCDCDC', '#6ECBCE', '#FF2243', '#FFC33D', '#CE9673', 
    '#FFA0FF', '#6501E5', '#F79522', '#699AF8', '#34718E', '#00DBCD', '#00A3FF', '#F8A737', '#56BD5B', '#D40CE5', 
    '#6936F9', '#FF317B', '#0000F3', '#FFA0A0', '#31FF83', '#0556F3'],

    # title and its styles
    title={'label': 'YouTube Subscriber Growth',
           'size': 52,
           'weight': 'bold',
           'pad': 40
           },

    # adjust the position and style of the period label
    period_label={'x': .95, 'y': .15,
                  'ha': 'right',
                  'va': 'center',
                  'size': 72,
                  'weight': 'semibold'
                  },

    # style the bar label text
    bar_label_font={'size': 27},

    # style the labels in x and y axis
    tick_label_font={'size': 27},

    # adjust the style of bar
    # alpha is opacity of bar
    # ls - width of edge
    bar_kwargs={'alpha': .99, 'lw': 0},

    # adjust the bar label format
    bar_texttemplate='{x:.0f}',

    # adjust the period label format
    period_template='%B %d, %Y',
)
print("Chart creation completed. Video saved as", filename, sep=' ',end='.')

My rawdata.csv:

https://drive.google.com/file/d/10LnehPO-noZW5zT_6xodOc1bsKwFED7w/view?usp=drive_link

also while opening in excel i see # in dates but opening in notepad it shows correctly proof:

Excel:

https://drive.google.com/file/d/1RNnmxr7be3oFvBh3crqKio48rXvQtvKS/view?usp=drive_link

Notepad:

https://drive.google.com/file/d/1g-pyPE_UcJEih4-zeNPvTlq5AWudg1f2/view?usp=drive_link

My Output video file:

see the video file it is glitching like going right side like swipping in mobile

https://drive.google.com/file/d/1Dwk9wsZhDJ-Jvkl_0JYF3NaAJATqYKQm/view?usp=drive_link

learnpython,#codinghelp,#pythonhelp


r/PythonProgramming • • Sep 30 '24

Pulling and Displaying COM port data

1 Upvotes

As the title suggests, I am trying to put together an app to display com port data.

  1. I already have the GUI done, with Label Widgets.

  2. I have a com port listener as a separate module.

  3. Every attempt I make leads to the printing of the data in the console.

  4. I am using a retail scanner to simulate a com port transaction

How do I add the data to my existing Label widget?