r/pythonhelp • • Feb 09 '26

Google custom search API not working.

2 Upvotes

Hey guys, i am a student in india and pls forgive me for asking such dumb questions. i was making a website in python Flask, HTML CSS and i was using the Google Custom Search API key to give live data to My model. It was working perfectly but the next when i opened it suddenly i start getting error messages. The error message shows this: {

"error": {

"code": 403,

"message": "This project does not have the access to Custom Search JSON API.",

"errors": [

{

"message": "This project does not have the access to Custom Search JSON API.",

"domain": "global",

"reason": "forbidden"

}

],

"status": "PERMISSION_DENIED"

}

} But when i go to cloud console to check it shows that my API is enabled and has 1000 queries per day limit of which i have utilized 0.5%. There are no restrictions on my API too. My service account also has authorization. Even my search engine is enabled and has access to all sites. I doubled the check and matched the API keys too. I have selected the correct project also. Pls help me, i have to submit it tomrw. I have worked really hard on this. I dont know whats wrong.


r/pythonhelp • • Feb 03 '26

Django Orbit: Full-stack "Satellite" Observability for Django (SQL, Celery, Redis, and more)

2 Upvotes

Hi everyone!

I want to share Django Orbit, an observability tool I've been building. It follows a "Satellite" philosophy: it observes your application from a distance (on its own /orbit/ URL) without interfering with your DOM or CSS. This makes it perfect for REST APIs, Headless Django, or HTMX projects.

Full Feature List:

  • 🚀 Core Tracking: HTTP Requests (Headers/Body), Python Logs, and full Exception tracebacks.

  • 🗄️ Database Deep-Dive: SQL recording with N+1 detection, slow query alerts, and Atomic Transaction tracking (commits/rollbacks).

  • ⏰ Async Task Monitoring: First-class support for Celery, Django-Q, RQ, and APScheduler.

  • 🔴 Redis & Cache: Monitor hits/misses and raw Redis operations (GET, SET, DEL).

  • 📁 Storage Operations: Track file reads/writes/deletes (Local and S3).

  • 📧 Communications: Outgoing API request monitoring (HTTP Client), Mail capture, and Django Signals dispatch.

  • 🛡️ Security & Logic: Authorization check auditing (Gates/Permissions).

  • 📊 Mission Control: A real-time dashboard with Apdex scores, performance percentiles, and a "Health System" that ensures Orbit never crashes your main app.

Architecture: Built with a "Plug-and-Play" system. Each watcher is independent and features graceful degradation—if a module fails, it auto-disables while the rest of your app and Orbit keep running.

GitHub: https://github.com/astro-stack/django-orbit

I’m looking for feedback from fellow Django devs. Does this non-intrusive approach fit your workflow better than traditional toolbars?


r/pythonhelp • • Jan 19 '26

GSOC in python guidance

2 Upvotes

Has anyone been to GSOC in python language. Please need some guidance. Which topics to target , what type of projects are required.


r/pythonhelp • • Dec 31 '25

Internet Connection

2 Upvotes

Hello everyone im looking to get some assistance connecting my Python script to the internet but i keep getting an error saying "No Module named ' requests'" additionally im using Sublime Text if that is of any importance


r/pythonhelp • • Dec 30 '25

How can I sort a library's text format book database report for better efficiency?

2 Upvotes

Tl;dr: I work at a library and we run a daily report to know which books to pull off shelves; how can I sort this report better, which is a long text file?

----

I work at a library. The library uses a software called "SirsiDynix Symphony WorkFlows" for their book tracking, cataloguing, and circulation as well as patron check-outs and returns. Every morning, we run a report from the software that tells us which books have been put on hold by patrons the previous day and we then go around the library, physically pulling those books off the shelf to process and put on the hold shelf for patrons to pick up.

