Image of a hub, © Paul Watson, CC  BY-NC-SA 2.0 The Linguistic Teaching resources Hub
Image © Paul Watson, Licence CC BY-NC-SA 2.0

Output Data as an HTML File with Python

* William J. Turkel * Adam Crymble *

Keywords: python, HTML

https://programminghistorian.org/en/lessons/output-data-as-html-file

This lesson takes the frequency pairs created in Counting Frequencies and outputs them to an HTML file.

Here you will learn how to output data as an HTML file using Python. You will also learn about string formatting. The final result is an HTML file that shows the keywords found in the original source in order of descending frequency, along with the number of times that each keyword appears.

Feedback

Sorry, there is no feedback available. Be the first one to provide feedback!

Resource details

Institution: The Programming Historian
Year of publication: 2012
Language: english
Type: Tutorial
Audience: linguists, philologists, corpus linguists, psycholinguists, humanists
Level: basic
Prerequisites:

Creating and Viewing HTML Files with Python

Media: text/html
Objective:
Licence: CC-BY 4.0
Access: open
Creation date: Monday, 22 October 2018 15:55:13
Last modified: Saturday, 27 April 2024 08:12:05
BibTeX type: @misc
BibTeX entry:
@misc(TeLeMaCo:408,
author = "Turkel, William J. and Crymble, Adam",
title = "{O}utput {D}ata as an {H}{T}{M}{L} {F}ile with {P}ython",
year = "2012",
url = "https://programminghistorian.org/en/lessons/output-data-as-html-file"
)
  
  

Helpdesk Button