Hi !

Thank you very much.

With your tip, this script :

        import os
        p = os.popen4(r'cmd /k')
        p[0].write('dir *.bat /B\r\n')
        p[0].flush()
        p[0].write('dir *.cfg \r\n')
        p[0].flush()
        p[0].write('exit\r\n')
        p[0].flush()
        print ''.join(p[1].readlines())

run perfectly

@-salutations

Michel Claveau



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to