r/PythonProjects2 • • Oct 23 '25

Python daily challenge

Post image
18 Upvotes

🧠 Think you're a Python pro? This sneaky list mutation trick has tripped up even experts – what's the output of nums and result? Drop your pick (A/B/C/D) below and see if you spot the gotcha! 🐍 #PythonQuiz #CodingChallenge


r/PythonProjects2 • • Jan 14 '26

I wrote my first Python Program, what did I get wrong?

Post image
8 Upvotes

I wrote out this To Do list program with all of the beginner functions I have come to understand, but every time I run it, instead of getting an input option I keep getting “Process finished with exit code 0” and it’s “Read Only.” What should I do to fix this?


r/PythonProjects2 • • Dec 23 '25

Different length string compare print true

Post image
0 Upvotes

r/PythonProjects2 • • Feb 19 '23

[P] Moderate I made a Twitter app. It blocks accounts with Personal Pronouns in the Bio

Thumbnail gender-app.com
0 Upvotes

r/PythonProjects2 • • Dec 04 '25

How can i be so dumb. Not able to understand these simple set of codes😭😭😭😭😭.

Post image
0 Upvotes

r/PythonProjects2 • • Jul 25 '26

I just built a beginner-friendly programming language called Quark 2.0 🚀 (Looking for feedback!)

0 Upvotes

Hi everyone!

Over the past few weeks, I've been building a small interpreted programming language called Quark 2.0 in Python. The goal wasn't to replace Python or JavaScript, but to create something that's easy for beginners to read and experiment with.

Some features include:

  • Variables (let)

  • Math expressions

  • User input

  • Random number generation

  • if statements

  • repeat loops

  • File reading & writing

  • Module importing

  • Interactive shell (REPL)

  • .qk source files

Example:

input What is your name? -> name

let lucky = random 1 100

print Hello 'name'

print Your lucky number is 'lucky'

I'm still learning about interpreters and language design, so I'd really appreciate any feedback, suggestions, or ideas for future versions. Things like syntax, usability, documentation, or code quality are all welcome.

GitHub Repository:

https://github.com/Anish055051L/Quark-2.0

Thanks for taking a look!


r/PythonProjects2 • • Apr 03 '25

If you Love Coding in Pinescript. Let's develop a strategy. If it works it is a win win for both.

Post image
2 Upvotes

Looking for an Individual who loves Pinescripting and coding towards forex , cryptos and stocks etc.

I wanna create different strategies with him or her. Incase any of our strategy works good we might keep it within us and make good money out of it. It is win win for both.

Remember I am not looking for an employee. Someone who would love to Collab on same level . I put my trading knowledge you put your coding knowledge and we bring some output.

Dm me if that person is your. Need a serious person who can actually make anything I say in the pinescript from basics to intermediate to a bit advance maybe.


r/PythonProjects2 • • Oct 02 '21

Looking for someone to program a Web scrapper for a stock scanner

0 Upvotes

Hi,

8 bit here, veteran trader and problem solver. Not fluent with coding but algorithms and systematic thinking are in my wheel house. I am looking to build a GUI using a web scrapper and some "if Then" functions to make my scanning and filtration process more streamlined and efficient. If you are qualified and interested in this niche and would like to work together on this project please feel free to message me.


r/PythonProjects2 • • Jul 14 '19

can someone provideFacebook bot guide?

0 Upvotes

I am looking a tutorial on how to create a Facebook bot. Can anyone provide me guidelines?


r/PythonProjects2 • • Jun 11 '26

I'm 14 and just released BetterQR — a pure Python QR code generator with advanced customization

0 Upvotes

Hi everyone! I'm Abbadh from Sri Lanka (online handle: DevX-Dragon), and I'm excited to share BetterQR, a Python library I've been working on.

What is BetterQR?

BetterQR is a powerful QR code generator built entirely in pure Python with zero external dependencies for core QR generation. Unlike other libraries, it gives you complete control over the visual appearance and functionality of your QR codes.

Key Features:

  • 🎨 Highly Customizable - 8 different module shapes (square, circle, rounded, diamond, star, gapped, vbar, hbar)

  • 🌈 Gradient Support - Linear and radial gradients with custom angles

  • 🖼️ Logo Embedding - Embed logos with customizable sizing, shapes, and padding

  • ✨ Animated QR Codes - Generate animated GIFs with effects like shimmer, fade, scan, pulse, matrix, and wave

  • 📋 Data Shortcuts - Built-in helpers for WiFi, vCard, MeCard, Events, SMS, Email, Phone, and Crypto

  • 💻 CLI + Python API - Use it from the terminal or in your Python projects

  • 📤 Multiple Formats - Export as PNG, JPG, SVG, or GIF

