在线运行 Python 脚本 [英] Run Python scripts online

查看:64
本文介绍了在线运行 Python 脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个网站或任何其他方法,可以让我免费运行需要很长时间才能完成的大型 Python 脚本.

I'm looking for a website or any other method that will allow me to run large python scripts that take long to finish, for free.

我不是在寻找普通的在线 Python 解释器.

I'm not looking for a normal online python interpreter.

它必须允许网络连接.示例:使用 urllib 打开网站它必须有自定义库或允许我安装一些.示例:美丽汤它必须允许脚本运行超过 5 分钟.或多或少 5 分钟,30 秒不行.

It has to allow network connections. Example: opening websites with urllib It has to have custom library's or allow me to install some. Example: beautifulsoup It has to allow scripts to run for more than 5min. More or less 5min, 30sec won't do.

我知道这是一项艰巨的任务,但我的互联网速度、带宽和处理器不足以满足我的抱负.

I know this is a tall order, but my internet speed,bandwidth and processors aren't enough for my ambitions.

付费服务对我来说会很痛苦,因为在我的国家使用 paypal 是一个缓慢而痛苦的过程,但如果值得,请分享.

Pay'd service will be a pain for me because working with paypal from my country is a slow and painful process, but if its worth it, please share.

感谢阅读.

推荐答案

您可能需要查看 http://pythonanywhere.com/ 在他们的免费计划中,您将获得 100 CPU 秒/天和 512MB 存储空间.您可以通过 pip 安装库并选择要使用的 Python 版本.但使用免费计划,您只能访问列入白名单的网站.(https://www.pythonanywhere.com/whitelist/) 此外,您可以轻松升级到付费程序(每月 5 美元起),您可以在其中自定义需要多少 CPU 或 HDD.您也可以使用信用卡付款.

You may want to check http://pythonanywhere.com/ You will get 100 CPU seconds / day and 512MB storage in their free plan. You can install libraries through pip and choose what version of python you gonna use. But with free plan, you have access only to whitelisted sites. (https://www.pythonanywhere.com/whitelist/) Also, you can easily upgrade to paid programs (from $5/month) where you can customize how many CPU or HDD you will need. And you can pay by credit card too.

这篇关于在线运行 Python 脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