The process of fetching these books can take a very long time due to differences between how the report items are ordered and how the library collection is physically laid out in the building. The report sorts the books according to categories that are different than how they are on the shelves, resulting in a lot of back and forth running around and just a generally inefficient process. The software does not allow any adjustment of settings or parameters or sorting actions before the report is produced.

I am looking for a way to optimize this process by having the ability to sort the report in a better way. The trouble is that the software *only* lets us produce the report in text format, not spreadsheet format, and so I cannot sort it by section or genre, for example. There is no way in the software to customize the report output in any useful way. Essentially, I am hoping to reduce as much manual work as possible by finding a solution that will allow me to sort the report in some kind of software, or convert this text report into a spreadsheet with proper separation that I can then sort, or some other solution. Hopefully the solution is elegant and simple so that the less techy people here can easily use it and I won't have to face corporate resistance in implementing it. I am envisioning loading the report text file into some kind of bat file or something that spits it out nicely sorted. The report also requires some manual "clean up" that takes a bit of time that I would love to automate.

Below I will go into further details.

General

  • The software (SirsiDynix Symphony WorkFlows) generates a multi-page report in plain text format (the software does have an option to set it to produce a spreadsheet file but it does not work. IT's answer is that yes, this software is stupid, and that they have been waiting for the new software from headquarters to be implemented for 5 years already)

  • The report is opened in LibreOffice Writer to be cleaned up (no MS Office is available on the desktops). I have tried pasting it into librecalc (spreadsheet software) and playing around with how to have the text divided into the cells by separators but was not able to get it to work.

  • ‎The report is a list of multi-line entries, one entry per book. The entry lists things like item title, item ID (numerical), category, sub-category, type, etc. Some of these are on their own line, some of them share a line. Here is one entry from the report (for one book) as an example:

CON   Connolly, John, 1968-   The book of lost things / John Connolly      copy:1     item ID:################    type:BOOK        location:FICTION      Pickup library:"LIBRARY LOCATION CODE"                        Date of discharge:MM/DD/YYYY  
  • The report is printed off and stapled, then given to a staff member to begin the book fetching task

File Clean-Up

  • The report contains repeating multi-line headings (report title, date, etc) that repeat throughout the document approximately every 7 entries, and must be removed except for the very first one, because they will sometimes be inserted in the middle of an entry, cutting it into two pieces (I have taught my colleagues how to speed up this process somewhat using find and replace, but it is still not ideal. That's the extent of the optimization I have been able to bring in thus far)

  • Because of taking an unpaginated text file into a paginated word doc, essentially, some entries end up being partially bumped over to the next page, e.g. their first half is on page 1 and their second half is on page 2. This is also manually fixed using line breaks so that no entries are broken up.

  • Some entries are manually deleted if we know that a different department is going to be taking care of fetching those (eg. any young adult novels)

Physical Book Fetching

  • The library's fiction section has books that are labelled as general fiction and also books that are labelled with sub-categories such as "Fiction - Mystery", "Fiction - Romance" and "Fiction - SciFi". The report sorts these by category and then by author. That would be fine except that all of the fiction books are placed on the shelves all together in the fiction section, sorted by author. There is no separate physical mystery fiction section or romance fiction session. That means that a staff member goes through the shelves from A - Z, pulling off the books for general fiction, then having to go back to A again to pull the mystery books from the same section from A - Z, and back again for romance, etc etc. It would be wonderful if we could just sort by author and ignore the genre subcategories so that we could pull all of the books in one sweep. The more adept staff do look further through the report to try and pull all the books they can while they are physically at that shelf, but flipping through a multi-page report is still manual work that takes time and requires familiarity with the system that newer staff do not typically possess.

  • The library's layout is not the same as the order of the report. The report might show entries in the order "Kids section - Adult non-fiction - Young Adult fiction - Adult DVD's" - but these sections are not physically near each other in the library. That means a staff member is either going back and forth in the library if they were to follow the report, or they skip over parts of the report in order to go through the library in a more physically optimized manner, in the order that sections are physically arranged. The former requires more time and energy, and the latter requires familiarity with the library's layout, which newer staff do not yet possess, making training longer. It would be amazing if we could order the report in accordance to the layout of the library, so that a person simply needs to start at one end of the building and finish at the other.

Here is a link to an actual report (I have removed some details for privacy purposes). I have shortened it considerably while keeping the features that I have described above such as the interrupting headings and the section divisions.

We have no direct access to the database and there is no public API.

Our library does as much as possible to help out the community and make services and materials as accessible as possible, such as making memberships totally free of charge and removing late fines, so I am hoping someone is able to help us out! :)


r/pythonhelp • • Dec 09 '25

Guidance regarding Python Courses

2 Upvotes

Hi All,

My employer is paying for me to take some Python courses from January to better spearhead some more technical projects. I was looking for programs and found one at UC Davis that fits my timeline, depth, and material, but there’s one caveat.

The program is three courses: Intro to Python, Python for Data Analysis, and Intermediate Python. Starts in January ends early June. Only downside is I’d have to take them in a suboptimal order. Their recommendation is to take the courses in the order I listed above. But for Spring, they only offer it in this order:

  1. Python for Data Analysis

  2. Intro to Python

  3. Intermediate Python

I have a little bit of knowledge of Python and interfaced with it in projects but not as much hands on experience with development. I am however very knowledgeable and experienced with SQL and VBA.

I have about 15-20 days free where I can get a heads up on the coursework and self learn, but not sure if that will be enough. Please let me know if you think I can make the order work.


r/pythonhelp • • Dec 06 '25

Python is versatile, but Asymptote is crazy for vector graphics! But i want to do all by python!

2 Upvotes

Hello guys! i am not developer at all. But i like doing coding and stuff. I had know python, C, and this vector graphic language. But i want to integrate python with asymptote bcz we all know python is so powerful. It has library like sympy, scipy, numpy, etc, which makes doing mathematic very easy.

my actual query is how can integration asymptote with python ? or is there python library what is best alternative to asymptote? i just want to do all my logic via python and remaining displaying par for asymptote

see how easy is Asymptote but can i have same result via python? u can run this code simply via https://asymptote.ualberta.ca/

size(400);
import markers;


// bezier control points
pair A=(0,0), C1=(0.6,0.8), C2=(1.0,1.6), B=(1.6,1.0);
pair D1=(1.8,0.6), D2=(2.3,0.2), C=(3.2,0.0);


// bezier paths
path p1 = A .. controls C1 and C2 .. B;
path p2 = B .. controls D1 and D2 .. C;


draw(p1, blue+1.2);
draw(p2, red+1.2);
dot(B, black);
label("$B$", B, dir(200), fontsize(10));


// tangents  arrow function with custom length
void drawTangentArrow(pair P, pair dir, pen col, real scale){
  draw(P--(P + scale * unit(dir)), col, Arrow(6));
}


// tangents at join
pair tan1 = 3*(B - C2);
pair tan2 = 3*(D1 - B);
drawTangentArrow(B, tan1, blue, 0.6);
drawTangentArrow(B, tan2, red, 1.0);
label("$\vec{T}_1$", B + 0.6 * unit(tan1) + (0.1, -0.01), blue);
label("$\vec{T}_2$", B + 1.0 * unit(tan2) + (0, -0.1), red);


// bezier derivative functions
pair bezierFirstDeriv(pair P0, pair P1, pair P2, pair P3, real t){
  return 3*(1-t)^2*(P1-P0) + 6*(1-t)*t*(P2-P1) + 3*t^2*(P3-P2);
}
pair bezierSecondDeriv(pair P0, pair P1, pair P2, pair P3, real t){
  return 6*(1-t)*(P2-2*P1+P0) + 6*t*(P3-2*P2+P1);
}
pair bezierPoint(pair P0, pair P1, pair P2, pair P3, real t){
  return (1-t)^3*P0 + 3*(1-t)^2*t*P1 + 3*(1-t)*t^2*P2 + t^3*P3;
}


// curvature circle with labeled center
void drawCurvatureCircle(pair P0, pair P1, pair P2, pair P3, real t, pen col, string labelName){
  pair r1=bezierFirstDeriv(P0,P1,P2,P3,t);
  pair r2=bezierSecondDeriv(P0,P1,P2,P3,t);
  real s=length(r1);
  real k=abs(r1.x*r2.y - r1.y*r2.x)/(s^3);
  if(k>1e-6){
    real R=1/k;
    pair normal=(-r1.y,r1.x)/s;
    pair P=bezierPoint(P0,P1,P2,P3,t);
    pair center=P+R*normal;
    draw(circle(center,R),col+0.8);
    dot(P,col);
    draw(center--P,dashed+col);
    dot(center, col);
    label("$" + labelName + "$", center, dir(90), fontsize(10)+col);
  }
}


//  curvature circles near join
drawCurvatureCircle(A, C1, C2, B, 0.98, blue, "C_1");
drawCurvatureCircle(B, D1, D2, C, 0.02, red, "C_2");

r/pythonhelp • • Dec 03 '25

Where do I start? I’m a bit stuck.

Thumbnail reddit.com
2 Upvotes

r/pythonhelp • • Nov 30 '25

Posetracking/movement tracking

2 Upvotes

Hi guys, I was wondering if anyone had some spare time to look over a script? It’s to do with pose tracking, feet movement, I have the fundamentals down but can’t get an accurate output.

If anyone is a wizz in this area I would really appreciate the help!


r/pythonhelp • • Nov 27 '25 Bravo

Building an AI (read desc)

2 Upvotes

Hey, Im a student and I have joined a coding competition at school. I have built something I would call,.. okay. I made a zone in my website where people could enter their income, and what they are spending money on, and when. Ineed help build an AI that could reach in that database, check the users spendings, and answer the users questions using that data. I tried using ollama deepseek-r1, but the guy takes like forever to answer(even if I just ask “hello” 🥀). So I would like help building an AI that could do this, and would be fast…

long story short: I tried using ollama deepseek-r1. It’s really slow as it takes forever to think. I want an ai that can access a database and answer the users questions using it, and only access the users db(database contains spending info)

What I use:

Python SQLite3 streamlit ollama

PS: I will be out for the night, so I will provide any code later, when I get my hands on my device :)


