From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200111281835.fASIYxT58173@devil.lucid> Content-Type: text/plain; charset="iso-8859-1" From: Matt To: 9fans@cse.psu.edu Subject: Re: [9fans] Python filesystem References: <20011128182102.814A3199B9@mail.cse.psu.edu> In-Reply-To: <20011128182102.814A3199B9@mail.cse.psu.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 28 Nov 2001 18:34:59 +0000 Topicbox-Message-UUID: 2c30f846-eaca-11e9-9e20-41e7f4b1d025 On Wednesday 28 November 2001 18:21, you wrote: > > python is not just a script interpreter but it is also a kind of shell > > fire it up without a script and you can execute commands 'interactively' > > which means it's quite a candidate for a file system > > you lost me here. rc is not a file system. > maybe the shell word was a bad choice run the pyfs %echo 'print "hello"' > /n/pyfs/stdin %cat /n/pyfs/stdout hello % once could also have %ls n/pyfs/locals and get a list of local variables and their values (possibly writeable) the real reason I'm thinking about it is to use it as CGI along the lines of mod_perl or mod_snake where the environment is persistent across HTTP requests but I didn't really want to introduce HTTP into the conversation just yet :)