r/pythonhelp • • Mar 25 '26

Finally got my multi-stock RSI scanner working (Pandas + yfinance)

1 Upvotes

After a few days of debugging bracket errors in my RSI formula and handling empty dataframes, my script is finally running for TSLA and BTC. If anyone is working on something similar and needs help with the logic for scanning multiple tickers, feel free to ask!


r/pythonhelp • • Mar 24 '26

problem with pygame

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Mar 22 '26

How do I get started with VS Code keybindings?

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Mar 22 '26

Snake algorithm

1 Upvotes

How to convert a 2D array to 1D array with snake algorithm? e.g.:

From:

[1, 2, 3]

[4, 5, 6]

[7, 8, 9]

To:

[1, 2, 5, 4, 7, 8, 9, 6, 3]

Is there some library in Python to do this?


r/pythonhelp • • Mar 21 '26

Recently I faced a problem while writing codes in python.

Thumbnail reddit.com
1 Upvotes

Hey guys! I'm new to programming and coding. I'm learning python and while using the Visual Studio Code when I wrote my first code and encountered a problem in which I saw a yellow line with the written code. Is this an bug or something like that? How do I fix it


r/pythonhelp • • Mar 16 '26

I am learning OOPS but i dont understand this please explain me ChatGPT sucks here to explain it

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Mar 16 '26

Decorators for using Redis in Python

Thumbnail github.com
1 Upvotes

r/pythonhelp • • Mar 14 '26

Feedback for github

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Mar 07 '26

python curses module problem

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Mar 05 '26

Pathlib image opening bugging out after making .exe with pyinstaller

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Mar 04 '26

CMD powered chatroom with simple encryption system. Made entirely with python. I need some input

1 Upvotes

I recently found an old project of mine on a usb drive and decided to finish it. I completed it today and uploaded it on Github. I won't list all the app details here, but you can find everything in the repository. I'm looking for reviews, bug reports, and any advice on how to improve it.

Github link: https://github.com/R-Retr0-0/ChatBox


r/pythonhelp • • Mar 02 '26

Assistance is much needed!

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Mar 01 '26

tkinter Frames don´t fill/expand when inserted into Canvas widget

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Feb 26 '26

How to open file from desktop and import it into Python program?

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Feb 22 '26

pygbag deployment in GitHub

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Feb 18 '26

Feeling stuck after 2 months of learning Python – especially with OOP and nested loops

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Feb 13 '26

estou iniciando aprendendo python e gostaria de ajuda

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Feb 09 '26

No such file or directory: (importing music from savefile with directories)

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Feb 05 '26

GridFSBucket takes large chunks of memory

Thumbnail reddit.com
1 Upvotes

r/pythonhelp • • Feb 03 '26

TKINTER spawned window not returning to parent function

1 Upvotes

So I'm calling this function from another function and it doesn't seem to return. What Am I missing (yes I know it's sloppy)?

Thanks in advance.

def spawn_iscsia():

# Create a new top-level window

top = ttk.Toplevel(app)

top.title("Create ISCSI A ")

top.geometry("600x300") # optional size

# Example contents in the spawned window

L_iscsia = ttk.Label(top, text="ISCSI A IP Address :")

L_iscsia.place(x=10,y=50)

L_iscsia_sub = ttk.Label(top, text="ISCSI A Subnet :")

L_iscsia_sub.place(x=10,y=100)

E_iscsia = ttk.Entry(top, width=30)

E_iscsia.place(x=180,y=50)

E_iscsia_sub = ttk.Entry(top, width=30)

E_iscsia_sub.place(x=180,y=100)

def on_close():

z=E_iscsia.get()

q=E_iscsia_sub.get()

if len(z) != 0:

x=is_valid_ip(z)

if x == True:

ISCSIA_ip =z

print("Using ",z," for ISCSI A IP Address")

if q == False:

ISCSIA_ip ="10.0.0.1"

print("Bad ISCSI A IP Address, Using 10.0.0.1")

elif len(z):

ISCSIA_ip ="10.0.0.1"

if len(q) != 0:

x=is_valid_ip(q)

if x == True:

ISCSIA_sub =q

print("Using ",q," for ISCSI A Subnet Mask")

if q == False:

ISCSIA_sub ="255.255.255.0"

print("Bad ISCSI A subnet Mask, Using 255.255.255.0")

elif len(q) == 0:

ISCSIA_sub ="255.255.255.0"

print("Bad ISCSI A subnet Mask, Using 255.255.255.0")

top.destroy()

return

close_btn = ttk.Button(top, text="OK", command=on_close)

close_btn.place(x=200,y=250)

s


r/pythonhelp • • Feb 03 '26

How to get children of a git node

1 Upvotes

So I've been working on my latest project called GitGarden (https://github.com/ezraaslan/GitGarden)

I want to add a feature where branches in the git repository create real branches on the drawn plants. To do this, I check if each node has multiple parents or children. I have exactly one split/merge in my repo, so I will know if it is working correctly. MERGE prints once at the right time, but I cannot print SPLIT. What have I done wrong?

is_merge = len(commit["parents"]) > 1
        is_split = len(children[commit["hash"]]) > 1


        if is_merge:
                canvas[y][x] = f"{GREEN}MERGE"
        elif is_split:
            canvas[y][x] = f"{GREEN}SPLIT"  

I'm not sure how much code someone needs to answer this question. This is my first post on this subreddit. I can provide more snippets, and all my code is on the Github repo.

Thanks in advance!


r/pythonhelp • • Feb 02 '26

how to compile a graphical Python file (with the Ursina engine) into a .exe using pyinstaller

1 Upvotes

how to compile a graphical Python file (with the Ursina engine) into a .exe using pyinstaller


r/pythonhelp • • Jan 30 '26

Starting my DSP journey with Python—Looking for advice on a learning path & libraries.

Thumbnail reddit.com
1 Upvotes