diff --git a/Lab 1/run.py b/Lab 1/run.py deleted file mode 100644 index 5755c63..0000000 --- a/Lab 1/run.py +++ /dev/null @@ -1,14 +0,0 @@ -import http.server -import socketserver - -PORT = 8000 -DIRECTORY = "." - -class Handler(http.server.SimpleHTTPRequestHandler): - def __init__(self, *args, **kwargs): - super().__init__(*args, directory=DIRECTORY, **kwargs) - -# Запуск сервера на порту 8000 -with socketserver.TCPServer(("", PORT), Handler) as httpd: - print(f"Serving at http://localhost:{PORT}") - httpd.serve_forever() \ No newline at end of file diff --git a/Lab 2/library.dtd b/Lab 2/library.dtd new file mode 100644 index 0000000..e316606 --- /dev/null +++ b/Lab 2/library.dtd @@ -0,0 +1,15 @@ + + + + + + + + + + + + +]> \ No newline at end of file diff --git a/Lab 1/library.xml b/Lab 2/library.xml similarity index 59% rename from Lab 1/library.xml rename to Lab 2/library.xml index ce29f60..8aafa2a 100644 --- a/Lab 1/library.xml +++ b/Lab 2/library.xml @@ -1,34 +1,25 @@ + + - + War and Peace Leo Tolstoy Historical 1869 - + The Captain's Daughter Alexander Pushkin Novel 1836 - - Crime and Punishment - Fyodor Dostoevsky - Philosophical - 1866 - - + The Three Musketeers Alexandre Dumas Historical novel 1844 - - Fifteen-year-old captain - Jules Verne - Novel - 1878 - - + + \ No newline at end of file diff --git a/Lab 1/library.xslt b/Lab 2/library.xslt similarity index 95% rename from Lab 1/library.xslt rename to Lab 2/library.xslt index 1ee2a08..2689d5d 100644 --- a/Lab 1/library.xslt +++ b/Lab 2/library.xslt @@ -1,6 +1,7 @@ +