Durchsuchen nach
Schlagwort: Python

Julia (lang) is history

Julia (lang) is history

The programming language Julia is history – for now. I had the problem, in Fedora 42, I use there only Wayland, the plotting package does not work. In the Visual Studio Code editor, yes, but sometimes I code it beside Visual Studio Code. Yes it is possible to create picture file like PNG of the plot, but this is not a solution, when I’m in the command prompt in the Bash. I had downloaded for a test the open data…

Weiterlesen Weiterlesen

MongoDB lists all databases with Python

MongoDB lists all databases with Python

You can list all created databases in MongoDB with a Python script. This Python script might also be available for Windows. The installed versions of Python, MongoDB, pymongo I have older version, what I can do? It might work with older version, but I’m not sure. Updating pymongo pip install pymongo -U What does this script do? ✅️ Checking whether MongoDB is installed on Linux and Windows ✅️ Checking whether pymongo is installed on Linux and Windows. Pymongo you for…

Weiterlesen Weiterlesen

MongoDB – Queries with Python

MongoDB – Queries with Python

This is an article for people who have already installed MongoDB on their pc and want to do more with a Python script and the database. Installed version of MongoDB What is Pymongo? Pymongo is like a toolbox that allows your Python programme to communicate with the MongoDB database. Think of it this way: MongoDB is the large chest of drawers containing your data, and Pymongo is the set of tools your Python programme needs to open drawers, insert new…

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 and then a table with different values in one step. It is useful, then you don’t need to do it in two steps. What is the requirement for the script Installation of Python Windows and Mac For this script, you need to install Python if you are on Windows and Mac. Go to the official web page of Python.org and download your package and installed like another program….

Weiterlesen Weiterlesen