background preloader

Informatique

Facebook Twitter

Outils pratiques. Banques d'images libres de droit. Nodejs.

Spip

Welcome | Flask (A Python Microframework) Welcome to Flask’s documentation. Get started with Installation and then get an overview with the Quickstart. There is also a more detailed Tutorial that shows how to create a small but complete application with Flask. Common patterns are described in the Patterns for Flask section. The rest of the docs describe each component of Flask in detail, with a full reference in the API section. Flask depends on the Werkzeug WSGI toolkit, the Jinja template engine, and the Click CLI toolkit. User’s Guide¶ Flask provides configuration and conventions, with sensible defaults, to get started.

API Reference¶ If you are looking for information on a specific function, class or method, this part of the documentation is for you. Additional Notes¶ Claudis und Danis Erlebnisblog. Functionality - hMailServer - Free email server for Microsoft Windows. Html - Architecture d'un site Web. Analyse de. Le Site du Zéro. Code Playground. Python CGI Programming. What is CGI? The Common Gateway Interface, or CGI, is a set of standards that define how information is exchanged between the web server and a custom script.The CGI specs are currently maintained by the NCSA and NCSA defines CGI is as follows:The Common Gateway Interface, or CGI, is a standard for external gateway programs to interface with information servers such as HTTP servers.

The current version is CGI/1.1 and CGI/1.2 is under progress. Web Browsing To understand the concept of CGI, lets see what happens when we click a hyper link to browse a particular web page or URL. Your browser contacts the HTTP web server and demands for the URL i.e., filename.Web Server will parse the URL and will look for the filename in if it finds that file then sends it back to the browser, otherwise sends an error message indicating that you have requested a wrong file.Web browser takes response from web server and displays either the received file or error message.

CGI Architecture Diagram #! HTTP Header #! Python sur hébérgement mutualisé OVH. Où installer les fichiers python sur votre hébérgement mutualisé Les fichiers peuvent être installés dans le répértoire www ou dans le répértoire cgi-bin 1- Si les fichiers sont installés dans le cgi-bin, ils peuvent porter l'extension "cgi" ou "py". 2- Si les fichiers sont installés dans le www, ils doivent porter l'extension "cgi".

L'extension "py" ne fonctionnera pas. Pour cel il faut modifier le fichier .htaccess en rajoutant la ligne suivante: Premiers test de fonctionnement avec hello world Editer le fichier ci-dessous et transférez le sur votre hébérgement Comment éviter les erreurs 500 Voici un petit rappel des consignes à vérifier en cas d'erreur 500 Afficher autre chose qu'une erreur 500 avec le module cgitb Il est possible d'obtenir des informations concernant les erreurs de votre programme à la place de la traditionnelle page d'erreur 500 qui laisse parfois dans le désespoir. il faut, avant toute autre chose et juste après le chapeau appeler le module cgitb comme suit Conclusion. Top 5 Browsers from Apr 2012 to Apr 2013. PHP: Hypertext Preprocessor.

W3Schools Online Web Tutorials. JavaScript Tutorial. Demos - Element.Delegation. Les meilleurs tutoriels SQL.