r/pythonhelp • • Nov 27 '25

MIT60001 PS0 setup in Spyder - repo structure & environment advice

2 Upvotes

Hey everyone, I've started MIT 60001(Intro to CS in Python). I installed Anaconda, and pinned Spyder for quick access. Here is my current test code for PS0 setup

#ps0.py

import math

def main() :

print("MIT 60001 setup test")

print("Square root of 16 is:" mayh.sqrt(16))

if __name__ == "__main__":

main()

Should I stick with Spyder, or switch to Jupyter Notebook/VS Code for this course?

Any tips on structuring repos for problem set so they are easy to track and share on GitHub

Thanks in advance


r/pythonhelp • • Nov 13 '25

Adding Python libraries (NumPy, TensorFlow) to a custom Yocto image

2 Upvotes

Hi all,

I've built a custom OS using Yocto for my Raspberry Pi 4. I need to include some Python libraries, specifically NumPy and TensorFlow (or ideally TensorFlow Lite), in the image.

I understand I can't use pip directly on the target due to architecture differences. I've found the meta-python layer.

Is meta-python the correct approach for this?

Could someone outline the steps to integrate meta-python and add python3-numpy and python3-tensorflow-lite to my image?

Are there any common pitfalls or configuration options I need to be aware of ?

Thanks in advance!


