itch.io is community of indie game creators and players

Devlogs

PythonWebServerWithDataExport

Wiktor Nosarzewski Praktyczne programy
A downloadable Praktyczne programy for Windows and Android

Added PythonWebServerWithDataExportWN.zip

Python Web Server with data save to txt and export to Excel file (.xlsx)

  1. First run the python file (websiteTest10).
  2. Then type http://127.0.0.1:5000 into your browser.
  3. Complete the form (note: the email must be in the text@text.text format).
  4. Press Send.
  5. A page will open with a summary of the entered values, after pressing the button the form will open again.
  6. The entered values are automatically saved to a txt file.
  7. Run the ExportToExcel-wT10 python file to export the data to Excel.

Note: in the same folder as the python scripts there must be a (e.g. empty) file called result.txt

[PL]

  1. Najpierw uruchom plik pythona (websiteTest10).
  2. Następnie wpisz http://127.0.0.1:5000 do przeglądarki.
  3. Uzupełnij formularz (uwaga: mail musi mieć format text@text.text).
  4. Naciśnij Wyślij.
  5. Otworzy się strona z podsumowaniem wprowadzonych wartości, po naciśnięciu przycisku formularz otworzy się ponownie.
  6. Wprowadzone wartości automatycznie zapisują się do pliku txt.
  7. Uruchom plik pythona ExportToExcel-wT10, aby wyeksportować dane do Excela.

Uwaga: w tym samym folderze co skrypty pythona musi się znajdować (np. pusty) plik o nazwie result.txt


Files

  • PythonWebServerWithDataExportWN.zip 15 MB
    Feb 05, 2024
Download Wiktor Nosarzewski Praktyczne programy
Leave a comment