You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is an open source virtualization technology used to operate on x86 hardware.
2000
+
2001
+
From the official [docs](https://www.linux-kvm.org/page/Main_Page)
2002
+
Recommended read:
2003
+
*[Red Hat Article - What is KVM?](https://www.redhat.com/en/topics/virtualization/what-is-KVM)
2004
+
</b></details>
2005
+
2006
+
<details>
2007
+
<summary>What is Libvirt?</summary><br><b>
2008
+
2009
+
It's an open source collection of software used to manage virtual machines. It can be used with: KVM, Xen, LXC and others. It's also called Libvirt Virtualization API.
@@ -4255,11 +4288,32 @@ PEP8 is a list of coding conventions and style guidelines for Python
4255
4288
#### Flask
4256
4289
4257
4290
<details>
4258
-
<summary>Can you describe what is Django/Flask and how you have used it? Why Flask and not Djano? (or vice versa)</summary><br><b>
4291
+
<summary>Can you describe what is Django/Flask and how you have used it? Why Flask and not Django? (or vice versa)</summary><br><b>
4259
4292
</b></details>
4260
4293
4261
4294
<details>
4262
4295
<summary>What is a route?</summary><br><b>
4296
+
As every web framework, Flask provides a route functionality that lets you serve a content of a given URL.
4297
+
4298
+
There are multiple ways to map a URL with a function in Python.
4299
+
4300
+
- Decorator: you can use python decorators. In this case we're using `app`. This `app` decorator is the instance of the `Flask` class. And route it's a method of this class.
4301
+
4302
+
```
4303
+
@app.route('/')
4304
+
def home():
4305
+
return 'main website'
4306
+
```
4307
+
4308
+
-`add_url_rule` method: This is a method of the Flask class. We can also use it for map the URL with a function.
0 commit comments