Example Usage:

from betterqr import QR, WiFi

# Simple QR code
QR("https://example.com").save("qr.png")

# Styled with gradient
QR("Hello World").gradient("#FF6B6B", "#4ECDC4", direction="radial").save("gradient_qr.png")

# With logo
QR("https://mysite.com", ecc="H").logo("logo.png", ratio=0.3, shape="rounded").save("qr_logo.png")

# WiFi QR code
QR(WiFi("MyNetwork", "Password123", security="WPA")).save("wifi_qr.png")

# Animated
QR("Animated!").animate(effect="matrix", frames=30, fps=12).save("animated.gif")

Why I Built This:

I wanted to create a QR code library that didn't require external dependencies and gave developers complete creative control. Most existing libraries are either limited in customization or depend on external services. BetterQR changes that.

Installation:

pip install betterqr

Resources:

I'm open to feedback, feature requests, and contributions! Feel free to open issues or PRs on GitHub.


r/PythonProjects2 • • Apr 28 '25

Need Advice: How to Make $700/month from Coding Projects (Without Freelancing or a 9-5)

4 Upvotes

Hey everyone! I’ve been grinding hard learning programming, but lately, I’ve hit a wall—I just want to focus on building my own projects instead of working for someone else.

Here’s my situation: I only need ~$700/month to cover my living costs (I’m in a low-cost country). I don’t want to freelance or do corporate work (too boring/draining). I’d rather spend time coding my own ideas while making just enough to survive.

My question is has anyone made passive/semi-passive income from coding projects (apps, tools, scripts)? What’s the easiest way to hit $700/month

without:

  • Client work (Upwork/Fiverr)

  • A full-time job

  • Crypto/YouTube/"get rich quick" stuff

But I’m not sure where to start. If you’ve done this, I’d love to hear:

  • What worked (or didn’t)?

  • How much time did it take to hit $700/month?

  • Any low-effort project ideas for a solo dev?

Thanks in advance—I just need to buy time to keep studying and creating!


r/PythonProjects2 • • Apr 15 '20

I have created a stock prediction program in python, but it's not always accurate. How would I fix this?

2 Upvotes

The program is usually able to predict the open and close price within 10 points. Is there any way I can make this margin of error smaller? Right now the most accurate model that works is the SVR RBF model. Any help would be greatly appreciated. Thank you.

Here is the code I have right now:

#Import the libraries
import pandas as pd
import numpy as np
from sklearn.svm import SVR
from sklearn.linear_model import LinearRegression
import matplotlib.pyplot as plt
from sklearn.svm import SVR
from sklearn.model_selection import train_test_split

#Load the data
#from google.colab import files # Use to load data on Google Colab
#uploaded = files.upload() # Use to load data on Google Colab
df = pd.read_csv('AAPL.csv')
print(df)

#Create the lists / X and Y data sets
dates = []
prices = []


#Get all of the rows from the Date Column
df_dates = df.loc[:, 'Date']
#Get all of the rows from the Open Column
df_open = df.loc[:, 'Open']

#Create the independent data set X
for date in df_dates:
  dates.append( [int(date.split('-')[2])])
  
#Create the dependent data set 'y'
for open_price in df_open:
  prices.append(float(open_price))

#See what days were recorded
print(dates)

def predict_prices(dates, prices, x):
  
  #Create the 3 Support Vector Regression models
  svr_lin = SVR(kernel='linear', C= 1e3)
  svr_poly= SVR(kernel='poly', C=1e3, degree=2)
  svr_rbf = SVR(kernel='rbf', C=1e3, gamma=0.1)
  
  #Train the SVR models 
  svr_lin.fit(dates,prices)
  svr_poly.fit(dates,prices)
  svr_rbf.fit(dates,prices)
      
  #Create the Linear Regression model
  lin_reg = LinearRegression()
  #Train the Linear Regression model
  lin_reg.fit(dates,prices)
  
  #Plot the models on a graph to see which has the best fit
  plt.scatter(dates, prices, color='black', label='Data')
  plt.plot(dates, svr_rbf.predict(dates), color='red', label='SVR RBF')
  plt.plot(dates, svr_poly.predict(dates), color='blue', label='SVR Poly')
  plt.plot(dates, svr_lin.predict(dates), color='green', label='SVR Linear')
  plt.plot(dates, lin_reg.predict(dates), color='orange', label='Linear Reg')
  plt.xlabel('Days')
  plt.ylabel('Price')
  plt.title('Regression')
  plt.legend()
  plt.show()
  
  return svr_rbf.predict(x)[0], svr_lin.predict(x)[0],svr_poly.predict(x)[0],lin_reg.predict(x)[0]


