Python Forum
Take one parameter which is an URL to a remote server - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Take one parameter which is an URL to a remote server (/thread-5664.html)



Take one parameter which is an URL to a remote server - ciaranacrowley - Oct-15-2017

Any ideas if possible to have a phyton program take one parameter which is an URL to a remote server. The program will download this gzipped CSV file.




For example the program would be run like: python test.py "https://server/test_data.csv.gz"

and i would download test_data.csv.gz from the remote server and process it.


RE: Take one parameter which is an URL to a remote server - buran - Oct-15-2017

yes, no problem. Of course depending on different factors it could be easy or more difficult to do it, but in general - it's not a problem