Re: [Tutor] Replacing cmd.exe with custom .py application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jean-Paul Calderone

    Re: [Tutor] Replacing cmd.exe with custom .py application

    On Tue, 30 Sep 2008 19:30:55 +0000 (UTC), Lie Ryan <lie.1296@gmail .comwrote:
    >On Tue, 30 Sep 2008 15:09:06 -0400, Ezra Taylor wrote:
    >
    >Is there something similar to /dev/null on Windows?
    >
    >
    >I think it's called nul
    >
    >REM This is a batch file (.bat)
    >echo "This won't show" NUL
    >
    >I'm not sure how to use it in python though.
    >
    Check out os.devnull. You can open it and write to it.

    Jean-Paul
Working...