#Predict the price of AAPL on day x
predicted_price = predict_prices(dates, prices, [[36]])
print(predicted_price)

r/PythonProjects2 • • 7d ago

Generate a Wi-Fi QR Code Instantly with Python

Post image
0 Upvotes

r/PythonProjects2 • • Jan 15 '26

Python Mutability and Shallow vs Deep Copy

Post image
0 Upvotes

An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:


r/PythonProjects2 • • Aug 20 '26

Info Hey devs 👋 Would love some honest feedback on my GitHub profile!

Post image
0 Upvotes

r/PythonProjects2 • • Feb 11 '20

hash stuff

0 Upvotes

errmsg = "sys err"
print("[1] encryptor")
print("[2] decryptor")
what = input("c:\\> ")

if what == "1":
     i = 2
     while i == 2:
          inp = input("word: ")
          if inp == "break":
               break
          hasdinp = hashlib.md5(inp.encode('utf-8').strip()) .hexdigest()
          print("le hash: %s"%hasdinp )
          print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")

elif what == "2":
     a = "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
     print("\n password cracker \n")
     fileu = input("file directory: ")
     inpin = input("whats the method: ")
     if inpin.lower() == "md5":
          hashu = input("what is the md5 hash: ")
          try:
               fileo = open(fileu, "r")
          except:
               print(errmsg)
               
          counter = 1
          for passes in fileo:
               md5has = hashlib.md5(passes.encode("utf-8").strip()).hexdigest()
               print('trying pw %d: %s'%(counter, passes))
               print(a)
               counter += 1
               if hashu == md5has:
                    print("\n password found: %s \n"%(passes))
                    fileo.close()
                    break
          else:
               print("404 hash not found")
      
     if inpin.lower() == "sha1":
     
          hashu = input("what is the sha1 hash: ")
          try:
               fileo = open(fileu, "r")
          except:
               print(errmsg)
               
          counter = 1
          for passes in fileo:
               sha1has = hashlib.sha1(passes.encode("utf-8").strip()).hexdigest()
               print('trying pw %d: %s'%(counter, passes))
               print(a)
               counter += 1
               if hashu == sha1has:
                    print("\n password found: %s \n"%(passes))
                    fileo.close()
                    break
          else:
               print("404 hash not found")

     if inpin.lower() == "sha256":
        
          hashu = input("what is the sha256 hash: ")
          try:
               fileo = open(fileu, "r")
          except:
               print(errmsg)
               
          counter = 1
          for passes in fileo:
               sha256has = hashlib.sha256(passes.encode("utf-8").strip()).hexdigest()
               print('trying pw %d: %s'%(counter, passes))
               print(a)
               counter += 1
               if hashu == sha256has:
                    print("\n password found: %s \n"%(passes))
                    fileo.close()
                    break
                    
          else:
               print("404 hash not found")
