Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
can I import local data?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kat  
View profile  
 More options May 10 2012, 1:03 pm
From: Kat <kvasil...@gmail.com>
Date: Thu, 10 May 2012 10:03:47 -0700 (PDT)
Local: Thurs, May 10 2012 1:03 pm
Subject: can I import local data?
HI,
Maybe this is super ignorant, but can I import local data from my
computer in scraperwiki?

I"m trying:

import scraperwiki
import csv
import os

os.chdir('/Users/myname/Documents/folder/groupon')
data=csv.reader(open('/Users/myname/Documents/folder/divisions.csv',
'r'))
scraperwiki.sqlite.save(unique_keys=["a"], data=data))

But it can't find my local folders.

Thanks,
Kat


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeremy Sher  
View profile  
 More options May 10 2012, 1:12 pm
From: Jeremy Sher <overlappingel...@gmail.com>
Date: Thu, 10 May 2012 10:12:08 -0700
Local: Thurs, May 10 2012 1:12 pm
Subject: Re: [scraperwiki] can I import local data?

Can you upload that to a web server somewhere? I think that would be your
best option.

--
Jeremy Sher
(971) 322-9312

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Páll Hilmarsson  
View profile  
 More options May 10 2012, 1:37 pm
From: Páll Hilmarsson <pal...@kaninka.net>
Date: Thu, 10 May 2012 17:37:14 +0000
Local: Thurs, May 10 2012 1:37 pm
Subject: Re: [scraperwiki] can I import local data?
Scraperwiki will not have access to your local files, unless you run a
webserver on your computer.

This isn´t actually that hard to do with programs like PageKite
(http://pagekite.net/) that allow you to have a (temporary if you
like) webserver on your computer that servers files, without worrying
about domain names, routers, ports or DNS.

Even easier would be to put your csv files in a public dropbox
(www.dropbox.com) folder. Files in the public dropbox folder have a
url that you can use to access it. Here is a tutorial on that:
https://www.dropbox.com/help/16

pallih

--
pal...@kaninka.net
http://gogn.in
http://twitter.com/pallih
http://is.linkedin.com/in/pallih

My email load: http://courteous.ly/KbEbzo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »