slow code in Python

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Edgar458g
    New Member
    • Dec 2025
    • 2

    slow code in Python

    Hi everyone.
    I’m new to Python and ran into a small problem.
    I wrote a script that works fine with small files, but when the file gets bigger, everything becomes very slow. No errors, just takes a long time to finish.
    Is this usually about loops or reading the file line by line?
    What is the first thing I should check to make it faster?

    Thanks in advance.
Working...