- 10
- 14 829
GeekTrainer
Приєднався 1 лис 2007
Asynchronous programming in Python
When you have a long running operation in Python it'll block the main thread. This can limit scaling and responsiveness. You can update your code to use async/await to spin off a separate worker! Let's explore how to do this in under 5 minutes!
Have questions? Let me know in the comments below!
Want to support the channel? Donate to my fundraiser! main.acsevents.org/goto/geektrainer
Have questions? Let me know in the comments below!
Want to support the channel? Donate to my fundraiser! main.acsevents.org/goto/geektrainer
Переглядів: 131
Відео
Access the index of a Python for loop
Переглядів 403 місяці тому
For loops in Python are what other programming languages might refer to as a for each, where the variable is automatically assigned as you loop through the collection. But what happens if we need to know the index? Let's say you're creating a display where you need to change the color every 3rd row? Fortunately, you can use enumerate to get that index! Let's explore how to do this in under 5 mi...
Managing versions and libraries with virtual environments in Python
Переглядів 413 місяці тому
By default the command "pip install" does a global installation of the package. What happens if you're working on different projects with different versions? Answer - use virtual environments! Let's explore how to create virtual environments in Python in under 5 minutes. Have questions? Let me know in the comments below! Want to support the channel? Donate to my fundraiser! main.acsevents.org/g...
Know your data types in Python with type hints
Переглядів 743 місяці тому
One of the tricky parts of a weakly typed language (where the type of a variable is interpreted at runtime) like Python is it can lead to unnecessary runtime errors - you don't know when a parameter is incorrect until you run the code. Fortunately, with the help of type hints, we can indicate the types of parameters and variables to ensure we're using everything correctly. Let's take a few minu...
How do I get started when learning a new technology?
Переглядів 773 роки тому
Probably the most common question I get asked is how I get started. My answer is quite direct - do the thing you want to learn to do! I'll talk about some suggestions, and what got me started
What programming language should I learn first?
Переглядів 663 роки тому
This question causes many an argument, but it really shouldn't be that tough. Choosing your first programming language doesn't need to cause anxiety because there really isn't a wrong answer! I'll talk about why, and make two suggestions.
Quick overview of Python Flask
Переглядів 2654 роки тому
Flask is a great web micro-framework based on Python. As a micro-framework it gives you a web server and not a ton more, allowing you to create front ends for whatever backend you might want - artificial intelligence, machine learning models, other services, etc. I'll take a look at how you can get up and running with Flask! Resources: - Flask/VS Code tutorial: code.visualstudio.com/docs/python...
Text translation in a few lines of Python with Azure Cognitive Services
Переглядів 12 тис.4 роки тому
With Azure Cognitive Services you can translate text from one language to several others in just a few lines of code! We'll take a look at how to create the resource in Azure, obtain the sample code, and get it up and running - all in under 10 minutes! Resources: - Translator documentation: docs.microsoft.com/en-us/azure/cognitive-services/translator/?WT.mc_id=python-10851-chrhar - Python Quick...
Using async/await in JavaScript with long running operations
Переглядів 1,7 тис.4 роки тому
If you're looking for more JavaScript content, you can see aka.ms/a4s for a complete video series!
always like ur python tutorials
Thanks! Glad you like them! Let me know if you have any questions you’d like to see me answer
works nice , based tut , you can leave out from and let it autodetect
Wonderful
it is only me or this azure portal works like shit :p
clear and to the point thanks chris 🥰
Nice answer...I'm learning HTML, CSS, JavaScript and Python
I found your channel in the Microsoft Typescript Course, is fantastic and your explanations are really good!
Thanks... Explained very well.. Very Very Helpful
could you please tell me is there a difference between Microsoft Azure translator and the Microsoft translator ?. And how to use the latter in a python code ?
How to create a website with this api can u please explain 🙏🙏🙏🙏
thank you so much
thank you so much, it worked in first attempt , amazing explaination🤩😅😊😀🤗
Thanks for the example! Very useful
Thanks for the detailed video. Can you explain how to give the file path in order to covert the entire file contents?
great explanation
Thanks~~~
Great explanation!
Great example chris