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 1 year ago.
Improve this question
connecting python program with HTML. when I click the HTML button I need output from that python program to display in the front end. please guide me in how to solve this problem.
I need to connect that python program to my web application how to do this connecting part?
You must have a look at flask its a python library with which you can do server side stuff (backend development)
there's also another popular library django which you can look for.
Related
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 1 year ago.
Improve this question
essentially i have a python script that takes an input from the user, and scrapes the relevant data and outputs it. I thought it'd be neat to turn this into a web app, where should i start?
You need to use some frameworks such as Flask or Django.
I wrote a small program which automates the process for simple scripts.
https://github.com/bkb3/py2webapp
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 made a python script which can convert .MOV to .MP4. I want to execute the script from my website made on PHP.
So the example is I'm browsing a video on the web page then I click on submit and I'm waiting for the python script executing. It's working already but now I need to adapt it to my actual website and the session cookie (PHP).
But I don't know how to do that. I saw on some forum that they use Flask or Django but my website is already built and I don't want to rebuilt it.
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 9 years ago.
Improve this question
How can I create a client side database to store information of users on client side. Does anybody know of any tutorials or pointers? Which is the recommended database to use? My client is in .js and uses Django framework.
What you are asking for is called Web Storage and is part of HTML5.
http://diveintohtml5.info/storage.html
http://www.gwtproject.org/doc/latest/DevGuideHtml5Storage.html
However, many times when people SAY they need a client-side database, I ask them the details and it turns out that they don't really need client side storage at all, so proceed with caution.
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 9 years ago.
Improve this question
I have a raspberry pi that I connected a webcam to and am planning to use as a cctv camera ( I used this tutorial by the way: https://medium.com/p/2d5a2d61da3d) and I want it to send me an email when it takes a picture, how can I do this, I don't know much about python or linux, help is appreciated.
Download the following:
http://www.raspberrypi.org/phpBB3/viewtopic.php?t=45235
This saves the image, rather than emailing it, so it will require some tweaking. Look through the code, understand as much as you can, and if you have a SPECIFIC question ("what does this one line do?") and google doesn't show anything, then you can post here again.
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 8 years ago.
Improve this question
Is there a Python program where you can post a status update without going to the website itself?
Where or how do i get started?
You would wanna get started here, https://github.com/facebook/python-sdk
unless there's a library I don't know about.
You can checkout my fork of the python sdk. It's customized to work better with django.
You can check here on how to use it to authenticate a user.
After that you can use the python sdk to post a news entry.
fb.put_wall_post("hello")
Or do it yourself, it's only a matter of doing a POST request to http://graph.facebook.com/FBID/feed where FBID is the ID of the page or profile you want to publish to, more info in the facebook doc.