GeekTrainer
GeekTrainer
  • 10
  • 14 829
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
Переглядів: 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!

КОМЕНТАРІ

  • @tizuy
    @tizuy 3 місяці тому

    always like ur python tutorials

    • @GeekTrainer
      @GeekTrainer 3 місяці тому

      Thanks! Glad you like them! Let me know if you have any questions you’d like to see me answer

  • @mittenwald3679
    @mittenwald3679 10 місяців тому

    works nice , based tut , you can leave out from and let it autodetect

  • @bigheart6620
    @bigheart6620 11 місяців тому

    Wonderful

  • @CharlesSkorsky
    @CharlesSkorsky Рік тому

    it is only me or this azure portal works like shit :p

  • @yohannesassefa1354
    @yohannesassefa1354 Рік тому

    clear and to the point thanks chris 🥰

  • @jessekim2084
    @jessekim2084 Рік тому

    Nice answer...I'm learning HTML, CSS, JavaScript and Python

  • @juanguerrero0941
    @juanguerrero0941 Рік тому

    I found your channel in the Microsoft Typescript Course, is fantastic and your explanations are really good!

  • @shrutigarg471
    @shrutigarg471 Рік тому

    Thanks... Explained very well.. Very Very Helpful

  • @samad.chouihat4222
    @samad.chouihat4222 2 роки тому

    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 ?

  • @tanish_mavi
    @tanish_mavi 2 роки тому

    How to create a website with this api can u please explain 🙏🙏🙏🙏

  • @debatradas9268
    @debatradas9268 2 роки тому

    thank you so much

  • @nikhatw3811
    @nikhatw3811 2 роки тому

    thank you so much, it worked in first attempt , amazing explaination🤩😅😊😀🤗

  • @tejeoner34
    @tejeoner34 2 роки тому

    Thanks for the example! Very useful

  • @urshema
    @urshema 3 роки тому

    Thanks for the detailed video. Can you explain how to give the file path in order to covert the entire file contents?

  • @abhisheksagar5289
    @abhisheksagar5289 3 роки тому

    great explanation

  • @윤달프
    @윤달프 3 роки тому

    Thanks~~~

  • @akshayjain8302
    @akshayjain8302 3 роки тому

    Great explanation!

  • @sigmiami
    @sigmiami 4 роки тому

    Great example chris