Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 11 months ago.
Improve this question
We have a C++ web service that helps manage and run scripts for users. We have to offer 2 APIs:
RegisterScript API: Users can register scripts for a variety of languages(Python, Ruby, JavaScript etc.) through this api
RunScript API: Users can run their previously registered scripts through this API
Right now we’re not sure how we would go about this, any pointers would be nice but we’d prefer a solution that:
Doesn’t have to start an OS process for every RunScript invocation
Doesn’t rely on running shell commands from C++
Preferably there’s an open source library/framework with support for multiple languages out of the box?
Thanks!
Jessica
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I am trying to automate web scraping by Excel. It's just accessing the website and download the data as an excel file.
I have three options; any recommendation or suggestions?
Use VBA and manipulate browser
Use VBA and http requests.
Call Python script from VBA
I prefer Python so much. However,I need to make it environment-independent and useable for anyone else who's not familiar with codes at all, so I would like to avoid extra installation and setup.
Any advise will help. Thanks!
I'd say go with whatever you feel the most comfortable with.
What I personally do when I need to distribute my Python applications is to create a standalone using Pyinstaller. You should be able to create standalones for several environments.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am looking to export some .py files so I can include them in a website. I am not sure any method to export the files however. Could someone please link some useful information or explain a procedure so the files can be executed using buttons on a website (particularly a HTML site)?
You can use UWSGI as an intermediary between your Python files and nginx (as a web server). But this is not as easy as executing php files, since the php executor comes with any web server. Or call python files as external programs from your existing site.
if your are looking to import function or classes in a file and use them in another file or project, then this might be what you are looking for imports in python
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I'm looking to develop a desktop (not server) web application and I have been comparing Ruby on Rails vs Django. Question is, with Django the client needs to install Python 2.5, does the client need to install anything to execute a Ruby on Rails application?
Thanks....
You can't use Django and neither Ruby on Rails to develop a desktop app. There might be some projects than can turn these projects to a desktop app but neither of them are built for Desktop App development.
These are web frameworks.
You could simply find these facts by some simple searches on the web.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I've seen this topic, but it doesn't really answer my question.
The question: Is there any way I can run my Python script (on 2.7) on a server/website (can be free or paid..or course free would be better), but without sharing the source code?
I would like to provide only the output of the script by sharing a link.
I already know some websites, such as www.pythonanywhere.com .
But on this website, I need to share the source code. I would need to protect the source, as it contains sensitive data.
If your Pyhton code contains sensitive data, you should not upload it to a server that you don't own.
So my best advice would be:
Get a server. That could be your desktop via some form of dyndns or an inexpensive virtual host.
Run your script in a Python framework. Common frameworks are Django, Pyramid, Flask. Or execute Python using mod_wsgi directly in apache.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have to learn python for a school project and I need a way I can code it and run it on my computer. Is there a way I can run python on safari via an MAMP web server. I have looked everywhere and can't grasp a grip on how I can run it as a page on my server. Thank you for your time. and thanks for the dislikes
You can use http://www.pythonanywhere.com if you don't want to install Python on your computer for any reason.
An amazing programing website is c9.io. It has access to nearly all the mainstream programming languages. Just check it out and you can make an account for free.
Go there here: c9.io