Is there a way I can make a terminal command in Python? I just want to have a script that grabs a url from a site and echos it, but I can't find a way to do it.
Just write a fucking bash script.
>beautifulsoup
>sys
>requests
That's all you literally need if you really know what you're doing.
>>54922749
>"but I can't find a way to do it"
You didn't search. See : subprocess, os.system()
First you should learn how to use a computer
#!/usr/bin/env/python3
At the top of the file and chmod +x it. Stick it somewhere in your path (I'd suggest ~/bin/ or ~/.bin/) and run it like any other program on the command line.
Also why not >>54922785