This document discusses how to use Python for web development. It presents several methods for integrating Python with a web server, including the Common Gateway Interface (CGI) which allows Python programs to communicate with the server. CGI is the oldest interface but has performance limitations. Newer interfaces like WSGI allow Python programs to emulate CGI while avoiding its downsides. The document provides a simple CGI script example for testing integration and discusses common issues with CGI scripts. It also introduces several popular Python web frameworks.
Web frameworks: web development done right.
Lecture of Web Technologies, University of Naples Federico II
Main topics:
- Evolution of Web Technolgies
- Web frameworks and Design Principles
- Django and Google App engine: web frameworks in Python
The document provides information on HTML (Hypertext Markup Language) and how to structure webpages using basic HTML tags and elements. It discusses that webpages are written in HTML, a scripting language that uses markup tags to define text formatting, links, images, and other page elements. It then covers key HTML tags for text formatting, links, lists, and overall page structure with headings like <head> and <body>.
"Number Crunching in Python": slides presented at EuroPython 2012, Florence, Italy
Slides have been authored by me and by Dr. Enrico Franchi.
Scientific and Engineering Computing, Numpy NDArray implementation and some working case studies are reported.
Unsupervised Machine Learning for clone detectionValerio Maggio
This document discusses unsupervised machine learning techniques for clone detection in source code. It begins by defining different types of code clones and describing current state-of-the-art clone detection tools. It then argues that machine learning approaches, such as using kernel methods to compare abstract syntax trees, can provide more computationally efficient and accurate clone detection compared to traditional text-, token-, and syntax-based techniques. The document provides examples of using kernel functions to compute similarities between code structure representations like ASTs to enable unsupervised machine learning for clone detection.
This document provides an overview of Python programming concepts including what Python is, variables, data types, operators, conditional statements, loops, functions, exceptions, lists, dictionaries, tuples and more. Some key points covered include:
- Python is an interpreted, object-oriented programming language that can be used for many different application types.
- Variables, constants, operators, and control flow structures like conditionals and loops are introduced as the basic building blocks of Python programs.
- Common data types like strings, lists, dictionaries and tuples are described along with their characteristics and functions.
- Other concepts explained are functions, exceptions, formatting, modules and more.
Improving Software Maintenance using Unsupervised Machine Learning techniquesValerio Maggio
"Improving Software Maintenance using Unsupervised Machine Learning techniques": Ph.D. defence presentation.
Unsupervised Machine Learning techniques have been used to face different software maintenance issues such as Software Modularisation and Clone detection.
This document discusses how to use Python for web development. It presents several methods for integrating Python with a web server, including the Common Gateway Interface (CGI) which allows Python programs to communicate with the server. CGI is the oldest interface but has performance limitations. Newer interfaces like WSGI allow Python programs to emulate CGI while avoiding its downsides. The document provides a simple CGI script example for testing integration and discusses common issues with CGI scripts. It also introduces several popular Python web frameworks.
Web frameworks: web development done right.
Lecture of Web Technologies, University of Naples Federico II
Main topics:
- Evolution of Web Technolgies
- Web frameworks and Design Principles
- Django and Google App engine: web frameworks in Python
The document provides information on HTML (Hypertext Markup Language) and how to structure webpages using basic HTML tags and elements. It discusses that webpages are written in HTML, a scripting language that uses markup tags to define text formatting, links, images, and other page elements. It then covers key HTML tags for text formatting, links, lists, and overall page structure with headings like <head> and <body>.
"Number Crunching in Python": slides presented at EuroPython 2012, Florence, Italy
Slides have been authored by me and by Dr. Enrico Franchi.
Scientific and Engineering Computing, Numpy NDArray implementation and some working case studies are reported.
Unsupervised Machine Learning for clone detectionValerio Maggio
This document discusses unsupervised machine learning techniques for clone detection in source code. It begins by defining different types of code clones and describing current state-of-the-art clone detection tools. It then argues that machine learning approaches, such as using kernel methods to compare abstract syntax trees, can provide more computationally efficient and accurate clone detection compared to traditional text-, token-, and syntax-based techniques. The document provides examples of using kernel functions to compute similarities between code structure representations like ASTs to enable unsupervised machine learning for clone detection.
This document provides an overview of Python programming concepts including what Python is, variables, data types, operators, conditional statements, loops, functions, exceptions, lists, dictionaries, tuples and more. Some key points covered include:
- Python is an interpreted, object-oriented programming language that can be used for many different application types.
- Variables, constants, operators, and control flow structures like conditionals and loops are introduced as the basic building blocks of Python programs.
- Common data types like strings, lists, dictionaries and tuples are described along with their characteristics and functions.
- Other concepts explained are functions, exceptions, formatting, modules and more.
Improving Software Maintenance using Unsupervised Machine Learning techniquesValerio Maggio
"Improving Software Maintenance using Unsupervised Machine Learning techniques": Ph.D. defence presentation.
Unsupervised Machine Learning techniques have been used to face different software maintenance issues such as Software Modularisation and Clone detection.