Awesome! That worked!
Much thanks to Peter and all of you who took the time to answer my
question.
R.D.
--
http://mail.python.org/mailman/listinfo/python-list
DataSmash wrote:
> I am using bash shell on windows and I'm getting the error:
> TypeError: loop over non-sequence
Use open(filename).readlines() instead of open(filename) or switch to a
current Python version.
> OR...if python can't handle this type of text file,
> what do I need to do to remov
OR...if python can't handle this type of text file,
what do I need to do to remove the "\n" from the file?
--
http://mail.python.org/mailman/listinfo/python-list
I am using bash shell on windows and I'm getting the error:
TypeError: loop over non-sequence
Is there any way around not messing with the text file.
I want to batch generate the text lists as well.
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
Jeremy Jones wrote:
> DataSmash wrote:
>
> >Hello,
> >I think I've tried everything now and can't figure out how to do it.
> >I want to read in a text list from the current directory,
> >and for each line in the list, make a system directory for that name.
> >
> >My text file would look something
DataSmash wrote:
>Hello,
>I think I've tried everything now and can't figure out how to do it.
>I want to read in a text list from the current directory,
>and for each line in the list, make a system directory for that name.
>
>My text file would look something like this:
>1144
>1145
>1146
>1147
>
DataSmash <[EMAIL PROTECTED]> wrote
> I think I've tried everything now and can't figure out how to do it.
> I want to read in a text list from the current directory,
> and for each line in the list, make a system directory for that name.
>
> My text file would look something like this:
> 1144
> 1
Hello,
I think I've tried everything now and can't figure out how to do it.
I want to read in a text list from the current directory,
and for each line in the list, make a system directory for that name.
My text file would look something like this:
1144
1145
1146
1147
I simply want to create thes