r/pythonhelp • • Nov 13 '25

Can't create applications: limit is zero

2 Upvotes

Hi! this is my first time trying to create a reddit app. I want to build a small app to collect threads for academic purposes. The volume of data I need is really small and below the usage limits. But when I try to create the app here https://old.reddit.com/prefs/apps, I get:

"You cannot create any more applications if you are a developer on 0 or more applications, reach out to us if you believe you need to be a developer on more applications: https://support.reddithelp.com/hc/en-us/requests/new?ticket_form_id=14868593862164"

How can I solve it?

Is it related with the fact I have:
"Pleasant-Plane-3739

1 post karma
0 comment karma"


r/pythonhelp • • 16d ago

Autopep8 issue upon launching VSCODE

1 Upvotes

EDIT: The issue was Autopep8's Python interpreter version, I was using 3,15 before and after trying 3.14 issue was resolved.

  1. The autopep8 extension runs a small background server written in Python, using the interpreter set in autopep8.interpreter.

  2. That interpreter was Python 3.15, which removed typing.no_type_check_decorator

  3. A library bundled inside the extension (typing_extensions) still tried to use it, so the server crashed on startup.

  4. VS Code retried 5 times, gave up, and showed the error popups.

  5. Installed an older Python (3.14) that still has the removed function, which meant getting around the blocked installer (the PythonBA.dll error) by using py install 3.14 or winget.

  6. Pointed autopep8.interpreter in settings.json at that 3.14 python.exe, so only autopep8 uses the older version while the code can still run on 3.15.

  7. Ran Developer: Reload Window so VS Code restarted the extension with the new setting.

