A high-level cross-platform API for terminal/console access
Gisle Vanem
gvanem at yahoo.no
Thu Oct 22 09:42:33 EDT 2015
"Chris Angelico" <rosuav at gmail.com> wrote:
> Ah, that might well be it. Does it work if you run:
>
> python -S -m pip install --upgrade win32api
Hm.
c:\>python2 -S -m pip install --upgrade win32api
Collecting win32api
Could not find any downloads that satisfy the requirement win32api
No distributions at all found for win32api
I think you mean 'pypiwin32'. Since:
c:\>python2 -S -m pip install --upgrade pypiwin32
Requirement already up-to-date: pypiwin32 in g:\programfiler\python27\lib\site-packages
So now, running 'setup.py install' in AsciiMatics' directory, all seems
to install okay.
But the samples have problems if launched from the sample directory!
It seems to be related to my Windows associations for .png files;
'python2 win_demo.py' launches this:
g:\util\Graphics\IrfanView\i_view32.exe
G:\Programfiler\Python27\Lib\site-packages\AsciiMatics\samples\python.png
G:\Programfiler\Python27\Lib\site-packages\AsciiMatics\samples\win_demo.py
Yes, all on 1 line. Notice the 'win_demo.py' is last!!?? But
'python2 samples\win_demo.py' works fine (see attached screen-shot).
Allthough it messes up the screen's scrollback buffer. Similar to how
most PDcurses do on Windows :-(
--gv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win_demo_output.png
Type: image/png
Size: 20817 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20151022/f09ec12a/attachment.png>
More information about the Python-list
mailing list