Hardware Reference
In-Depth Information
Type the preceding all on one line, and it will download a zip ile of the package's source code.
hen type
unzip folders2flickr-read-only
to unzip the source code iles. hen go back to the desktop and change the name of the
resulting directory to just folders2flickr . Now you have to edit a ile in this directory
called uploadr.ini so that it works the way you need it to. Double-click it to open up a text
editor and change the line
imagedir=d:\pictures
to read
imagedir=roto-sketch
his sets the directory that contains the iles to be uploaded to Flickr. hen edit the visibility
parameters to read
public = 1
friend = 0
family = 0
his is needed because only publicly visible iles are passed on to Facebook, never family or
friends. Save this ile in your sketch directory - not in the folders2flickr directory
where it came from. At this stage it is best if you authenticate the package with your Flickr
account, so make sure that you have a directory called roto-sketch in your sketch direc-
tory and that it contains a small image. Now make sure that you are connected to the
Internet, get a command line in the sketch directory and then run the package by typing
python folders2flickr/uploadr.py
It is important you do this and not get your command line in the folders2flickr direc-
tory because this package has a bit of an issue with where it puts things and doing it this way
will make it work when you get to running the inal program. However, this is where things
could get tricky because you will be asked if you have authenticated this program yet.
Whatever you do at this stage do not answer this question yet. What will happen is that a
browser window will pop up. I say “pop”, but this rather exaggerates the speed; it will rather
ooze up as opposed to pop. When I tried this, the browser Dillo popped up and then refused
to do anything. I had to arrange for the browser Midori to pop up instead by deleting the
Search WWH ::




Custom Search