Re: Scrapy - importing files from local, rather than www

2012-05-14 Thread leomcallister
You can try running Python's web server on the folder (python -m SimpleHTTPServer) and point Scrapy to it. On Monday, May 7, 2012 4:57:22 AM UTC-3, nbw wrote: > Hi everyone, I'm new to Python (loving it!) and Scrapy. I have a > question I just can't seem to get my head around. I can get a simple

Scrapy - importing files from local, rather than www

2012-05-07 Thread nbw
Hi everyone, I'm new to Python (loving it!) and Scrapy. I have a question I just can't seem to get my head around. I can get a simple Scrapy spider to pick up URLs and download them fine, but the HTML files I have are stored locally. The reason for this, is for some reason when I "Save As" the page

Importing Files

2006-03-03 Thread anushya beauty
Hi,    I am very sorry for confusing you with the file names. Now i want to say you one more thing and i change my ex filenames to the exact filenames. The below is  what i explained in my previous mail: **  My files are: 1. D:\TestDir\module\config.py 2. D:\TestDir\scripts\http

Re: Importing Files

2006-03-02 Thread Terry Hancock
On Thu, 2 Mar 2006 21:40:44 -0800 (PST) anushya beauty <[EMAIL PROTECTED]> wrote: > I am new to this python. I have installed python 2.4 > in my windows xp system. > > My issue is: > i have three directories with some files. > ex: Dir ---> Dir1 / file1.1.py > " ---

Importing Files

2006-03-02 Thread anushya beauty
Hi,    I am new to this python. I have installed python 2.4 in my windows xp system. My issue is: i have three directories with some files. ex: Dir ---> Dir1 / file1.1.py    "   ---> Dir2 / file2.1.py    "   ---> Dir3 / file3.1.py These are the example directories i have. (Und

Re: importing files from a directory

2005-07-11 Thread spike grobstein
my reason for loading both the .py and .pyc files was just in case compiled files were supplied as modules... but I'm gonna disallow that, so yeah. I also got a response in email and I've been dabbling with my code since I posted this and found a slightly better way of handling this plugin system.

Re: importing files from a directory

2005-07-11 Thread Thomas Guettler
Am Sat, 09 Jul 2005 20:30:04 -0700 schrieb spike grobstein: > I'm a total Python newbie, so bear with me here... > > I'm writing a program that has a user-configurable, module-based > architecture. it's got a directory where modules are stored (.py files) > which subclass one of several master cl

importing files from a directory

2005-07-09 Thread spike grobstein
I'm a total Python newbie, so bear with me here... I'm writing a program that has a user-configurable, module-based architecture. it's got a directory where modules are stored (.py files) which subclass one of several master classes. My plan is to have the program go into the folder called "Modul