English 中文(简体)
能否作为没有其他受扶养人的单一包裹,在平时使用动态的(固定文档)网络信?
原标题:Is it possible to serve a dynamic (with static files) web app in python as a single package with no other dependencies?

让我说,你们有一位朋友,他们知道如何打假。 页: 1 这就是说。 朋友们知道什么是幼女,但需要利用网络应用程序与我和其他朋友分享电影/音乐。

Now you want to make a package containing your scripts which will listen on :8080 and serve the nice web application, using cherrypy for threading in case 10 or more friends access the music/blog/whatever at the same time. And the app is so simple it can be made in flask. The database is a simple sqlite3 file, nothing fancy.

Can this be done in python? Without invoking apache/nginx or configuration files or requiring the user of the web app (owner of web app, and user of it, not just oh put it on a web host somewhere for "production" use, this is not a webapp for "production", its for use by many on their own computers) to be a programmer or deployment officer.

Thanks.

http://www.ohchr.org。

我去了cher,只开了一枚 run子,发射多读的cher器,静态文档。 但随后,我遇到了伐木问题,从有关木材的几处手,也从研究家拥有伐木机制,主要是文件站。

So now, im doing it with gunicorn. A web app and a runit.py which serves it with gunicorn and gevent. Thats fine...

问题回答

只要用户知道如何在网上下载物品,也能够打上“顶点装置”的类型,我就不肯定你预见的其他障碍。 在Windows,如果你用python setup.py bdist_wininst包罗你的代码,这甚至更简单。 See

http://www.pyinstaller.org/“rel=“nofollow” 确保你利用 Cherry 3. 如果你在Flavik 0.8号纸上遇到问题,则试验版本0.7。

假设你们的朋友能够在其电脑上安装 p子,那么你就能够把自己的手法与自己的附着相捆绑在一起,同样,虚拟会把你的项目的附属点与全球项目联系起来?

如果你使用所建的杰夫服务器,那就简单了,因为它们把点击放在桌面上,打上网络服务器。





相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签