I'm going to try to wrap my head around this (I've been reading this:
http://www.parkytowers.me.uk/thin/Linux/TinycoreWS.shtmlWhen tinycore boots, it looks in attached storage for the tce directory which contains any option extensions I've installed. Those extensions on the storage medium are actually compressed storage file systems. So in
/mnt/sdb2/tce/optional/
it is finding python.tcz and python.tcz.dep and python.tcz.md5.txt ...
Then it mounts python.tcz at /tmp/tmloop/python
So if I go to
/tmp/tcloop/python/usr/local/lib/
I find two files and a folder:
libpython2.7.so libpython2.7.so.1.0 python2.7/
AND IN python2.7/ IS >>> SimpleHTTPServer.py
I don't know why the command
sudo locate SimpleHTTPServer
or
sudo locate SimpleHTTPServer.py
does not find these files. Maybe it doesn't search in /tmp .
So...
/mnt/sdb2/tce/optional/python.tcz
is mounted to
/tmp/tcloop/python/
and that tmp directory is merged into the main system.
That means
/tmp/tcloop/python/usr/local/lib/python2.7/
is also located at
/usr/local/lib/python2.7/
Which it is.
I think I've just about got this.
I'm going to read a bit more and I'll post what I find.
Edit: That's weird. When I replied to Rich in the previous post I said that python wasn't in /usr/local/lib/
If it was installed as an onboot program, shouldn't it be there even before running the following command?
python -m SimpleHTTPServer