Tag: Microsoft

Python for Beginners - Part 6 - Web API connection, Dictionary, Environment Variable and Decorator

Oct 15, 2019 2 min.

Last part of articles about the Microsoft’s Python for Beginners series. You can read the part 5 here. All the examples from the playlist are available in this GitHub repository: Python Examples. Objective You will learn how to make connect with web APIs, manipulate dictionaries, read environment variables and use decorators. A Python file was created to demonstrate each example. Topics api/post.py dictionary.py keys.py decorators.py api/post.py Making a POST request to a web API.

Python for Beginners - Part 5 - Function, Module and Virtual Environment

Oct 15, 2019 2 min.

Fifth part of articles about the Microsoft’s Python for Beginners series. You can read the part 4 here. All the examples from the playlist are available in this GitHub repository: Python Examples. Objective You will learn how to create functions, importing modules and creating virtual environments. A Python file was created to demonstrate each example. Topics function.py module.py venv.py function.py Creating functions. Executing the command below: python .

Python for Beginners - Part 4 - Conditional logic, Collection and Loop

Oct 15, 2019 1 min.

Fourth part of articles about the Microsoft’s Python for Beginners series. You can read the part 3 here. All the examples from the playlist are available in this GitHub repository: Python Examples. Objective You will learn how to work with conditional logics, collections and loops. A Python file was created to demonstrate each example. Topics conditional.py collection.py loop.py conditional.py Conditional logic examples. Running the example: python .\examples\conditional.py The result:

Python for Beginners - Part 3 - Number, Date and Error Handling

Oct 15, 2019 1 min.

Third part of articles about the Microsoft’s Python for Beginners series. You can read the part 2 here. All the examples from the playlist are available in this GitHub repository: Python Examples. Objective You will learn about the operations with numbers, dates and how to handle errors. A Python file was created to demonstrate each example. Topics number.py date.py error_handling.py number.py Ex: Testing math operations with numbers and numeric strings .

Python for Beginners - Part 2 - Input, Error and String

Oct 13, 2019 2 min.

Second part of articles about the Microsoft’s Python for Beginners series. You can read the part 1 here. All the examples from the playlist are available in this GitHub repository: Python Examples. Objective You will learn about the input function, runtime error and operations with string. A Python file was created to demonstrate each example. Topics input.py error.py strings.py input.py If you want the user interaction to obtain a value, use the input function.

Python for Beginners - Part 1 - Hello World

Oct 11, 2019 2 min.

Python is a high level program language used for multiple purposes like artificial intelligence and web applications. It has lots of similarities with JavaScript but is a lot easier and direct to the point. This guide will explain the basics about Python presented by Microsoft’s amazing playlist called Python for Beginners. Objective In this first part, you will learn how to install, configure and program in Python by using Visual Studio Code.