I am running a python script on my raspberry pi and I was just wondering if there is any command that I can use that counts how many lines are in my script.
Regards
You can use the wc command:
wc
wc -l yourScript.py