Durchsuchen nach
Kategorie: Informatik

Alles was mit der Informatik zu tun hat

MongoDB Export von einer Datenbank ins CSV-Format

MongoDB Export von einer Datenbank ins CSV-Format

Was ist MongoDB? MongoDB ist wie eine sehr große, flexible Schubladenkommode für deine Daten. Stell dir vor, jede Schublade ist eine Art Ordner, den wir „Collection“ nennen. In diese Ordner kannst du Informationen ablegen, die zusammengehören, zum Beispiel alle Kundendaten oder alle Produktinformationen. Das Besondere ist, dass du in diese „Ordner“ nicht nur Zettel mit immer gleichen Feldern legen musst. Jeder „Zettel“ (wir nennen ihn „Dokument“) kann ganz anders aussehen und unterschiedliche Informationen enthalten. Das macht MongoDB sehr flexibel, wenn…

Weiterlesen Weiterlesen

How to connect with a database via Python Pandas

How to connect with a database via Python Pandas

The requirement Then go to your commandline and type in The code Wahlen = elections. It is a database about the elections results in my home town here in Essen until 2005. The video to the script Here is my video (13:57 minutes) on my YouTube channel about it, You can subscribe it, if you want

Python 3.13 How to check how many pages a PDF file has

Python 3.13 How to check how many pages a PDF file has

In order to do this, you need the Python module PyPDF2. You install it with pip3 install PyPDF2 Then it is important for this code here, you have the version PyPDF2 Version 3.0.1 If not then you have to update the module because the programmer of the tool has changed a command within the module In the foreign version the command PdfFileReader was the correct command but now in version 3.0.1 the command PdfReader is the correct one, otherwise this…

Weiterlesen Weiterlesen

error: Content is protected !!