# baseURI: https://www.archives.gov/files/lod/dpframework/id/NF00741

@prefix : <https://www.archives.gov/files/lod/dpframework/schema> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix nara: <https://www.archives.gov/data/lod/dpframework/def/> .
@prefix naraid: <https://www.archives.gov/data/lod/dpframework/id/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix wikidata: <http://www.wikidata.org/entity/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

naraid:NF00741
  a nara:FileFormat ;
  dcterms:description "Python Compiled Bytecode 2.2 (PYC) files contain binary compiled code written in the Python programming language. PYC files are created when a Python plain text PY script is run for the first time: the interpreter compiles the source code into bytecode to be executed by the Python virtual machine (PVM). A variant PYO file could be created in the 2.x versions when the Python interpreter was run with optimization flags. Python 2.2 was released in 2001 and included a unification of Python's types and classes into one hierarchy, an object-oriented model. This version received bug fixes until 2003. Python has been widely adopted, is not proprietary, and has a published open format specification. Because files containing compiled source code should not be reformatted to avoid affecting the functionality, Python Compiled Bytecode files should be retained in their current format." ;
  dcterms:identifier "NF00741" ;
  rdfs:label "NF00741" ;
  wikidata:p1163 "application/x-bytecode.python" ;
  wikidata:p1163 "application/x-python-code" ;
  wikidata:p1195 "pyc" ;
  wikidata:p2748 "https://www.nationalarchives.gov.uk/PRONOM/fmt/1108" ;
  wikidata:p973 "https://devguide.python.org/compiler/?highlight=pyc" ;
  wikidata:p973 "https://en.wikipedia.org/wiki/Python_(programming_language)" ;
  wikidata:p973 "https://www.wikidata.org/wiki/Q55429245" ;
  nara:category naraid:Code ;
  nara:formatName "Python Compiled Bytecode 2.2" ;
  nara:preservationAction naraid:Retain ;
  nara:preservationPlan "Retain" ;
  nara:riskLevel naraid:Low ;
  nara:tools """Any supported text editor
""" ;
  <https://www.archives.gov/files/lod/dpframework/schemaArchiveTeamURL> "http://fileformats.archiveteam.org/wiki/Python" ;
.
<https://www.archives.gov/files/lod/dpframework/id/NF00741>
  a owl:Ontology ;
.
