Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
640 views

does frappe.db.commit() not work in server script in Frappe Cloud?

HI I am writing a server script in Frappe Cloud where I am trying to update a particular doctype(which is NOT THE DOCTYPE I HAVE CHOSEN IN DOCTYPE EVENT) using frappe.db.set_value(), then in order to ...
Souradeep Sengupta Developer D's user avatar
0 votes
0 answers
107 views

How to Store user profiles for a social network website

I may not use the correct terms ,please endure, Let's say I wanted to create a mini social network website, how would I store and handle the different profiles of the users on the server with python, ...
user avatar
7 votes
4 answers
23k views

How do I run python cgi script on apache2 server on Ubuntu 16.04?

I am a newbie so I saw some tutorials. I have a python script as first.py #!/usr/bin/python3 print "Content-type: text/html\n" print "Hello, world!" I have multiple versions of python on my computer....
Edward Elric's user avatar
-2 votes
1 answer
1k views

what are some free hosting servers to support Python [closed]

I am trying to make an mobile application which requests the server to run the script, and then the python script does some scraping and returns the data to the application. for testing purposes i ...
P.hunter's user avatar
  • 1,365
0 votes
1 answer
1k views

Python newline not working from form data to string formating

I am new to Python and trying server side form handling. I have a simple html page with three input fields and and a textarea. When user fill in the details the form is processed and user presented ...
J Akhtar's user avatar
  • 667
6 votes
3 answers
14k views

Server side processing with datatables and flask

I'm trying to implement server side processing with data from sqlite on my Flask app. I am a newbie, so I can't figure out what's wrong. So far I have come to this: HTML: <table id="myTable" ...
tzoukritzou's user avatar
1 vote
1 answer
2k views

Implement server side processing for datatables in python with sqlite

I have a Flask app and at some point a construct a complex query and display the results with datatables. This works fine, but I have a really large amount of rows so it takes a long time to render it....
tzoukritzou's user avatar
0 votes
1 answer
351 views

Why does paypal-ipn still return INVALID to my POST?

i have build a simple paypal-ipn listener: it listens for paypal sending me a http POST, reads its data out and sends it back to paypal, which should answer VALID if the data received matches the data ...
gaugau's user avatar
  • 916
0 votes
0 answers
62 views

How to get cgi input variables in the same order as they come in?

I have a simple listener in python awaiting a http post request: import cgi import sys inputVars = cgi.Fieldstorage() f.open('test','a') f.write("how they come in: "+ str(inputVars)) The variables ...
gaugau's user avatar
  • 916
1 vote
1 answer
689 views

Return Dynamically Zipped File Based On HTML Form Data (Confirm Download Dialog?)

I have an HTML form whose action is set to my Python script in which I test which checkboxes were selected in the form. From this information, I use my script to create a zip file containing the files ...
Meloviz's user avatar
  • 581
1 vote
2 answers
1k views

A python server that executes python scripts

I'm doing a python class this semester, and I'd like to add graphical user interfaces to my programs in the form of web pages. Partly I can't be bothered to learn Tkinter, partly I'm just challenging ...
Jack M's user avatar
  • 6,365
0 votes
1 answer
409 views

ERROR reading multidict in python server?

i have a server in python that is recieving data in following format: MultiDict([('JSONdata', u'{"SMS":[{"inbox":[{"body":"BACKUP *qqqqq*","phone":"+920000000"},{"body":"BACKUP *qqqqq*","phone":"+...
Ifrah's user avatar
  • 209
0 votes
1 answer
1k views

Chrome web apps - server side support

Does Google Chrome web store support server sided technologies such as PHP or Python? I am currently making a productive web application which i have already implemented in python but i wish to give ...
tenstar's user avatar
  • 10.5k
2 votes
1 answer
909 views

Server-side COLLADA converter

I'm building a web form to accommodate users uploading .obj and .fbx 3D models to a site. We need a server-side solution to convert these files to Collada (dae). It would be massively helpful if ...
EricZun's user avatar
  • 23
19 votes
4 answers
25k views

How can I generate a screenshot of a webpage using a server-side script?

I need a server-side script (PHP, Python) to capture a webpage to a PNG, JPG, Tiff, GIF image and resize them to a thumbnail. What is the best way to accomplish this? See also: Web Page Screenshots ...
Colargol's user avatar
  • 769