On Tue, 13 Jan 2015 07:38:07 -0800 (PST) "Edward K. Ream" <[email protected]> wrote:
> I recently ran across PythonAnywhere: https://www.pythonanywhere.com/ > > PA allows you to run various versions of Python with lots of modules > already installed: > https://www.pythonanywhere.com/batteries_included/ > > This is an ideal platform for creating web apps: > https://www.pythonanywhere.com/wiki/ > > Naturally, PyQt is *not* installed in the PA servers. Here is an > exchange between me and Glenn Jones, one of the PA people: > > QQQ > EKR: Leo's code is separated into a gui-independent core that calls > wrapper code that drives gui-dependent code. At present, Leo uses > the PyQt (4 or 5). I assume that it would be pointless to install > PyQt on your servers... > GJ: Yeah. It would probably be pointless - There is no surface for > the GUI library to draw on, so there is no way to render the widgets. > QQQ > > So substantial work would be required to make Leo work on PA. > However, I did do a git clone of leo-editor in PA, and afterwords > python launchLeo.py --version did work as expected in the console. > > I even went as far as to upgrade the cursesGui.py plugin so it > crashes less. However, making the curses plugin truly useful seems > like a big project with little payoff. An alternative might be to > use the leoBridge module somehow... Not sure how the leoBridge module would factor in. Seems Leo needs and HTML / javascript (i.e. coffeescript :-) interface. I had started one trying to get online editing working (requiring a server running code using leoBridge). But I wonder if just implementing an HTML / javascript interface against Leo's GUI abstraction layer would be the way to go. Cheers -Terry > In short, PA allows anyone to run Python programs from the browser. > It's another way of providing ready-to-use *complete* python > environments. The people seem smart and friendly. If I ever do a web > version of Leo I would certainly use PythonAnywhere. > > Your comments, please. > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
