Re: [Tutor] Different Command Result Executing in Shell vs. Program

2009-05-10 Thread robert mcquirt
@alan: Thank you very much for the information you provided and also for suggesting your tutorial. I am now studying the subprocess module. I was impressed with the depth of your tutorial and am studying it as well (and not just for my current problem). Thanks again. @dave: Thanks for your repl

[Tutor] Different Command Result Executing in Shell vs. Program

2009-05-09 Thread robert mcquirt
Hi. I've not been working with Python very long and have run into a puzzling thing. I'm working on a program that needs to identify the filetype of files without extensions. Using the file command in the shell works fantastic, as in: rob...@ubuntu:~$ file