Durchsuchen nach
Kategorie: Informatik

Alles was mit der Informatik zu tun hat

MongoDB Such history – Datei

MongoDB Such history – Datei

Meine aktuelle Version von MongoDB und MongoShell: MongoDB: 7.0.25Mongosh: 2.5.9 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…

Weiterlesen Weiterlesen

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

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