Menu

#LearnPython

90 posts

Feed·
20 of 90 posts
0Read More

Just installed Python to run a script to extract a model. Can't seem to get it to work.

So I have a script that I want to run that I received from a guy whos helping me extract a not-so-easy-to-get model. I'm trying to follow his vague instructions on how to run the script but I've never used python before.…

15s
0Read More

How to collect the old input with the new input that i get from a list in a loop?

This is the cod menu = { "Baja Taco": 4.25, "Burrito": 7.50, "Bowl": 8.50, "Nachos": 11.00, "Quesadilla": 8.50, "Super Burrito": 8.50, "Super Quesadilla": 9.50, "Taco": 3.00, "Tortilla Salad": 8.00 } try: while True: item = input("Item: ") print…

15s
0Read More

Second-year BCA, trying to learn ML on the side — everyone says 'learn the math first' but also 'just build stuff'. Which order actually worked for you?

#learnpython#redditlearnpython#look#side#says

I'm in second year BCA and I've been trying to teach myself machine learning alongside college. Python I'm okay with, I can do the basics, pandas sort of, but ML feels like a different world. Everywhere I look there's two opposite camps.…

15s
0Read More

Title: Windows Smart App Control is blocking Pandas compiled extension files (.pyd) ?

I'm having a problem running Python libraries, particularly Pandas, on my Windows 11 machine. I've been troubleshooting this for a while, and it appears that Windows Smart App Control (SAC) is blocking some of Pandas' compiled extension files.…

15s
0Read More

Writing to a CSV file - fields in wrong order - help me understand why

I developed a process that writes data to a CSV file using csv.DictWriter. The consumer of this file requires that the fields are in a specific order. However, the fields were coming out in the wrong order (different than the order in the dictionary).…

15s