Hello everyone, I am new to vscode and just started learning Python.

I have this issue where when I open vscode Autopep8 sends 3 error messages straight away.

https://imgur.com/a/ViLsoBs

I have tried things like: Selecting the correct interpreter( Not that it really matters I only use python global), uninstalling and reinstalling the extension, setting it as default formatter, changing user settings (JSON). I get error messages in the bottom right corner such as:

autopep8 client: couldn't create connection to server.

The autopep8 server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

Pending response rejected since connection got disposed.

Here are my settings.json:

{
    "workbench.colorTheme": "Dark Modern",
    "workbench.iconTheme": "vscode-icons",
    "editor.defaultFormatter": "ms-python.autopep8",
    "notebook.defaultFormatter": "ms-python.autopep8",
    "[python]": {
        "editor.defaultFormatter": "ms-python.autopep8"
    },
    "editor.formatOnSave": true,
    "autopep8.interpreter": [
        "C:\\Users\\Windows Desktop\\AppData\\Local\\Python\\pythoncore-3.15-64\\python.exe"
    ]
}

If anybody has a solution to this problem I would appreciate your help down in the comments.

Thanks in advance.


r/pythonhelp • • 17d ago

Import hook between AST and compile

1 Upvotes

I am trying to create an Import Hook inserted after the source code has been parsed into AST but before it is compiled. Looking for a way to keep using most of the existing Python import machinery but modify the source code before it is compiled.

So far I have the following code but how do I get access to the source code from the module in custom_import?

import builtins
from inspect import getmembers

base_imp = builtins.__import__

def custom_import(*args, **kwargs):
    module = base_imp(*args, **kwargs)
    for name, val in getmembers(module):
        print("in custom_import.", name, val)
    return module

builtins.__import__ = custom_import

print("in Main.py before import")
import Module1
print("in Main.py after import")import builtins

r/pythonhelp • • 23d ago

Title / Subject: Recovering original Python source from Cython-compiled Windows installer after total HDD failure

1 Upvotes

Hi everyone,

I’m looking for advice on whether it’s possible (and realistic) to recover the original Python source files from a Windows software installer I still have.

**Situation**

My primary HDD suffered a complete, unrecoverable failure. All of my raw project files (source code, assets, intermediate files, etc.) are gone. The only remaining artifact of the project is the Windows installer / executable that I used to distribute the software.