else:
     print(errmsg) ```

r/PythonProjects2 • • Jan 22 '26

Can't print factorial

Post image
0 Upvotes

r/PythonProjects2 • • Dec 05 '25

Python Tutor for beginners

0 Upvotes

Intermediate Python tutor offering focused 1-on-1 lessons.
I help beginners build strong foundations.
Flexible times Online
Message to book.


r/PythonProjects2 • • Mar 13 '26

I built a Python-only AI coding assistant – looking for beta testers

0 Upvotes

Hey, sharing a project I've been building — Zyppi, an AI coding assistant built exclusively for Python developers.

It's framework-aware (Django, Flask, FastAPI) and focused on what Python devs actually need: explain code, generate pytest tests, fix imports, debug errors, refactor, add type hints and docstrings.

Looking for beta testers — free 2 week access. DM me or comment for an invite code.

zyppiapp.com


r/PythonProjects2 • • May 02 '26

Info I built a local AI Virtual Assistant (JARVIS inspired) using Python, PyQt6 and Ollama. Everything ru

0 Upvotes

Hi everyone!

I've been working on a personal project to create a desktop virtual assistant that doesn't rely on the cloud. I wanted something that felt like **JARVIS** but kept my data 100% private.

### 🛠️ How it works:

* **Brain:** It uses **Ollama** as the backend, so you can run models like Llama 3, Mistral, or Phi-3 locally.

* **Interface:** Built with **PyQt6** featuring a "holographic" glassmorphism effect (transparent and sleek).

* **Memory:** It has a persistent local memory system to remember previous interactions.

* **Voice:** Integrated with Piper for realistic text-to-speech.

### 🔒 Why local?

I wanted to prove that you don't need OpenAI or Google to have a functional assistant. This runs entirely on your hardware.

### 📂 Source Code & Setup:

I've made the repository public and wrote a full guide on how to set it up (it's very easy!).

**Check it out here:** https://github.com/Jm7997/JARVIS

I'm still a student/learning, so I'd really appreciate any feedback, feature ideas, or even a star on GitHub if you find it cool!

What features should I add next? (I'm thinking about Spotify integration or home automation).

### Background

I wanted to build a JARVIS-like assistant that works completely offline to learn more about integrating LLMs with Python and creating transparent UIs with PyQt6.

### What it does

It provides a holographic-style desktop interface to chat with local AI models via Ollama, including persistent conversation memory and text-to-speech.

### Target Audience

Anyone interested in local AI, desktop automation, or learning how to use PyQt6 for modern-looking Python applications.

### Comparison

Unlike other cloud-based assistants, this is 100% private and runs on your own hardware without subscription fees or API keys.


r/PythonProjects2 • • Apr 14 '26

hello

1 Upvotes

im a founder of a startup and i want a partner for colaboration if there is anybody intrested i woul be greatefull to connect with you in DM


r/PythonProjects2 • • Aug 12 '25

Info The real reason Python learners stay stuck and how to fix it...

1 Upvotes

I’ve had a lot of people DM me lately about learning Python and honestly, most of them are stuck in the same loop.

They start with good intentions… then hit:

  • 20 different tutorials that all cover the same “Hello World” stuff

  • Outdated guides that don’t match the current version

  • No clue what actual projects to build

  • Zero consistency they take a break, forget where they left off, and restart from scratch

It’s no wonder something that could take months ends up dragging on for years.

What’s worked for people I’ve seen succeed?

  • One clear, structured path from beginner to advanced (no bouncing around)

  • Projects at every stage so you use what you learn

  • Learning SQL alongside Python data + code is a game-changer

  • A way to track progress and keep momentum (habit tracker, task list, whatever works for you)

Python isn’t the problem.
The problem is trying to learn without a system.

If you’re stuck in this same loop, drop me a DM...


r/PythonProjects2 • • 14d ago

Controversial When a Python Developer meets another programmer!

Post image
0 Upvotes

r/PythonProjects2 • • Feb 20 '22

Anyone has a python script to extract email addresses from gmail? (in bulk)

0 Upvotes

I really need such thing since softwares are expensive and I'm needing the service once, If anyone has a script or could make one as an exercise, it would be hugely appreciated


r/PythonProjects2 • • Apr 11 '20

PYTHON DICTIONARIES HW HELP!

0 Upvotes

Hi all hope you are doing well during this unusual time. I am taking programming I class and it has been hard to communicate with my professor during these times so I decided to turn to reddit and ask for some help as I am confused with dictionaries. This is my first assignment with dictionaries. Help is very greatly appreciated!! Thanks in advance

  1. Create a list called ​fruits_list​ with the values ​‘bananas’​, ​‘apples’​, and ​‘grapes’​ and a list called ​fruits_price​ with the values ​0.59, 3.99, and 2.99.

  2. Using a ​for​ loop, create a dictionary ​price_per_pound​ containing the elements of ​fruits_list as keys with the corresponding values from ​fruits_price​ (so bananas cost $0.59 per pound, apples cost $3.99 per pound, and grapes cost $2.99 per pound)

  3. Create a function ​groceries(fruits_list)​ that asks the user for the number of pounds of each fruit type in the input list ​fruits_list​ and returns the information in a dictionary called fruit_quantity​.

  4. Create a function ​calculate_bill(dict_price,dict_quantity)​that takes two dictionaries dict_price​ and ​dict_quantity​ as input arguments and returns the total value of the bill.

  5. Create a ​main​ function to run your functions and print the total price.