Course: Advanced Python Topics
duration: 7 hours |
Language: English (US) |
access duration: 180 days |
Details
During this course, you will improve your Python skills in order to perform advanced operations. You’ll start by exploring files operations and functions and how to simplify working with them. You’ll move on to different types of exceptions that can be raised in Python and how they can be handled with except blocks. In addition, you’ll explore execution of Python scripts from the command line, including use and parsing of command-line argument. You’ll also learn about built-in Python modules that allow you to perform many common operations without having to write the associated code. And you will discover how to activate and run Python scripts from within virtual environments, and then install different packages in different virtual environments and recognize how they are isolated from each other. Finally, you’ll discover key differences between Python 2 and Python 3 and you’ll learn how to perform a Python 2 migration to Python 3.
Result
After completing this course, you know how to use advanced Python functions for file operations, exceptions, command line arguments, Python modules, and Virtual Environment and how to migrate form Python 2 to Python 3.
Prerequisites
No formal prerequisites. However, some prior knowledge about Python is recommended.
Target audience
Software Developer, Web Developer
Content
Advanced Python Topics
Advanced Python Topics: File Operations in Python
Python includes functions and modules that simplify working with
- files. In this 11-video course, explore operations for standard
- text files and handling of formatted data such as JSON and CSV by
- using Python modules designed for such data. Learners begin with a
- look at some of the file operations in Python. Use Python's open
- function to open a file for reading, and differentiate between the
- read(), readline(), and readlines() functions. View differences
- between opening a file in write mode and append mode in Python.
- This leads on to distinguishing between the r+ and a+ modes to read
- from and write to a file; using load and loads functions of the
- json module to parse JSON data, and converting Python dictionaries
- and lists into JSON strings and files. Next, learn how to identify
- file formats that can be handled by the CSV module in Python, and
- convert Python dictionaries and lists into CSV files. The final
- tutorial concerns defining a customized file format, creating a CSV
- dialect, and using that to parse and write data.
Advanced Python Topics: Exceptions & Command Line Arguments
In this 11-video course, learners can examine different types of
- exceptions that can be raised in Python and how they can be handled
- with except blocks. Explore execution of Python scripts from the
- command line, including use and parsing of command-line arguments.
- To begin, use a try and except block to handle a Python exception,
- then learn how to handle exceptions that your code may raise.
- Explore how exceptions are defined in a hierarchy and how related
- exceptions are caught and handled. Next, define multiple except
- blocks to handle various exceptions that can be raised by code;
- convert code prototyped in a Jupyter notebook into a Python script
- that can be executed from a shell, and run code from the Python
- shell and execute single-line and multi-line commands. Learn about
- parsing command line arguments, and use the sys and argparse module
- to access command-line arguments to a Python script, then parse and
- use the arguments passed to a Python script from the command line.
- Finally, learn to define command-line arguments by using
- argparse.
Advanced Python Topics: Python Modules & Virtual Environments
Advanced Python Topics: Migrating from Python 2 to Python 3
Course options
We offer several optional training products to enhance your learning experience. If you are planning to use our training course in preperation for an official exam then whe highly recommend using these optional training products to ensure an optimal learning experience. Sometimes there is only a practice exam or/and practice lab available.
Optional practice exam (trial exam)
To supplement this training course you may add a special practice exam. This practice exam comprises a number of trial exams which are very similar to the real exam, both in terms of form and content. This is the ultimate way to test whether you are ready for the exam.
Optional practice lab
To supplement this training course you may add a special practice lab. You perform the tasks on real hardware and/or software applicable to your Lab. The labs are fully hosted in our cloud. The only thing you need to use our practice labs is a web browser. In the LiveLab environment you will find exercises which you can start immediately. The lab enviromentconsist of complete networks containing for example, clients, servers,etc. This is the ultimate way to gain extensive hands-on experience.
Sign In
WHY_ICTTRAININGEN
Via ons opleidingsconcept bespaar je tot 80% op trainingen
Start met leren wanneer je wilt. Je bepaalt zelf het gewenste tempo
Spar met medecursisten en profileer je als autoriteit in je vakgebied.
Ontvang na succesvolle afronding van je cursus het officiële certificaat van deelname van Icttrainingen.nl
Krijg inzicht in uitgebreide voortgangsinformatie van jezelf of je medewerkers
Kennis opdoen met interactieve e-learning en uitgebreide praktijkopdrachten door gecertificeerde docenten
Orderproces
Once we have processed your order and payment, we will give you access to your courses. If you still have any questions about our ordering process, please refer to the button below.
read more about the order process
Een zakelijk account aanmaken
Wanneer u besteld namens uw bedrijf doet u er goed aan om aan zakelijk account bij ons aan te maken. Tijdens het registratieproces kunt u hiervoor kiezen. U heeft vervolgens de mogelijkheden om de bedrijfsgegevens in te voeren, een referentie en een afwijkend factuuradres toe te voegen.
Betaalmogelijkheden
U heeft bij ons diverse betaalmogelijkheden. Bij alle betaalopties ontvangt u sowieso een factuur na de bestelling. Gaat uw werkgever betalen, dan kiest u voor betaling per factuur.
Cursisten aanmaken
Als u een zakelijk account heeft aangemaakt dan heeft u de optie om cursisten/medewerkers aan te maken onder uw account. Als u dus meerdere trainingen koopt, kunt u cursisten aanmaken en deze vervolgens uitdelen aan uw collega’s. De cursisten krijgen een e-mail met inloggegevens wanneer zij worden aangemaakt en wanneer zij een training hebben gekregen.
Voortgangsinformatie
Met een zakelijk account bent u automatisch beheerder van uw organisatie en kunt u naast cursisten ook managers aanmaken. Beheerders en managers kunnen tevens voortgang inzien van alle cursisten binnen uw organisatie.
What is included?
Certificate of participation | Yes |
Monitor Progress | Yes |
Award Winning E-learning | Yes |
Mobile ready | Yes |
Sharing knowledge | Unlimited access to our IT professionals community |
Study advice | Our consultants are here for you to advice about your study career and options |
Study materials | Certified teachers with in depth knowledge about the subject. |
Service | World's best service |
Platform
Na bestelling van je training krijg je toegang tot ons innovatieve leerplatform. Hier vind je al je gekochte (of gevolgde) trainingen, kan je eventueel cursisten aanmaken en krijg je toegang tot uitgebreide voortgangsinformatie.
FAQ
Niet gevonden wat je zocht? Bekijk alle vragen of neem contact op.