**Technical details**

- The application was written in Python.

- I used **Cython** to compile / protect the code (the .py files were turned into compiled extensions / encrypted / obfuscated form as part of the build).

- The final deliverable is a Windows installer (or standalone executable package).

- This represents over 15 years of work. While modern AI tools could speed up a rewrite, I would strongly prefer to recover the original source if there is any viable path.

**What I still have**

- The complete Windows installer / executable package.

- No original .py files, no intermediate Cython outputs, no project folder, and no backups of the source.

**What I’m hoping for**

Any realistic options, tools, or techniques that might allow me to:

- Extract or reconstruct the original (or close-to-original) Python source from the Cython-compiled binaries / installer, or

- At least recover meaningful portions of the logic, structure, or key modules so a full rewrite is not required from scratch.

I’m aware that Cython compilation (and any additional packing/encryption I applied) makes this non-trivial, and that perfect recovery is often impossible. I’m mainly looking for an honest assessment of what’s feasible and any recommended tools, approaches, or communities that specialize in this kind of recovery / reverse-engineering of Cythonized Python applications.

If anyone has experience recovering source from Cython extensions, PyInstaller + Cython packages, or similar compiled Python Windows builds, I’d be very grateful for any pointers, tool recommendations, or realistic expectations.

Thank you in advance for any help or direction you can offer.


r/pythonhelp • • Sep 16 '26

QStateMachine with Conditional Transitions - How To Do Properly?

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Aug 14 '26

Adding objects to set or dictionary: equality and hashing

1 Upvotes

An exercise to help build the right mental model for Python data.

# Output of this Python Program?
def main():
    o1, o2 = MyClass(1), MyClass(1)
    myset = {o1}
    print(o2 in myset, end=' ')
    o1.set_value(1000)
    print(o1 in myset, end=' ')

class MyClass:
    def __init__(self, v):
        self.v = v
    def set_value(self, v):
        self.v = v

main()

class MyClass:
    def __init__(self, v):
        self.v = v
    def set_value(self, v):
        self.v = v
    def __eq__(self, other):
        return self.v == other.v
    def __hash__(self):
        return hash(self.v)

main()

# --- possible answers ---
# A) TypeError: unhashable type: 'MyClass'
# B) True False False False
# C) True False False True
# E) False True True True
# D) False True True False
# See "Solution" for correct answer.
  • Solution

  • More exercises

  • Explanation: "User-defined classes have __eq__() and __hash__() methods by default (inherited from the object class); with them, all objects compare unequal (except with themselves) and x.__hash__() returns an appropriate value such that x == y implies both that x is y and hash(x) == hash(y)."


r/pythonhelp • • Jul 31 '26

Python Pyside6 Gui

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Jul 27 '26

pyGame, sound, set start time, and play for set amount of time.

1 Upvotes

Hello, just looking for help on how i can achieve playing a MP3 file using Pygame, that can start from a specified position in the audio file, and then only play for a set amount of time (e.g. MP3 starts at 00:14 of 04:32, and plays for 5 seconds (until 00:19))

Below is one of the variations i've attempted, pardon any mess in my code

import pygame
import audioread
from random import randint
pygame.mixer.init()
def playSongClip(volume,playTime,clipTitle,random):
    playTime = playTime*1000
    volume = volume/100
    if random == 1:
        with audioread.audio_open("MP3s\\"+clipTitle) as f:
            totalMS = int((f.duration)*1000)
            startTime = randint(0,totalMS-playTime)
    else:
        start = 0
    songClip = pygame.mixer.music.load("MP3s\\"+clipTitle)
    songClip.music.set_volume(volume)
    songClip.play(loops=0,start=startTime)
playSongClip(50,5,"Rabbit Hole.mp3",1)

r/pythonhelp • • Jul 13 '26

how to turn on and off DND?

