On Feb 18, 10:15 pm, rdmur...@bitdance.com wrote:
Thomas Allen thomasmal...@gmail.com wrote:
On Feb 18, 4:51 am, alex23 wuwe...@gmail.com wrote:
On Feb 18, 7:34 pm, rdmur...@bitdance.com wrote:
Yeah, but wget -r -k will do that bit of it, too.
Wow, nice, I don't know why I never
alex23 wuwe...@gmail.com wrote:
On Feb 18, 11:36=A0am, Paul Rubin http://phr...@nospam.invalid wrote:
Thomas Allen thomasmal...@gmail.com writes:
attempting. Basically, I'm transforming a live site to a local one and
Something wrong with wget -R ?
Did you mean wget -r ?
That will
On Feb 18, 7:34 pm, rdmur...@bitdance.com wrote:
Yeah, but wget -r -k will do that bit of it, too.
Wow, nice, I don't know why I never noticed that. Cheers!
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 18, 4:51 am, alex23 wuwe...@gmail.com wrote:
On Feb 18, 7:34 pm, rdmur...@bitdance.com wrote:
Yeah, but wget -r -k will do that bit of it, too.
Wow, nice, I don't know why I never noticed that. Cheers!
Hm...doesn't do that over here. I thought it may have been because of
absolute
Thomas Allen thomasmal...@gmail.com wrote:
On Feb 18, 4:51 am, alex23 wuwe...@gmail.com wrote:
On Feb 18, 7:34 pm, rdmur...@bitdance.com wrote:
Yeah, but wget -r -k will do that bit of it, too.
Wow, nice, I don't know why I never noticed that. Cheers!
Hm...doesn't do that over here.
I must not be understanding something. This is a simple recursive
function that prints all HTML files in argv[1] as its scans the
directory's contents. Why do I get a RuntimeError for recursion depth
exceeded?
#!/usr/bin/env python
import os, sys
def main():
absToRel(sys.argv[1],
Thomas Allen schrieb:
I must not be understanding something. This is a simple recursive
function that prints all HTML files in argv[1] as its scans the
directory's contents. Why do I get a RuntimeError for recursion depth
exceeded?
#!/usr/bin/env python
import os, sys
def main():
Thomas Allen wrote:
I must not be understanding something. This is a simple recursive
function that prints all HTML files in argv[1] as its scans the
directory's contents. Why do I get a RuntimeError for recursion depth
exceeded?
def main():
absToRel(sys.argv[1], sys.argv[2])
def
On Feb 17, 4:46 pm, Thomas Allen thomasmal...@gmail.com wrote:
I must not be understanding something. This is a simple recursive
function that prints all HTML files in argv[1] as its scans the
directory's contents. Why do I get a RuntimeError for recursion depth
exceeded?
#!/usr/bin/env
Thomas Allen wrote:
I must not be understanding something. This is a simple recursive
function that prints all HTML files in argv[1] as its scans the
directory's contents. Why do I get a RuntimeError for recursion depth
exceeded?
#!/usr/bin/env python
import os, sys
def main():
On Feb 17, 5:31 pm, Peter Otten __pete...@web.de wrote:
Thomas Allen wrote:
I must not be understanding something. This is a simple recursive
function that prints all HTML files in argv[1] as its scans the
directory's contents. Why do I get a RuntimeError for recursion depth
exceeded?
Thomas Allen wrote:
On Feb 17, 5:31 pm, Peter Otten __pete...@web.de wrote:
Thomas Allen wrote:
I must not be understanding something. This is a simple recursive
function that prints all HTML files in argv[1] as its scans the
directory's contents. Why do I get a RuntimeError for recursion
On Feb 17, 6:05 pm, Peter Otten __pete...@web.de wrote:
Thomas Allen wrote:
On Feb 17, 5:31 pm, Peter Otten __pete...@web.de wrote:
Thomas Allen wrote:
I must not be understanding something. This is a simple recursive
function that prints all HTML files in argv[1] as its scans the
Thomas Allen wrote:
I must not be understanding something. This is a simple recursive
function that prints all HTML files in argv[1] as its scans the
directory's contents. Why do I get a RuntimeError for recursion depth
exceeded?
#!/usr/bin/env python
import os, sys
def main():
Thomas Allen wrote:
I'm referring to the same code, but with a print:
for file in os.listdir(dir):
if os.path.isdir(file):
print D, file
in place of the internal call to absToRel...and only one line prints
such a message. I mean, if I can't trust my OS or its Python
Thomas Allen thomasmal...@gmail.com writes:
attempting. Basically, I'm transforming a live site to a local one and
Something wrong with wget -R ?
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 17, 7:05 pm, Christian Heimes li...@cheimes.de wrote:
Thomas Allen wrote:
I'm referring to the same code, but with a print:
for file in os.listdir(dir):
if os.path.isdir(file):
print D, file
in place of the internal call to absToRel...and only one line prints
such
Thomas Allen wrote:
If you'd read the messages in this thread you'd understand why I'm not
using os.walk(): I'm not using it because I need my code to be aware
of the current recursion depth so that the correct number of ../ are
substituted in.
I'm well aware of your messages and your
On Feb 17, 9:08 pm, Christian Heimes li...@cheimes.de wrote:
Thomas Allen wrote:
If you'd read the messages in this thread you'd understand why I'm not
using os.walk(): I'm not using it because I need my code to be aware
of the current recursion depth so that the correct number of ../ are
On Feb 18, 11:36 am, Paul Rubin http://phr...@nospam.invalid wrote:
Thomas Allen thomasmal...@gmail.com writes:
attempting. Basically, I'm transforming a live site to a local one and
Something wrong with wget -R ?
Did you mean wget -r ?
That will just grab the entire site, though. I'm
20 matches
Mail list logo