Durchsuchen nach
Schlagwort: getpass

To import a CSV file into a MariaDB database

To import a CSV file into a MariaDB database

Here is a little script to import a CSV file into a database. But it is not for a server. This is a standalone program. If you want to program it for a server, then you should use another method as with getpass, because getpass is waiting for an input. It is not useful, that you should enter every time a passport if you want to automate the process. If you downloaded a CSV file from the internet, and you…

Weiterlesen Weiterlesen

Python MySQL create a database and a table

Python MySQL create a database and a table

This is a Python script in order to create first the database in MySQL and then a table with different values in one step. It is useful, then you don’t need to do it in two steps. Möchtet Ihr mehr wissen? Ich verkaufe auch Bücher rund um Linux über Amazon. Meine Auswahl an Büchern findet Ihr in meinem Amazon Shop als E-Book oder als gedruckte Ausgabe. What is the requirement for the script Installation of Python Windows and Mac For…

Weiterlesen Weiterlesen