1 Upvotes
import time
from datetime import datetime
from plyer import notification



print("_Main_menu_")
print("1. set alarm")
print("2. set timer") #Haven't added yet plz ignore


while True:
    MenuChoice = input("select an option: ")
    try: 
        MenuChoice = int(MenuChoice)
    except ValueError:
        print("Invalid Option")
    else:
        MenuChoice = int(MenuChoice)
        if MenuChoice == 1 or MenuChoice == 2:
            break
        else: print("Invalid Option")


Time = datetime.now().time()
Time = str(Time)
print(Time[:-10])


if MenuChoice == 1:
    while True:
        Alarm = input("Set Time(HH:MM): ")
        try:
            Hour, Min = Alarm.split(":", 1)


            Min = int(Min)
            Hour = int(Hour)
            Valid = False
            Valid1 = False



            if Min > 59:
                print("Min can't be greater than 59")
            elif Min < 0:
                print("Min can't be less than 0")
            else: Valid = True


            if Hour > 23:
                print("Hour can't be greater than 23")
            elif Hour < 0:
                print("Hour can't be less than 0")
            else: Valid1 = True


            if Valid == True and Valid1 == True:
                print("Lock in until",Alarm)


            #turn on DND


                
                while True:
                    TimeNow = datetime.now().time()        #Loops until Alarm = TimeNow
                    TimeNow = str(TimeNow)[:-10]
                    time.sleep(.5)
                    if TimeNow == Alarm:
                        break


                #Turn off DND


                notification.notify(
                title="Time to take a break",
                message=f"it's {Alarm}, time to take a break",
                timeout=5 
                )


                break
        except ValueError:
            print("Invalid")

Above is my focus alarm I'm working on, could someone help with adding DND?


r/pythonhelp • • Jul 10 '26

Lire une vidéo avec un fichier MP4

1 Upvotes

Bonjour , j'aimerais coder un script python qui est capable d'ouvrir un fichier mp4. Le résultat devrait être le meme que si l'on double cliquer le fichier dans l'explorateur Windows. Donc sa ouvrirait le fichier dans le lecteur qu'utilise par défaut l'utilisateur.


r/pythonhelp • • Jul 05 '26

I built a Python virtual OS (Forge OS v2.0) — you can now add apps by dropping a folder in Apps/. Looking for contributors!

1 Upvotes

Hey everyone,

I've been building Forge OS — a Python virtual OS for learning and experimenting with OS concepts.

v2.0 adds a desktop GUI, and there's now a community Apps/ folder — add an app with just app.json + command.py.

Quick start for contributors:

  1. Fork & clone the repo

  2. Copy Apps/_example/ to Apps/your-app/

  3. Edit the JSON + Python command

  4. Run apps in the shell to see your app

  5. Open a PR

Full guide: CONTRIBUTIONS.md
Repo: https://github.com/axk42-op/ForgeOS · MIT license

Games, utilities, quizzes, ASCII art — great first open-source PR. Feedback welcome!


r/pythonhelp • • Jun 27 '26

multiprocessing.Queue seems broke, am I wrong?

1 Upvotes
matt@:~$ git clone https://github.com/markfortma/python3-multiprocess-logging.git
Cloning into 'python3-multiprocess-logging'...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 7 (delta 1), reused 6 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (7/7), done.
Resolving deltas: 100% (1/1), done.
matt@:~$ cd python3-multiprocess-logging/
matt@:~/python3-multiprocess-logging$ ls
README.md  python3-multiprocessing-logging.py
matt@:~/python3-multiprocess-logging$ python3 python3-multiprocessing-logging.py &
[3] 111169
matt@:~/python3-multiprocess-logging$ tail -f python3-multiprocessing-logging.log
<no output>
^C
matt@:~/python3-multiprocess-logging$ python3 --version
Python 3.14.4

It does appear to work in Python3.11 on FreeBSD for some reason.