tion
> OSError: [Errno 2] No such file or directory
>
> I also tried explicitly referencing /usr/bin/ls. Same result.
> What gives?
> I see this behavior in both Python 2.4 and 2.5 on Solaris 10 and with
> 2.6alpha on Mac OS X.
>
Try
proc = subprocess.Popen(('ls',
e same way in both tables
>(especially the given names). I would like some function that would
>help me make the best guess.
>
>Many thanks in advance!
I used difflib.get_close_matches for something similar:
http://docs.python.org/lib/module-difflib.html
HTH.
--
Lee Capps
Tech
x in get_numbers(s)]
See:
http://docs.python.org/lib/module-re.html
---
Lee Capps
Technology Specialist
CTE Resource Center
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
n can do this:
http://ipython.scipy.org/moin/
---
Lee Capps
Technology Specialist
CTE Resource Center
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
node lines from gstat into the list? If so, os.popen
should work for you. Or do you need to parse the lines and store
them in, say dictionaries? Tuples? If you need to parse it, you
could use module re, or even just string methods, depending on what
you're trying to do . . . .