Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Flask: Cookies for Saving User Input ?
Post: RE: Flask: Cookies for Saving User Input ?

For any one who need to save something in cookies and gather them into another route, I found this solution; from flask import Flask, redirect, url_for, render_template, make_response,request app = ...
jomonetta Web Scraping & Web Development 2 3,551 Nov-03-2018, 09:52 AM
    Thread: Flask: Cookies for Saving User Input ?
Post: Flask: Cookies for Saving User Input ?

Hi. I am developing a web-app which contains map api in order to let the user select his location. The following code is about this procedure; app = Flask(__name__) C = cookies.SimpleCookie() C['enlem...
jomonetta Web Scraping & Web Development 2 3,551 Nov-01-2018, 11:55 AM
    Thread: Web App That Request Data from Another Web Site every 12-hours
Post: RE: Web App That Request Data from Another Web Sit...

Yes I need to access it. So, I have to build a query for database with SQLAlchemy or something ?
jomonetta Web Scraping & Web Development 15 10,206 Sep-24-2018, 07:56 PM
    Thread: Web App That Request Data from Another Web Site every 12-hours
Post: RE: Web App That Request Data from Another Web Sit...

(Sep-24-2018, 04:23 PM)nilamo Wrote: You need to save it somewhere first. If it isn't that important to you, you can store it in memory and make it a global variable, and then pass it to the templat...
jomonetta Web Scraping & Web Development 15 10,206 Sep-24-2018, 04:47 PM
    Thread: Web App That Request Data from Another Web Site every 12-hours
Post: RE: Web App That Request Data from Another Web Sit...

(Sep-24-2018, 04:01 PM)nilamo Wrote: The code you quoted does not make the request when you open the page. It makes it once every 15 seconds, regardless of how much or little the page is being reque...
jomonetta Web Scraping & Web Development 15 10,206 Sep-24-2018, 04:15 PM
    Thread: Web App That Request Data from Another Web Site every 12-hours
Post: RE: Web App That Request Data from Another Web Sit...

(Sep-24-2018, 03:12 AM)snippsat Wrote: It don't have to be called in route,it work independent of that. It's was just a demo to also send values from schedule function to client with jinja. from fla...
jomonetta Web Scraping & Web Development 15 10,206 Sep-24-2018, 03:27 PM
    Thread: Web App That Request Data from Another Web Site every 12-hours
Post: RE: Web App That Request Data from Another Web Sit...

(Sep-23-2018, 05:44 PM)snippsat Wrote: (Sep-22-2018, 12:31 PM)jomonetta Wrote: does the server able to execute the other independent script which uses cron? Can get some solution with cron to work...
jomonetta Web Scraping & Web Development 15 10,206 Sep-24-2018, 12:58 AM
    Thread: Web App That Request Data from Another Web Site every 12-hours
Post: RE: Web App That Request Data from Another Web Sit...

(Sep-21-2018, 07:58 PM)nilamo Wrote: I vote against time.sleep for 12(!!) hours. For one thing, if you logout or the machine restarts, then your script never runs again. I would set it up as two com...
jomonetta Web Scraping & Web Development 15 10,206 Sep-22-2018, 12:31 PM
    Thread: Web App That Request Data from Another Web Site every 12-hours
Post: Web App That Request Data from Another Web Site ev...

Hi, I am working on a web app with flask framework. I want to get a data from another web site every 12 hour, save it and display it through my web app, but what should I do? I can get the data from a...
jomonetta Web Scraping & Web Development 15 10,206 Sep-21-2018, 04:58 PM
    Thread: Web application with google maps api
Post: Web application with google maps api

Greatings. I am python beginner. I have already made a python application that gives some outputs. What I want is transforming this python application to python driven web application which gets the u...
jomonetta Web Scraping & Web Development 1 2,886 Sep-12-2018, 09:26 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020