Install MySQL on Windows 11 and Connect with JetBrains PyCharm


What You will Learn From This Video:

1. How to Download MySQL?
2. How to Install MySQL on Windows 11?
3. How to Add MySQL Directory Location on Environment Variable? 
4. How to Install Python on Windows 11?
5. How to Connect MySQL with PyCharm Easily? 
6. How to Create MySQL Database from PyCharm?

How Python Works - পাইথন কিভাবে কাজ করে?

python working step



 📖 Seven years ago, I found myself in an interview for a Python developer position.

A seemingly simple question was thrown at me: "How does Python code work?"

Despite using Python daily, I stumbled at explaining its inner workings.

That moment ignited a quest within me to delve deeper into Python.

Today, I am excited to share this knowledge with you all. 🐍

Let's walk through a simplified guide to understanding how your Python code becomes a functioning program:

1️⃣ 𝗪𝗿𝗶𝘁𝗶𝗻𝗴 𝘁𝗵𝗲 𝗖𝗼𝗱𝗲: We start with typing out our Python program in a text editor, saving it as a '.py' file.

2️⃣ 𝗣𝘆𝘁𝗵𝗼𝗻 𝗜𝗻𝘁𝗲𝗿𝗽𝗿𝗲𝘁𝗲𝗿: When we run the program, it's sent into the Python Interpreter, which is made up of two parts:

𝗖𝗼𝗺𝗽𝗶𝗹𝗲𝗿: This part changes our Python code into something called byte code. This byte code is saved in a '.pyc' file, helping our program run faster the next time.

𝗣𝘆𝘁𝗵𝗼𝗻 𝗩𝗶𝗿𝘁𝘂𝗮𝗹 𝗠𝗮𝗰𝗵𝗶𝗻𝗲 (𝗣𝗩𝗠): The PVM uses the byte code and follows the instructions one by one until the program is finished or runs into an error.

3️⃣ 𝗟𝗶𝗯𝗿𝗮𝗿𝘆 𝗠𝗼𝗱𝘂𝗹𝗲𝘀: If our program uses library modules from Python's standard library or elsewhere, these are also changed into byte code. The PVM then uses this byte code, allowing our program to use the features of these modules.

4️⃣ 𝗙𝗿𝗼𝗺 𝗕𝘆𝘁𝗲 𝗖𝗼𝗱𝗲 𝘁𝗼 𝗠𝗮𝗰𝗵𝗶𝗻𝗲 𝗖𝗼𝗱𝗲: The PVM further converts the byte code into machine code, which is a series of 1s and 0s. This machine code is what your computer's brain, the CPU, can directly understand.

5️⃣ 𝗥𝘂𝗻𝗻𝗶𝗻𝗴 𝘁𝗵𝗲 𝗣𝗿𝗼𝗴𝗿𝗮𝗺: After the machine code is ready, your computer uses it to run your program. And there you have it! Your Python program is up and running.

Understanding the transition from Python code to a running program provides insight into how Python, as an interpreted language, bridges the gap between the high-level code we write and the low-level operations performed by a computer.

Remember, the challenging questions often lead us to the most significant growth.

So keep asking, keep learning, and keep growing.

The deeper our understanding, the better we get at solving problems. 🚀

How Python Django Works - জ্যাঙ্গো কিভাবে কাজ করে?

 

How Python Django Works?
Did you know that Instagram is made using Django despite the huge traffic that happens in this system. 

Yes django isn't the best thing from the performance side and this is clear from the picture that there is a very big trip the request takes but watch out speed is just one of thousands of factors for example security and scalability and these are two things that django is characterized by in a terrible way and for Ok, let us understand the rest of the Django working: 

First the request goes to the server and makes it a process using Nginx server which is the first stop for the request and then it goes to the WSGI process which converts the http request to the form of Python you understand it and then you receive it the middleware and this is a very normal function that rings before the request reaches its face 

For example: she makes sure that the user is authenticated or that the IP of the user is allowed or not and so on After that, we go to the URL router and this function you see the url in its shape and on the basis of which you send it to the appropriate view, and who does not know what the view means is your main function in which you receive the request and then make your logic and return the response to the user. 


How to Install Windows 11 Perfectly - Step Step Described in Way