[英]Python command line application migration to web based
Any guidelines on migrating a bunch of command line scripts to web based app? 关于将一堆命令行脚本迁移到基于Web的应用程序的任何准则? It is mainly a information retrieval application that I'm trying to build and does not really need to have much of user management - something in the lines of upload some documents and search in them.
它主要是我正在尝试构建的信息检索应用程序,实际上并不需要太多的用户管理-上载一些文档并在其中进行搜索的过程。 The motivation for going web based in mainly intuitive UI.
基于直观用户界面进行网络访问的动机。 Using something like plone and modifying it would probably be a bit too much, right?
使用诸如plone之类的东西并对其进行修改可能会有点太多,对吧?
You could try using some minimalistic web framework. 您可以尝试使用一些简约的Web框架。
If what you are trying to do is really simple you could have a look at Bottle 如果您尝试做的事情真的很简单,那么可以看看Bottle
http://bottle.paws.de/docs/dev/index.html http://bottle.paws.de/docs/dev/index.html
Just import your scripts, think of some simple url scheme and write a few views. 只需导入脚本,考虑一些简单的url方案并编写一些视图即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.