diff --git a/lectures3/Pythonlearn-02-Expressions.pdf b/lectures3/Pythonlearn-02-Expressions.pdf index 1c168e2a..ccd988f6 100644 Binary files a/lectures3/Pythonlearn-02-Expressions.pdf and b/lectures3/Pythonlearn-02-Expressions.pdf differ diff --git a/lectures3/Pythonlearn-02-Expressions.pptx b/lectures3/Pythonlearn-02-Expressions.pptx index ef844615..81bc6534 100644 Binary files a/lectures3/Pythonlearn-02-Expressions.pptx and b/lectures3/Pythonlearn-02-Expressions.pptx differ diff --git a/lectures3/README.md b/lectures3/README.md index e7ba3003..4f472ac1 100644 --- a/lectures3/README.md +++ b/lectures3/README.md @@ -4,8 +4,10 @@ The `convert2pdf.sh` script converts all `.pptx` files in the current directory and its subdirectories into PDF format using LibreOffice’s command-line interface. -Each converted PDF is saved in a `pdf` subdirectory located in the same directory as its source `.pptx` file. If the `pdf` directory does not exist, it is created automatically. +Each PDF is saved in the same directory as its source `.pptx` file. +Each PDF is exported with PDF/UA (ISO 14289) specification and special accessibility tags enabled. +See https://help.libreoffice.org/latest/en-US/text/shared/guide/pdf_params.html --- ## Requirements @@ -70,7 +72,7 @@ Ensure this path is included in your system `PATH` environment variable, or upda * Recursively searches for `.pptx` files starting from the current directory * Converts each file to PDF using LibreOffice in headless mode -* Outputs each PDF into a `pdf/` subdirectory alongside the original file +* Outputs each PDF in the same directory as the PPTX file --- @@ -107,12 +109,16 @@ Run the script from the directory containing your PowerPoint files: The script will process all `.pptx` files found in the current directory and its subdirectories. +It will only generate a PDF when the PPTX is newer or the PDF does not exist. + --- ## Notes -* There's no official doc for the CLI convert to filter option names that correspond to the Impress UI options -, but the option names can be found in the [source code](https://opengrok.libreoffice.org/xref/core/filter/source/pdf/). Look in files +* PDF export command line options are documented [here](https://help.libreoffice.org/latest/en-US/text/shared/guide/pdf_params.html) + +* Related source code be found [here](https://opengrok.libreoffice.org/xref/core/filter/source/pdf/). Look in files `pdfexport.cxx` and `impdialog.cxx`. + * The script assumes `.pptx` files are valid and readable by LibreOffice * Output PDFs will overwrite existing files with the same name in the `pdf` directory * Font availability on the system may affect final rendering in the PDF diff --git a/lectures3/convert2pdf.sh b/lectures3/convert2pdf.sh index 71fe59b3..df0ca523 100755 --- a/lectures3/convert2pdf.sh +++ b/lectures3/convert2pdf.sh @@ -45,6 +45,8 @@ if [ -z "$JAVA_HOME" ]; then echo "Please set JAVA_HOME manually if you encounter issues with LibreOffice." else echo "Detected JAVA_HOME: $DEFAULT_JAVA_HOME" + export JAVA_HOME="$DEFAULT_JAVA_HOME" + echo "Set JAVA_HOME to: $JAVA_HOME" fi else echo "Using existing JAVA_HOME: $JAVA_HOME" @@ -58,14 +60,19 @@ if [ -z "$SOFFICE_PATH" ]; then exit 1 fi +# Define the PDF filter with options for PDF/A compliance and accessibility tags PDF +# Reference: https://help.libreoffice.org/latest/en-US/text/shared/guide/pdf_params.html +PDF_FILTER='pdf:impress_pdf_Export:{"PDFUACompliance":{"type":"boolean","value":"true"},"UseTaggedPDF":{"type":"boolean","value":"true"}}' + # Find all .pptx files recursively starting from the current directory pptx_files=$(find . -type f -name "*.pptx") count=0 error_count=0 +skip_count=0 -# Convert each pptx file to pdf -for pptx_file in $pptx_files; do +convert_pptx_to_pdf() { + local pptx_file="$1" # Get the directory containing the pptx file dir=$(dirname "$pptx_file") echo "Processing directory: $dir" @@ -73,29 +80,30 @@ for pptx_file in $pptx_files; do # Get the filename without extension filename=$(basename "$pptx_file" .pptx) - # Create pdf subdirectory if it doesn't exist - pdf_dir="$dir/pdf" - mkdir -p "$pdf_dir" - if [ $? -ne 0 ]; then - echo "Error creating directory: $pdf_dir" - error_count=$((error_count + 1)) - continue - fi - - # Define output PDF path + # Define pdf paths + pdf_dir="$dir" # keep pdfs in same directory as pptx pdf_file="$pdf_dir/$filename.pdf" - # Convert pptx to PDF - echo "Converting: $pptx_file to $pdf_file" - "$SOFFICE_PATH" --headless --convert-to pdf:impress_pdf_Export:{"PDFUACompliance":true,"UseTaggedPDF":true,"ReduceImageResolution":true,"MaxImageResolution":300,"UseLosslessCompression":false,"Quality":90} --outdir "$pdf_dir" "$pptx_file" - - if [ $? -eq 0 ]; then - echo "Successfully converted: $pptx_file" - count=$((count + 1)) + if [[ ! -f "$pdf_file" || "$pptx_file" -nt "$pdf_file" ]]; then + # Convert because PDF does not exist or PPTX is newer + echo "Converting: $pptx_file to $pdf_file" + "$SOFFICE_PATH" --headless --convert-to "$PDF_FILTER" --outdir "$pdf_dir" "$pptx_file" + if [ $? -eq 0 ]; then + echo "Successfully converted: $pptx_file" + count=$((count + 1)) + else + echo "Error converting: $pptx_file" + error_count=$((error_count + 1)) + fi else - echo "Error converting: $pptx_file" - error_count=$((error_count + 1)) + echo "Skipping: $pptx_file (PDF is up to date)" + skip_count=$((skip_count + 1)) fi +} + +# Convert each pptx file to pdf +for pptx_file in $pptx_files; do + convert_pptx_to_pdf "$pptx_file" done -echo "Conversion complete! $count files converted, $error_count files failed." \ No newline at end of file +echo "Conversion complete! $count files converted, $error_count files failed, $skip_count files skipped." \ No newline at end of file diff --git a/lectures3/es/1.1_Spanish.pdf b/lectures3/es/1.1_Spanish.pdf new file mode 100644 index 00000000..b27f632c Binary files /dev/null and b/lectures3/es/1.1_Spanish.pdf differ diff --git a/lectures3/es/1.2_Spanish.pdf b/lectures3/es/1.2_Spanish.pdf new file mode 100644 index 00000000..8d62262e Binary files /dev/null and b/lectures3/es/1.2_Spanish.pdf differ diff --git a/lectures3/es/pdf/1.3_Spanish.pdf b/lectures3/es/1.3_Spanish.pdf similarity index 55% rename from lectures3/es/pdf/1.3_Spanish.pdf rename to lectures3/es/1.3_Spanish.pdf index e5015951..01354f4b 100644 Binary files a/lectures3/es/pdf/1.3_Spanish.pdf and b/lectures3/es/1.3_Spanish.pdf differ diff --git a/lectures3/es/pdf/1.4_Spanish.pdf b/lectures3/es/1.4_Spanish.pdf similarity index 77% rename from lectures3/es/pdf/1.4_Spanish.pdf rename to lectures3/es/1.4_Spanish.pdf index 296c97f0..000ad5f8 100644 Binary files a/lectures3/es/pdf/1.4_Spanish.pdf and b/lectures3/es/1.4_Spanish.pdf differ diff --git a/lectures3/es/pdf/2.1_Spanish.pdf b/lectures3/es/2.1_Spanish.pdf similarity index 74% rename from lectures3/es/pdf/2.1_Spanish.pdf rename to lectures3/es/2.1_Spanish.pdf index 7e903d2c..1b6b6ff9 100644 Binary files a/lectures3/es/pdf/2.1_Spanish.pdf and b/lectures3/es/2.1_Spanish.pdf differ diff --git a/lectures3/es/pdf/2.2_Spanish.pdf b/lectures3/es/2.2_Spanish.pdf similarity index 84% rename from lectures3/es/pdf/2.2_Spanish.pdf rename to lectures3/es/2.2_Spanish.pdf index 741b7675..fb35ce4e 100644 Binary files a/lectures3/es/pdf/2.2_Spanish.pdf and b/lectures3/es/2.2_Spanish.pdf differ diff --git a/lectures3/es/pdf/2.3_Spanish.pdf b/lectures3/es/2.3_Spanish.pdf similarity index 69% rename from lectures3/es/pdf/2.3_Spanish.pdf rename to lectures3/es/2.3_Spanish.pdf index 36dbb4c3..b0d56a5f 100644 Binary files a/lectures3/es/pdf/2.3_Spanish.pdf and b/lectures3/es/2.3_Spanish.pdf differ diff --git a/lectures3/es/3.1_Spanish.pdf b/lectures3/es/3.1_Spanish.pdf new file mode 100644 index 00000000..fc984374 Binary files /dev/null and b/lectures3/es/3.1_Spanish.pdf differ diff --git a/lectures3/es/pdf/3.2_Spanish.pdf b/lectures3/es/3.2_Spanish.pdf similarity index 79% rename from lectures3/es/pdf/3.2_Spanish.pdf rename to lectures3/es/3.2_Spanish.pdf index 57c858e5..6aedc5b7 100644 Binary files a/lectures3/es/pdf/3.2_Spanish.pdf and b/lectures3/es/3.2_Spanish.pdf differ diff --git a/lectures3/es/pdf/4.1-Spanish.pdf b/lectures3/es/4.1-Spanish.pdf similarity index 78% rename from lectures3/es/pdf/4.1-Spanish.pdf rename to lectures3/es/4.1-Spanish.pdf index 91feffc1..c33497b1 100644 Binary files a/lectures3/es/pdf/4.1-Spanish.pdf and b/lectures3/es/4.1-Spanish.pdf differ diff --git a/lectures3/es/pdf/4.2_Spanish.pdf b/lectures3/es/4.2_Spanish.pdf similarity index 79% rename from lectures3/es/pdf/4.2_Spanish.pdf rename to lectures3/es/4.2_Spanish.pdf index 1cc18a33..102de5e5 100644 Binary files a/lectures3/es/pdf/4.2_Spanish.pdf and b/lectures3/es/4.2_Spanish.pdf differ diff --git a/lectures3/es/pdf/5.1_Spanish.pdf b/lectures3/es/5.1_Spanish.pdf similarity index 70% rename from lectures3/es/pdf/5.1_Spanish.pdf rename to lectures3/es/5.1_Spanish.pdf index a0fa0416..6903c346 100644 Binary files a/lectures3/es/pdf/5.1_Spanish.pdf and b/lectures3/es/5.1_Spanish.pdf differ diff --git a/lectures3/es/pdf/5.2_Spanish.pdf b/lectures3/es/5.2_Spanish.pdf similarity index 79% rename from lectures3/es/pdf/5.2_Spanish.pdf rename to lectures3/es/5.2_Spanish.pdf index 635c1dbb..6f406d97 100644 Binary files a/lectures3/es/pdf/5.2_Spanish.pdf and b/lectures3/es/5.2_Spanish.pdf differ diff --git a/lectures3/es/pdf/5.3_Spanish.pdf b/lectures3/es/5.3_Spanish.pdf similarity index 80% rename from lectures3/es/pdf/5.3_Spanish.pdf rename to lectures3/es/5.3_Spanish.pdf index 9ba3af82..fcd3b8a3 100644 Binary files a/lectures3/es/pdf/5.3_Spanish.pdf and b/lectures3/es/5.3_Spanish.pdf differ diff --git a/lectures3/es/pdf/5.4_Spanish.pdf b/lectures3/es/5.4_Spanish.pdf similarity index 79% rename from lectures3/es/pdf/5.4_Spanish.pdf rename to lectures3/es/5.4_Spanish.pdf index de501577..2b834755 100644 Binary files a/lectures3/es/pdf/5.4_Spanish.pdf and b/lectures3/es/5.4_Spanish.pdf differ diff --git a/lectures3/es/pdf/1.1_Spanish.pdf b/lectures3/es/pdf/1.1_Spanish.pdf deleted file mode 100644 index 93da90dd..00000000 Binary files a/lectures3/es/pdf/1.1_Spanish.pdf and /dev/null differ diff --git a/lectures3/es/pdf/1.2_Spanish.pdf b/lectures3/es/pdf/1.2_Spanish.pdf deleted file mode 100644 index 93338826..00000000 Binary files a/lectures3/es/pdf/1.2_Spanish.pdf and /dev/null differ diff --git a/lectures3/es/pdf/3.1_Spanish.pdf b/lectures3/es/pdf/3.1_Spanish.pdf deleted file mode 100644 index fe19d3ac..00000000 Binary files a/lectures3/es/pdf/3.1_Spanish.pdf and /dev/null differ diff --git a/lectures3/gr/Pythonlearn-01-Intro.pdf b/lectures3/gr/Pythonlearn-01-Intro.pdf new file mode 100644 index 00000000..32625409 Binary files /dev/null and b/lectures3/gr/Pythonlearn-01-Intro.pdf differ diff --git a/lectures3/gr/pdf/Pythonlearn-02-Expressions.pdf b/lectures3/gr/Pythonlearn-02-Expressions.pdf similarity index 70% rename from lectures3/gr/pdf/Pythonlearn-02-Expressions.pdf rename to lectures3/gr/Pythonlearn-02-Expressions.pdf index 2f7665b1..34b1f166 100644 Binary files a/lectures3/gr/pdf/Pythonlearn-02-Expressions.pdf and b/lectures3/gr/Pythonlearn-02-Expressions.pdf differ diff --git a/lectures3/gr/Pythonlearn-03-Conditional.pdf b/lectures3/gr/Pythonlearn-03-Conditional.pdf new file mode 100644 index 00000000..4d5db0ea Binary files /dev/null and b/lectures3/gr/Pythonlearn-03-Conditional.pdf differ diff --git a/lectures3/gr/pdf/Pythonlearn-04-Functions.pdf b/lectures3/gr/Pythonlearn-04-Functions.pdf similarity index 70% rename from lectures3/gr/pdf/Pythonlearn-04-Functions.pdf rename to lectures3/gr/Pythonlearn-04-Functions.pdf index 86543770..411bb5eb 100644 Binary files a/lectures3/gr/pdf/Pythonlearn-04-Functions.pdf and b/lectures3/gr/Pythonlearn-04-Functions.pdf differ diff --git a/lectures3/gr/pdf/Pythonlearn-05-Iterations.pdf b/lectures3/gr/Pythonlearn-05-Iterations.pdf similarity index 70% rename from lectures3/gr/pdf/Pythonlearn-05-Iterations.pdf rename to lectures3/gr/Pythonlearn-05-Iterations.pdf index e4b0f77c..590272b2 100644 Binary files a/lectures3/gr/pdf/Pythonlearn-05-Iterations.pdf and b/lectures3/gr/Pythonlearn-05-Iterations.pdf differ diff --git a/lectures3/gr/pdf/Pythonlearn-06-Strings.pdf b/lectures3/gr/Pythonlearn-06-Strings.pdf similarity index 72% rename from lectures3/gr/pdf/Pythonlearn-06-Strings.pdf rename to lectures3/gr/Pythonlearn-06-Strings.pdf index cb9d764e..5f2bbbc5 100644 Binary files a/lectures3/gr/pdf/Pythonlearn-06-Strings.pdf and b/lectures3/gr/Pythonlearn-06-Strings.pdf differ diff --git a/lectures3/gr/Pythonlearn-07-Files.pdf b/lectures3/gr/Pythonlearn-07-Files.pdf new file mode 100644 index 00000000..1b12723a Binary files /dev/null and b/lectures3/gr/Pythonlearn-07-Files.pdf differ diff --git a/lectures3/gr/pdf/Pythonlearn-08-Lists.pdf b/lectures3/gr/Pythonlearn-08-Lists.pdf similarity index 61% rename from lectures3/gr/pdf/Pythonlearn-08-Lists.pdf rename to lectures3/gr/Pythonlearn-08-Lists.pdf index 52cfbf5c..3d757d8f 100644 Binary files a/lectures3/gr/pdf/Pythonlearn-08-Lists.pdf and b/lectures3/gr/Pythonlearn-08-Lists.pdf differ diff --git a/lectures3/gr/Pythonlearn-09-Dictionaries.pdf b/lectures3/gr/Pythonlearn-09-Dictionaries.pdf new file mode 100644 index 00000000..871563af Binary files /dev/null and b/lectures3/gr/Pythonlearn-09-Dictionaries.pdf differ diff --git a/lectures3/gr/pdf/Pythonlearn-10-Tuples.pdf b/lectures3/gr/Pythonlearn-10-Tuples.pdf similarity index 64% rename from lectures3/gr/pdf/Pythonlearn-10-Tuples.pdf rename to lectures3/gr/Pythonlearn-10-Tuples.pdf index 214df968..5c90b32a 100644 Binary files a/lectures3/gr/pdf/Pythonlearn-10-Tuples.pdf and b/lectures3/gr/Pythonlearn-10-Tuples.pdf differ diff --git a/lectures3/gr/Pythonlearn-11-Regex.pdf b/lectures3/gr/Pythonlearn-11-Regex.pdf new file mode 100644 index 00000000..ccf01698 Binary files /dev/null and b/lectures3/gr/Pythonlearn-11-Regex.pdf differ diff --git a/lectures3/gr/Pythonlearn-12-HTTP.pdf b/lectures3/gr/Pythonlearn-12-HTTP.pdf new file mode 100644 index 00000000..88344c59 Binary files /dev/null and b/lectures3/gr/Pythonlearn-12-HTTP.pdf differ diff --git a/lectures3/gr/Pythonlearn-13-WebServices.pdf b/lectures3/gr/Pythonlearn-13-WebServices.pdf new file mode 100644 index 00000000..f6167e71 Binary files /dev/null and b/lectures3/gr/Pythonlearn-13-WebServices.pdf differ diff --git a/lectures3/gr/Pythonlearn-14-Objects.pdf b/lectures3/gr/Pythonlearn-14-Objects.pdf new file mode 100644 index 00000000..5201c396 Binary files /dev/null and b/lectures3/gr/Pythonlearn-14-Objects.pdf differ diff --git a/lectures3/gr/Pythonlearn-15-Databases.pdf b/lectures3/gr/Pythonlearn-15-Databases.pdf new file mode 100644 index 00000000..3240dcac Binary files /dev/null and b/lectures3/gr/Pythonlearn-15-Databases.pdf differ diff --git a/lectures3/gr/Pythonlearn-16-Data-Viz.pdf b/lectures3/gr/Pythonlearn-16-Data-Viz.pdf new file mode 100644 index 00000000..76e796d6 Binary files /dev/null and b/lectures3/gr/Pythonlearn-16-Data-Viz.pdf differ diff --git a/lectures3/gr/pdf/intro-wrapup.pdf b/lectures3/gr/intro-wrapup.pdf similarity index 99% rename from lectures3/gr/pdf/intro-wrapup.pdf rename to lectures3/gr/intro-wrapup.pdf index 13c7ae3d..7e0d3fa1 100644 Binary files a/lectures3/gr/pdf/intro-wrapup.pdf and b/lectures3/gr/intro-wrapup.pdf differ diff --git a/lectures3/gr/pdf/Pythonlearn-01-Intro.pdf b/lectures3/gr/pdf/Pythonlearn-01-Intro.pdf deleted file mode 100644 index 6cfcdba7..00000000 Binary files a/lectures3/gr/pdf/Pythonlearn-01-Intro.pdf and /dev/null differ diff --git a/lectures3/gr/pdf/Pythonlearn-03-Conditional.pdf b/lectures3/gr/pdf/Pythonlearn-03-Conditional.pdf deleted file mode 100644 index 2123af5f..00000000 Binary files a/lectures3/gr/pdf/Pythonlearn-03-Conditional.pdf and /dev/null differ diff --git a/lectures3/gr/pdf/Pythonlearn-07-Files.pdf b/lectures3/gr/pdf/Pythonlearn-07-Files.pdf deleted file mode 100644 index 197c6cfe..00000000 Binary files a/lectures3/gr/pdf/Pythonlearn-07-Files.pdf and /dev/null differ diff --git a/lectures3/gr/pdf/Pythonlearn-09-Dictionaries.pdf b/lectures3/gr/pdf/Pythonlearn-09-Dictionaries.pdf deleted file mode 100644 index 31db1da5..00000000 Binary files a/lectures3/gr/pdf/Pythonlearn-09-Dictionaries.pdf and /dev/null differ diff --git a/lectures3/gr/pdf/Pythonlearn-11-Regex.pdf b/lectures3/gr/pdf/Pythonlearn-11-Regex.pdf deleted file mode 100644 index 89872c83..00000000 Binary files a/lectures3/gr/pdf/Pythonlearn-11-Regex.pdf and /dev/null differ diff --git a/lectures3/gr/pdf/Pythonlearn-12-HTTP.pdf b/lectures3/gr/pdf/Pythonlearn-12-HTTP.pdf deleted file mode 100644 index 481e5b03..00000000 Binary files a/lectures3/gr/pdf/Pythonlearn-12-HTTP.pdf and /dev/null differ diff --git a/lectures3/gr/pdf/Pythonlearn-13-WebServices.pdf b/lectures3/gr/pdf/Pythonlearn-13-WebServices.pdf deleted file mode 100644 index 2ea7f7bb..00000000 Binary files a/lectures3/gr/pdf/Pythonlearn-13-WebServices.pdf and /dev/null differ diff --git a/lectures3/gr/pdf/Pythonlearn-14-Objects.pdf b/lectures3/gr/pdf/Pythonlearn-14-Objects.pdf deleted file mode 100644 index d065c73e..00000000 Binary files a/lectures3/gr/pdf/Pythonlearn-14-Objects.pdf and /dev/null differ diff --git a/lectures3/gr/pdf/Pythonlearn-15-Databases.pdf b/lectures3/gr/pdf/Pythonlearn-15-Databases.pdf deleted file mode 100644 index aa564df8..00000000 Binary files a/lectures3/gr/pdf/Pythonlearn-15-Databases.pdf and /dev/null differ diff --git a/lectures3/gr/pdf/Pythonlearn-16-Data-Viz.pdf b/lectures3/gr/pdf/Pythonlearn-16-Data-Viz.pdf deleted file mode 100644 index e25fdcb6..00000000 Binary files a/lectures3/gr/pdf/Pythonlearn-16-Data-Viz.pdf and /dev/null differ diff --git a/lectures3/ru/Pythonlearn-01-Intro.pdf b/lectures3/ru/Pythonlearn-01-Intro.pdf new file mode 100644 index 00000000..37dcae38 Binary files /dev/null and b/lectures3/ru/Pythonlearn-01-Intro.pdf differ diff --git a/lectures3/ru/pdf/Pythonlearn-02-Expressions.pdf b/lectures3/ru/Pythonlearn-02-Expressions.pdf similarity index 69% rename from lectures3/ru/pdf/Pythonlearn-02-Expressions.pdf rename to lectures3/ru/Pythonlearn-02-Expressions.pdf index 039449b7..d207d8fa 100644 Binary files a/lectures3/ru/pdf/Pythonlearn-02-Expressions.pdf and b/lectures3/ru/Pythonlearn-02-Expressions.pdf differ diff --git a/lectures3/ru/Pythonlearn-03-Conditional.pdf b/lectures3/ru/Pythonlearn-03-Conditional.pdf new file mode 100644 index 00000000..1ca99519 Binary files /dev/null and b/lectures3/ru/Pythonlearn-03-Conditional.pdf differ diff --git a/lectures3/ru/pdf/Pythonlearn-04-Functions.pdf b/lectures3/ru/Pythonlearn-04-Functions.pdf similarity index 69% rename from lectures3/ru/pdf/Pythonlearn-04-Functions.pdf rename to lectures3/ru/Pythonlearn-04-Functions.pdf index 443002de..3fa12ed2 100644 Binary files a/lectures3/ru/pdf/Pythonlearn-04-Functions.pdf and b/lectures3/ru/Pythonlearn-04-Functions.pdf differ diff --git a/lectures3/ru/pdf/Pythonlearn-05-Iterations.pdf b/lectures3/ru/Pythonlearn-05-Iterations.pdf similarity index 70% rename from lectures3/ru/pdf/Pythonlearn-05-Iterations.pdf rename to lectures3/ru/Pythonlearn-05-Iterations.pdf index d0868882..66b0b930 100644 Binary files a/lectures3/ru/pdf/Pythonlearn-05-Iterations.pdf and b/lectures3/ru/Pythonlearn-05-Iterations.pdf differ diff --git a/lectures3/ru/Pythonlearn-06-Strings.pdf b/lectures3/ru/Pythonlearn-06-Strings.pdf new file mode 100644 index 00000000..1ea983cc Binary files /dev/null and b/lectures3/ru/Pythonlearn-06-Strings.pdf differ diff --git a/lectures3/ru/Pythonlearn-07-Files.pdf b/lectures3/ru/Pythonlearn-07-Files.pdf new file mode 100644 index 00000000..0a7714eb Binary files /dev/null and b/lectures3/ru/Pythonlearn-07-Files.pdf differ diff --git a/lectures3/ru/pdf/Pythonlearn-08-Lists.pdf b/lectures3/ru/Pythonlearn-08-Lists.pdf similarity index 61% rename from lectures3/ru/pdf/Pythonlearn-08-Lists.pdf rename to lectures3/ru/Pythonlearn-08-Lists.pdf index a6cd4830..c627411a 100644 Binary files a/lectures3/ru/pdf/Pythonlearn-08-Lists.pdf and b/lectures3/ru/Pythonlearn-08-Lists.pdf differ diff --git a/lectures3/ru/Pythonlearn-09-Dictionaries.pdf b/lectures3/ru/Pythonlearn-09-Dictionaries.pdf new file mode 100644 index 00000000..110d20d8 Binary files /dev/null and b/lectures3/ru/Pythonlearn-09-Dictionaries.pdf differ diff --git a/lectures3/ru/pdf/Pythonlearn-10-Tuples.pdf b/lectures3/ru/Pythonlearn-10-Tuples.pdf similarity index 65% rename from lectures3/ru/pdf/Pythonlearn-10-Tuples.pdf rename to lectures3/ru/Pythonlearn-10-Tuples.pdf index 33dd7a43..a0a8a919 100644 Binary files a/lectures3/ru/pdf/Pythonlearn-10-Tuples.pdf and b/lectures3/ru/Pythonlearn-10-Tuples.pdf differ diff --git a/lectures3/ru/pdf/Pythonlearn-11-Regex.pdf b/lectures3/ru/Pythonlearn-11-Regex.pdf similarity index 65% rename from lectures3/ru/pdf/Pythonlearn-11-Regex.pdf rename to lectures3/ru/Pythonlearn-11-Regex.pdf index c3faa0c9..4804e732 100644 Binary files a/lectures3/ru/pdf/Pythonlearn-11-Regex.pdf and b/lectures3/ru/Pythonlearn-11-Regex.pdf differ diff --git a/lectures3/ru/Pythonlearn-12-HTTP.pdf b/lectures3/ru/Pythonlearn-12-HTTP.pdf new file mode 100644 index 00000000..ff45e2e3 Binary files /dev/null and b/lectures3/ru/Pythonlearn-12-HTTP.pdf differ diff --git a/lectures3/ru/Pythonlearn-13-WebServices.pdf b/lectures3/ru/Pythonlearn-13-WebServices.pdf new file mode 100644 index 00000000..e5f5ea98 Binary files /dev/null and b/lectures3/ru/Pythonlearn-13-WebServices.pdf differ diff --git a/lectures3/ru/Pythonlearn-14-Objects.pdf b/lectures3/ru/Pythonlearn-14-Objects.pdf new file mode 100644 index 00000000..7ada57cf Binary files /dev/null and b/lectures3/ru/Pythonlearn-14-Objects.pdf differ diff --git a/lectures3/ru/Pythonlearn-15-Databases.pdf b/lectures3/ru/Pythonlearn-15-Databases.pdf new file mode 100644 index 00000000..3d799d20 Binary files /dev/null and b/lectures3/ru/Pythonlearn-15-Databases.pdf differ diff --git a/lectures3/ru/Pythonlearn-16-Data-Viz.pdf b/lectures3/ru/Pythonlearn-16-Data-Viz.pdf new file mode 100644 index 00000000..26c83c3e Binary files /dev/null and b/lectures3/ru/Pythonlearn-16-Data-Viz.pdf differ diff --git a/lectures3/ru/pdf/Pythonlearn-01-Intro.pdf b/lectures3/ru/pdf/Pythonlearn-01-Intro.pdf deleted file mode 100644 index 26e56783..00000000 Binary files a/lectures3/ru/pdf/Pythonlearn-01-Intro.pdf and /dev/null differ diff --git a/lectures3/ru/pdf/Pythonlearn-03-Conditional.pdf b/lectures3/ru/pdf/Pythonlearn-03-Conditional.pdf deleted file mode 100644 index e9c0d19a..00000000 Binary files a/lectures3/ru/pdf/Pythonlearn-03-Conditional.pdf and /dev/null differ diff --git a/lectures3/ru/pdf/Pythonlearn-06-Strings.pdf b/lectures3/ru/pdf/Pythonlearn-06-Strings.pdf deleted file mode 100644 index 2ff27e8f..00000000 Binary files a/lectures3/ru/pdf/Pythonlearn-06-Strings.pdf and /dev/null differ diff --git a/lectures3/ru/pdf/Pythonlearn-07-Files.pdf b/lectures3/ru/pdf/Pythonlearn-07-Files.pdf deleted file mode 100644 index 6b6f2987..00000000 Binary files a/lectures3/ru/pdf/Pythonlearn-07-Files.pdf and /dev/null differ diff --git a/lectures3/ru/pdf/Pythonlearn-09-Dictionaries.pdf b/lectures3/ru/pdf/Pythonlearn-09-Dictionaries.pdf deleted file mode 100644 index 0d2e03af..00000000 Binary files a/lectures3/ru/pdf/Pythonlearn-09-Dictionaries.pdf and /dev/null differ diff --git a/lectures3/ru/pdf/Pythonlearn-12-HTTP.pdf b/lectures3/ru/pdf/Pythonlearn-12-HTTP.pdf deleted file mode 100644 index f313fa09..00000000 Binary files a/lectures3/ru/pdf/Pythonlearn-12-HTTP.pdf and /dev/null differ diff --git a/lectures3/ru/pdf/Pythonlearn-13-WebServices.pdf b/lectures3/ru/pdf/Pythonlearn-13-WebServices.pdf deleted file mode 100644 index 62f6d749..00000000 Binary files a/lectures3/ru/pdf/Pythonlearn-13-WebServices.pdf and /dev/null differ diff --git a/lectures3/ru/pdf/Pythonlearn-14-Objects.pdf b/lectures3/ru/pdf/Pythonlearn-14-Objects.pdf deleted file mode 100644 index 9ad7dc4d..00000000 Binary files a/lectures3/ru/pdf/Pythonlearn-14-Objects.pdf and /dev/null differ diff --git a/lectures3/ru/pdf/Pythonlearn-15-Databases.pdf b/lectures3/ru/pdf/Pythonlearn-15-Databases.pdf deleted file mode 100644 index 18817413..00000000 Binary files a/lectures3/ru/pdf/Pythonlearn-15-Databases.pdf and /dev/null differ diff --git a/lectures3/ru/pdf/Pythonlearn-16-Data-Viz.pdf b/lectures3/ru/pdf/Pythonlearn-16-Data-Viz.pdf deleted file mode 100644 index de5f2b86..00000000 Binary files a/lectures3/ru/pdf/Pythonlearn-16-Data-Viz.pdf and /dev/null differ diff --git a/lectures3/ua/Pythonlearn-01-Intro.pdf b/lectures3/ua/Pythonlearn-01-Intro.pdf new file mode 100644 index 00000000..30a2072e Binary files /dev/null and b/lectures3/ua/Pythonlearn-01-Intro.pdf differ diff --git a/lectures3/ua/pdf/Pythonlearn-02-Expressions.pdf b/lectures3/ua/Pythonlearn-02-Expressions.pdf similarity index 71% rename from lectures3/ua/pdf/Pythonlearn-02-Expressions.pdf rename to lectures3/ua/Pythonlearn-02-Expressions.pdf index 603910c2..208531ba 100644 Binary files a/lectures3/ua/pdf/Pythonlearn-02-Expressions.pdf and b/lectures3/ua/Pythonlearn-02-Expressions.pdf differ diff --git a/lectures3/ua/pdf/Pythonlearn-03-Conditional.pdf b/lectures3/ua/Pythonlearn-03-Conditional.pdf similarity index 76% rename from lectures3/ua/pdf/Pythonlearn-03-Conditional.pdf rename to lectures3/ua/Pythonlearn-03-Conditional.pdf index 7b6786c8..0f194e9a 100644 Binary files a/lectures3/ua/pdf/Pythonlearn-03-Conditional.pdf and b/lectures3/ua/Pythonlearn-03-Conditional.pdf differ diff --git a/lectures3/ua/pdf/Pythonlearn-01-Intro.pdf b/lectures3/ua/pdf/Pythonlearn-01-Intro.pdf deleted file mode 100644 index afbac5b6..00000000 Binary files a/lectures3/ua/pdf/Pythonlearn-01-Intro.pdf and /dev/null differ