On Thursday, December 12, 2013 5:20:59 PM UTC-5, Chris Angelico wrote:
> import urllib
>
> import csv
>
>
>
> # You actually could get away with not using a with
>
> # block here, but may as well keep it for best practice
>
> with open('clients.csv') as f:
>
> for client in csv.reader(f
I have a CSV file containing a bunch of URLs I have to download a file from for
clients (Column 7) and the clients names (Column 0) I tried making a script to
go down the .csv file and just download each file from column 7, and save the
file as [clientname].csv
I am relatively new to python, so
I have direct links to a number of csv files to download. Copying and pasting
it to my browser would take too long, how would i go to this site for example
and get the file? Right when you go to the site the download should start
www.example.com/files/document.csv
--
https://mail.python.org/mai
On Wednesday, November 13, 2013 11:32:24 AM UTC-5, Mark Lawrence wrote:
> On 13/11/2013 16:12, Matt Graves wrote:
>
> > I'm using the jabberbot library and there is not a whole lot of
> > documentation on it. Does anyone have experience with this library?
>
> >
I'm using the jabberbot library and there is not a whole lot of documentation
on it. Does anyone have experience with this library?
This is basically the only example given:
-
from jabberbot import JabberBot, botcmd
import datetime
class SystemInfoJabberBot(JabberBot):
I am going to be creating a python script that will make filling in information
at my job easier.
I have all of the information I need... I guess I just need to see it in
practice to fully grasp it.
How would I submit a python HTTP POST request to... for example, go to
google.com, enter "Pie"
I receive this error while toying around with Functions...
def pulldata(speclist,speccolumn):
with open('profiles.csv', 'r') as f:
reader = csv.reader(f)
for column in reader:
(speclist).append(column[('speccolumn')])
pulldata(speclist = 'numbers',