Jump to content

How I Turned Python Scripts into Multiple Income Streams

From JOHNWICK

From $50 Freelance Scripts to SaaS with Recurring Revenue

1) The $50 Starter Script — File Organizer I started simple: a script that auto-sorted messy files into folders (images, docs, videos).
Clients (freelancers, small offices) happily paid $50 because it saved them hours.

import os, shutil

def organize(path):
    for file in os.listdir(path):
        ext = file.split(".")[-1]
        folder = os.path.join(path, ext.upper())
        os.makedirs(folder, exist_ok=True)
        shutil.move(os.path.join(path, file), os.path.join(folder, file))

organize(r"C:\Users\Zee\Downloads")

2) $300 Gig — Web Scraping for Leads I scraped websites to build lead lists (emails, phones) for local businesses.
This one paid $300 and opened doors to repeat work.

import requests
from bs4 import BeautifulSoup

url = "https://example.com/shops"
res = requests.get(url)
soup = BeautifulSoup(res.text, "html.parser")

for shop in soup.select(".shop-card"):
    print(shop.find("h2").text, shop.find("a")["href"])

3) $200/Month Retainer — Automated Reports I automated Excel + PDF sales reports for a small company.
They paid $200/month because it replaced 10 hours of manual work.

import pandas as pd

df = pd.read_excel("sales.xlsx")
summary = df.groupby("Product")["Revenue"].sum()
summary.to_excel("report.xlsx")

4) Email Automation = Long-Term Clients Using smtplib, I built scripts to send personalized bulk emails.

import smtplib
from email.mime.text import MIMEText

msg = MIMEText("Hello Client, your invoice is ready!")
msg["Subject"] = "Invoice Reminder"
msg["From"] = "[email protected]"
msg["To"] = "[email protected]"

with smtplib.SMTP("smtp.gmail.com", 587) as server:
    server.starttls()
    server.login("[email protected]", "password")
    server.send_message(msg)

5) AI-Powered Tools — $1,000+ Projects Using OpenAI API with Python → I built content generators for blogs/ads.
Startups paid $1,000+ for custom tools.

import openai

openai.api_key = "sk-..."

prompt = "Write a catchy ad for coffee shop"
resp = openai.Completion.create(engine="text-davinci-003", prompt=prompt, max_tokens=60)
print(resp.choices[0].text.strip())

6) WhatsApp Bots for Shops — $100 Quick Wins With pywhatkit, I automated WhatsApp reminders for shops.
Shops loved it because it kept customers coming back.

import pywhatkit
pywhatkit.sendwhatmsg("+1234567890", "Your order is ready!", 15, 30)

7) Scheduled Bots = Higher Fees With schedule, I built scripts that run without human touch.
Example: daily stock check + email.

import schedule, time

def job():
    print("Daily stock check sent!")

schedule.every().day.at("09:00").do(job)

while True:
    schedule.run_pending()
    time.sleep(1)

8) API Wrappers — Premium Freelance Work I built Python wrappers around messy APIs → startups paid well.

import requests

class WeatherAPI:
    def __init__(self, key): self.key = key
    def get(self, city):
        url = f"http://api.weatherapi.com/v1/current.json?key={self.key}&q={city}"
        return requests.get(url).json()

9) SaaS with Flask + Stripe = Recurring Revenue The big jump → packaging my Python scripts into a SaaS app.

from flask import Flask
app = Flask(__name__)

@app.route("/")
def home():
    return "🚀 My Python SaaS is live!"

if __name__ == "__main__":
    app.run()

Add Stripe billing → charge $20/month.
Even 50 users = $1,000/month passive income.

Final Takeaway Python itself isn’t magic.
Solving real problems → packaging → charging money = wealth. I went from $50 scripts → $200 retainers → $1k automations → $10k+ SaaS

Read the full article here: https://python.plainenglish.io/how-i-turned-python-scripts-into-multiple-income-streams-25b41ef2e29b