Web scraping with VBA vs Python [closed] - python

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.

Related

Running any scripting language from C++ service [closed]

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

How do I convert a jupyter notebook project into a standalone web application? [closed]

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 2 years ago.
Improve this question
I am new to machine learning & python. I found a predictive machine learning program on jupyter notebook. Is it possible to convert that jupyter project into a standalone web application? Do I need any libraries for it ? I want to demonstrate the chart & prediction formally. Suggestions?
You need to use django or pyramid or flask and use the same codes in a reorganized way.
Yeah it is possible. If you want to convert it to web application, you should use Flask, Django, etc. Flask is easy and light one, try it.

How to export python files for other use? [closed]

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

How to deploy a python chatbot [closed]

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 am a beginner of chatbot, I have developed python code to do pattern match from an intents.json file. code works fine and can answer questions.
But how to embed this python file and intents.json file into a site as a chatbot widget? Appreciate if any good tutorial for end-to-end chatbot project. Thank you.
Browsers do not run Python, so you would need to write an API. You can use Flask to do so fairly easily. Flask's tutorial is excellent.
An alternative would be to write a Javascript version that can run in the browser. This avoids the Flask server, but then people could easily jack your chatbot.

Running python on mac [closed]

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

Categories