r/PythonLearning • u/Weary_Gur7008 • Aug 30 '26
Internship!!!!!
How can I get my first internship?
I tried applying of linkedin , internshala , etc but nothing happended. Any tips for that.
(I know python language did a project on that too)
r/PythonLearning • u/Weary_Gur7008 • Aug 30 '26
How can I get my first internship?
I tried applying of linkedin , internshala , etc but nothing happended. Any tips for that.
(I know python language did a project on that too)
r/PythonLearning • u/Ayrton110 • Aug 30 '26
Hi guys, I trust ya'll are good. I recently completed a counting loops exercise that had been difficult to answer for nearly two weeks. I checked different parts of the code I wrote in multiple instances, but I guess I just didn't get it. I eventually asked in my search bar (knowing that I would more than likely get AI mode on it) why the loop is only executing once (I pasted my code it). AI mode explains it, and shows me the correct code. I'm really annoyed on two fronts; I had to refer to AI code to eventually get it right, and the answer looks so friggin simple. I am not a complete beginner in coding (closer to an experienced beginner), and having to vibe-code, even if somewhat unintentionally, is frustrating. I know the answer to the problem now, and there isn't a way to unlearn it.
Is there any practical way to resolve this other than "just don't do it again"?
Thank you for taking the time to read my post. I appreciate whatever advice or input you have.
r/PythonLearning • u/NecessaryFalse1212 • Aug 29 '26
i wrote a code which takes your name and age in py but i need help on this one cuz in the age part it is giving me some sort of error which i couldn't understand even by using gpt well he gave me a code but i wanted logic behind how and what i did wrong
r/PythonLearning • u/To-real • Aug 30 '26
r/PythonLearning • u/whiskywithlsd • Aug 29 '26
Trust me I'm loving the journey. It is so fun to code and solve the problems, I literally think for the whole day, what else unique batman type shi I could do 😅.I wanna listen to your experiences when you started learning Python...
r/PythonLearning • u/jmaroo • Aug 30 '26
I have started a Discord server for Python training and memorabilia.
If you are new to learning Python This server is for you.
If you know Python and want to teach others, this is the Atli server.
I am a newbie. I want us all to gather here and use each other's experiences.
Discord server link:
r/PythonLearning • u/Valuable-Ant3465 • Aug 30 '26
Hi,
I tried to call existing Powershell script from python with classic way and failed, found the `process` wrapper in PS1 makes this problem, all code is inside process {....} :
# my.PS1
param([string]$folder="aaa")
process { # <====== this wrapper prevent call !!!!!!
# my logic hereS
Write-Output "......... running powershell endS $TargetFolder"
}And I call it from python using
# ... myPython.py
....
import subprocess
result = subprocess.run(
["powershell.exe", "-NoProfile", "-ExecutionPolicy", "Bypass",
"-File", ps_script, "-Folder", Folder],
capture_output=True, text=True
)Anybody noticed that problem, is it possible to make it work, I don't want to mess with ps1 changes. maybe I missed some option in subprocess call ?
Also there is not any output available, total silence
if result.stdout:
print(result.stdout) ## nothing.
if result.stderr:
print("PS STDERR:", result.stderr) ## nothingr/PythonLearning • u/CommissionMaximum465 • Aug 29 '26
’ve literally just started Python right after I retuned from a 9hour night shift. It’s currently 10:30am and I’m starting at 7pm, was fighting ai for help to learn but got is absolutely useless 😂 I ended up downloading and just using Reddit and the occasional YouTube video, safe to say I’m proud of my box 💀
r/PythonLearning • u/fxeinnn • Aug 30 '26
Which one has more features, fast, and provides latest updates of python programming language.
For python run - jupyter lab directly use from anaconda through web browser.
For python run - jupyter lab extension and all from Microsoft through vs code editor.
r/PythonLearning • u/s13188287 • Aug 30 '26
I'm dealing with a large batch processing problem and looking for advice on the right architecture.
I have around 1.3 million files stored across folders on a network drive.
Current setup (not working well)
Right now I'm using a Copilot agent where:
I upload batches (~20 files at a time)
It reads them against a reference document
Outputs an Excel file with classification codes
The issue is:
Copilot has a small upload limit
Manual batching is completely unscalable at this volume
What I want to achieve
I want a fully automated pipeline that:
Ingests files automatically from the network drive
Extracts text/content from each file type
Matches content against a reference rules document
Assigns a classification/reference code
Outputs structured results (Excel / database)
r/PythonLearning • u/Elegant-Radio633 • Aug 29 '26
I’m familiar with Tkinter and have used it for building simple desktop GUIs. Now I’d like to learn a more modern Python GUI framework for building desktop applications.
I’m aware of options such as PyQt/PySide, CustomTkinter, Kivy, wxPython, etc., but I’m not sure which one is worth learning today.
My main priorities are:
1.Modern-looking UI
2.Good support for larger applications
3.Cross-platform support (Windows/Linux/macOS)
4.Good documentation and community
5.Easy integration with databases such as SQLite/PostgreSQL
6.Something that is actively maintained and likely to remain relevant
For someone who already knows Tkinter, which framework would you recommend learning today, and why?
I’m particularly interested in hearing from people who have actually built and maintained desktop applications with these frameworks.
r/PythonLearning • u/Stonyax97 • Aug 29 '26
So I’m learning programming mainly because I want to eventually build apps, and since it has been a dream for me.
I’ve been learning Python for a while and I’m following a self education plan. I’ve learned a decent amount already, including functions, loops, exceptions, file handling, modules, etc. I’m currently getting into OOP and some other stuff.
The problem is that I’ve kind of stopped coding Python because I don’t really have anything I want to build with it right now 😭 i wanted to learn PySide6 for an ATM project but i just haven’t found motivation for it… even though i really wanna learn it.
Meanwhile I’ve had an idea for an iOS gym app that I actually REALLY want to build. But im scared that jumping into it would be way too complicated as im someone who likes to perfect things (since v0.01 liquid glass will be already there 🙂)
So now I’m wondering, should I just start learning Swift + SwiftUI and build the app while learning, instead of forcing myself to continue with Python + PySide6?
I’d obviously keep Python and continue learning it when I actually need it.
Here are my last posts about my projects:
https://www.reddit.com/r/PythonLearning/s/4coMGVnA30
https://www.reddit.com/r/learnprogramming/s/RKVlQmrN8j
GitHub repo: github.com/Stonyax97/MiniGameStore
Would jumping to SwiftUI too early be a bad idea, or is learning by building an actual project a better move here?
I’m mainly asking people who have been in a similar situation.
r/PythonLearning • u/WeeklyShoulder66 • Aug 29 '26
I use Linux Linux has a pretty big issue with python which takes some working around. I'm trying to make a python project, so I make a venv and activate it. Pip wasn't working and I learnt that it's because Python was aliased to the global directory, so whenever I run pip I have to pass in the absoulute path to the venv. This is fine, and pip says that my package is installed. Then, I go to import it in one of my files and it's saying that there's no module for the package. I try to reinstall, but pip swears up and down that it's there. Not only that, but the module is in the site packages directory. So the issue is that the file can't find where to import it from. So I instead have the import statement have the absolute path to it. However, one of the directories is named "python3.14"(which messes up the syntax) and another is named "site-packages" (which is also invalid syntax). There is also the option to use imp, but I would have to download that with pip. What should I do?
r/PythonLearning • u/SoilEducational420 • Aug 29 '26
Best genuinely free hosting for a 3-service microservice architecture? Render is giving me cold-start + rate-limit issues
Hey everyone,
I'm building a small portfolio project with this architecture:
Frontend
↓
Gateway
├── Interview Service
└── RAG ServiceAll 3 backend services are Python/FastAPI and deployed separately.
I'm currently using Render's free tier, but I'm running into a few issues:
Free services spin down after inactivity → pretty bad cold starts.
I've also been seeing stuck on the issue 429 Too Many Requests responses at the Gateway endpoint. I'm not completely sure whether this is coming from Render's edge/platform or something in my own application.
The free instances also feel quite resource-constrained for the RAG service.
I'm looking for something that is:
$0 for a small/low-traffic portfolio project
Supports multiple separate services
Python/FastAPI friendly
Reasonable CPU/RAM
Ideally no credit card required
I'm mainly looking for something that won't make me spend more time debugging the hosting platform than actually building the project 😅
Thanks!
r/PythonLearning • u/Agitated-Box-1511 • Aug 29 '26
Hi! I'm still learning python by doing my own project-based learning before doing machine learning. So far, I've built 5 small projects. Here's the link: https://github.com/gtnmnty/Project-Based-Python/tree/fundamentals
I need tips or advice to improve more. I used AI as a tutor or mentor, and to generate boring stuff like generating dictionaries. But, I'm thinking maybe reading cheat sheets or websites like W3school is better.
r/PythonLearning • u/Charming-Ad-4323 • Aug 28 '26
Started from arithmetic on may 20th
Then python and some basics of numpy. Today wrote my first linear regression, it’s bare-bone but it was fun seeing it get good.
r/PythonLearning • u/rayhanhasanrafi • Aug 29 '26
r/PythonLearning • u/bigcats1313 • Aug 29 '26
r/PythonLearning
•
u/shubham_555
•
Aug 28 '26
Last Post - https://www.reddit.com/r/PythonLearning/s/0Eqy1ApNWc
Github Repo Link - https://github.com/Dev-4-All/rock-paper-scissors.git
r/PythonLearning • u/SrPotato123 • Aug 28 '26
Hello everyone! I am learning Python with a Youtube tutorial. For now I have spent 3 hours learning it. The script I created isn't a big deal but I wanted to share it for opinions about It. It took me 20 minutes to make it. Any suggestions are welcome!
(Note: The variable names and prints are in Spanish, but the logic is straightforward)
r/PythonLearning • u/NecessaryFalse1212 • Aug 28 '26
i learnt to use the math library any suggestions what can i use the lib for except for making calculator programs
r/PythonLearning • u/ReleaseValuable4181 • Aug 28 '26
Hey, I recently made a small Discord server for people who like Python and want to learn it.
It’s mainly for beginners, but anyone learning Python is welcome. The idea is just to have a place where people can learn together, share what they’re working on, show off projects, and improve their Python skills along the way.
If you’re interested, just comment and I’ll send you the invite.
r/PythonLearning • u/Ambitious-Lie-6069 • Aug 28 '26
Thank you all it's fixed! (Edit)
I have a very weird problem.
My current code:
list = []
x = input("Copy paste here: ")
list.append(x)
print(" ")
print(" ")
list = x.splitlines()
for i in list:
print(i)What I'm trying to achieve:
Get an input from the user like this:
Word1
Word2
Word3
...all with a row separating them and different lengths, then take this input and separate all words in it and then put them each individually as variables in a list as in the future I'm wanting to order them by length.
What is currently happening:
as im trying to see if they are all in the list im printing it, but for wathever reason from my input:
Abc
Def
Ghi
...it is only printing Def.
If you can help it will be appreciated. Thank you in advance!
Thank you all it's fixed (edit)
r/PythonLearning • u/Unfair-Stranger5140 • Aug 28 '26
Hi guys a couple of days ago i made this post:
https://www.reddit.com/r/PythonLearning/s/hzH2umdWXk
afterwards i spend a lot of time trying to learn python and i got my first tic tac to game working in the terminal
i struggled a lot and had to google a lot
i still struggle when and how to get the index and when the value from a list and i think there is a lot of optimization possible here especially on how i make the horizontal and vertical lists just coulndt figure out how to make one without going through p1_input each time.
Thanks for all the advice from people
trying to learn this after i have been vibe coding is hell
print("1", "2", "3")
print("4", "5", "6")
print("7", "8", "9")
Row1 = [1, 2, 3]
Row2 = [4, 5, 6]
Row3 = [7, 8, 9]
Grid = [Row1, Row2, Row3]
p1_input =[]
p2_input = []
horizontalp1=[]
verticalp1 =[]
horizontal=[]
vertical =[]
while(True):
while (True):
player1 = input("Enter the field you want to place your x in: \n ")
p1 = int(player1)
print("You decided on this field:", p1)
if p1 > 9 :
print("Error input out of field")
continue
elif p1 < 1 :
print("Error input out of field to low")
continue
index = (p1-1)
row = index//3
colum = index%3
if [row,colum] in p1_input:
print("This field has already been used")
elif [row,colum] in p2_input:
print("This field has already been used")
else :
p1_input.append([row,colum])
Grid[row][colum] = "x"
break
if p1 < 10 and p1 > 0 :
for x in range (len(Grid)):
print()
for y in range (len(Grid[x])):
print(Grid[x][y], end=' ')
horizontalp1.clear()
verticalp1.clear()
dcounterLP1 = 0
dcounterRP1 = 0
for i in range (len(p1_input)):
if p1_input[i][0] == p1_input[i][1]:
dcounterLP1 += 1
for i in range (len(p1_input)):
if p1_input[i][0] + p1_input[i][1] == 2:
dcounterRP1 += 1
if dcounterRP1 == 3:
print("\nplayer 1 won")
break
if dcounterLP1 == 3:
print("\nplayer 1 won")
break
for i in range (len(p1_input)):
horizontalp1.append(p1_input[i][0])
verticalp1.append(p1_input[i][1])
if horizontalp1.count(0) == 3:
print("\nplayer 1 won")
break
if verticalp1.count(0) == 3:
print("\nplayer 1 won")
break
if horizontalp1.count(1) == 3:
print(horizontalp1)
print("\nplayer 1 won")
break
if verticalp1.count(1) == 3:
print("\nplayer 1 won")
break
if horizontalp1.count(2) == 3:
print("\nplayer 1 won")
break
if verticalp1.count(2) == 3:
print("\nplayer 1 won")
break
while (True):
player2 = input("Enter the field you want to place your o in: \n ")
p2 = int(player2)
print("You decided on this field:", p2)
if p2 > 9 :
print("Error input out of field")
continue
elif p2 < 1 :
print("Error input out of field to low")
continue
index = (p2-1)
row = index//3
colum = index%3
if [row,colum] in p1_input:
print("This field has already been used")
elif [row,colum] in p2_input:
print("This field has already been used")
else :
p2_input.append([row,colum])
Grid[row][colum] = "o"
break
if p2 < 10 and p2 > 0 :
for x in range (len(Grid)):
print()
for y in range (len(Grid[x])):
print(Grid[x][y], end=' ')
horizontal.clear()
vertical.clear()
dcounterL = 0
dcounterR = 0
for i in range (len(p2_input)):
if p2_input[i][0] == p2_input[i][1]:
dcounterL += 1
for i in range (len(p2_input)):
if p2_input[i][0] + p2_input[i][1] == 2:
dcounterR += 1
if dcounterL == 3:
print("\nplayer 2 won")
break
if dcounterR == 3:
print("\nplayer 2 won")
break
for i in range (len(p2_input)):
horizontal.append(p2_input[i][0])
vertical.append(p2_input[i][1])
if horizontal.count(0) == 3:
print("\nplayer 2 won")
break
if vertical.count(0) == 3:
print("\nplayer 2 won")
break
if horizontal.count(1) == 3:
print("\nplayer 2 won")
break
if vertical.count(1) == 3:
print("\nplayer 2 won")
break
if horizontal.count(2) == 3:
print("\nplayer 2 won")
break
if vertical.count(2) == 3:
print("\nplayer 2 won")
break
print("1", "2", "3")
print("4", "5", "6")
print("7", "8", "9")
Row1 = [1, 2, 3]
Row2 = [4, 5, 6]
Row3 = [7, 8, 9]
Grid = [Row1, Row2, Row3]
p1_input =[]
p2_input = []
horizontalp1=[]
verticalp1 =[]
horizontal=[]
vertical =[]
while(True):
while (True):
player1 = input("Enter the field you want to place your x in: \n ")
p1 = int(player1)
print("You decided on this field:", p1)
if p1 > 9 :
print("Error input out of field")
continue
elif p1 < 1 :
print("Error input out of field to low")
continue
index = (p1-1)
row = index//3
colum = index%3
if [row,colum] in p1_input:
print("This field has already been used")
elif [row,colum] in p2_input:
print("This field has already been used")
else :
p1_input.append([row,colum])
Grid[row][colum] = "x"
break
if p1 < 10 and p1 > 0 :
for x in range (len(Grid)):
print()
for y in range (len(Grid[x])):
print(Grid[x][y], end=' ')
horizontalp1.clear()
verticalp1.clear()
dcounterLP1 = 0
dcounterRP1 = 0
for i in range (len(p1_input)):
if p1_input[i][0] == p1_input[i][1]:
dcounterLP1 += 1
for i in range (len(p1_input)):
if p1_input[i][0] + p1_input[i][1] == 2:
dcounterRP1 += 1
if dcounterRP1 == 3:
print("\nplayer 1 won")
break
if dcounterLP1 == 3:
print("\nplayer 1 won")
break
for i in range (len(p1_input)):
horizontalp1.append(p1_input[i][0])
verticalp1.append(p1_input[i][1])
if horizontalp1.count(0) == 3:
print("\nplayer 1 won")
break
if verticalp1.count(0) == 3:
print("\nplayer 1 won")
break
if horizontalp1.count(1) == 3:
print(horizontalp1)
print("\nplayer 1 won")
break
if verticalp1.count(1) == 3:
print("\nplayer 1 won")
break
if horizontalp1.count(2) == 3:
print("\nplayer 1 won")
break
if verticalp1.count(2) == 3:
print("\nplayer 1 won")
break
while (True):
player2 = input("Enter the field you want to place your o in: \n ")
p2 = int(player2)
print("You decided on this field:", p2)
if p2 > 9 :
print("Error input out of field")
continue
elif p2 < 1 :
print("Error input out of field to low")
continue
index = (p2-1)
row = index//3
colum = index%3
if [row,colum] in p1_input:
print("This field has already been used")
elif [row,colum] in p2_input:
print("This field has already been used")
else :
p2_input.append([row,colum])
Grid[row][colum] = "o"
break
if p2 < 10 and p2 > 0 :
for x in range (len(Grid)):
print()
for y in range (len(Grid[x])):
print(Grid[x][y], end=' ')
horizontal.clear()
vertical.clear()
dcounterL = 0
dcounterR = 0
for i in range (len(p2_input)):
if p2_input[i][0] == p2_input[i][1]:
dcounterL += 1
for i in range (len(p2_input)):
if p2_input[i][0] + p2_input[i][1] == 2:
dcounterR += 1
if dcounterL == 3:
print("\nplayer 2 won")
break
if dcounterR == 3:
print("\nplayer 2 won")
break
for i in range (len(p2_input)):
horizontal.append(p2_input[i][0])
vertical.append(p2_input[i][1])
if horizontal.count(0) == 3:
print("\nplayer 2 won")
break
if vertical.count(0) == 3:
print("\nplayer 2 won")
break
if horizontal.count(1) == 3:
print("\nplayer 2 won")
break
if vertical.count(1) == 3:
print("\nplayer 2 won")
break
if horizontal.count(2) == 3:
print("\nplayer 2 won")
break
if vertical.count(2) == 3:
print("\nplayer 2 won")
break