Final Exam: Python Journeyman

Python    |    Everyone
  • 1 video | 32s
  • Includes Assessment
  • Earns a Badge
Rating 4.2 of 9 users Rating 4.2 of 9 users (9)
This final exam will test your understanding and application of the skills covered in the Python Journeyman track of the Python Novice to Pythonista Aspire Journey.

WHAT YOU WILL LEARN

  • Use the flask debugger to record information in your application's log
    pick the tests to execute based on the test function names
    install flask in a virtual environment on your development machine
    use sql alchemy to generate relational database tables for each model defined in your application
    handle successful and unsuccessful http requests according to the status code of the response
    make a get request and explore the response object returned, which includes a status code and headers
    create and execute a coroutine using the asyncio module
    use the setup and teardown functions to define common operations for tests in a script
    define and execute multiple tests within a single test case
    recognize the conditions under which a deadlock may occur
    initialize and execute a thread in python
    using an sqlalchemy model, execute queries against tables
    summarize how semaphores can restrict the number of concurrent tasks accessing a shared resource
    modify the boilerplate css and html definitions to customize the look of a web site
    describe the implementation of threads and processes in the python language
    implement producer and consumer threads that add to and remove from a queue
    use the requests package to construct a post request that includes a set of key-value pairs to be submitted to a server
    serve a custom error page whenever a 404 error is invoked on your web site
    recognize the various pieces that can make up web applications and the role of web frameworks in defining them
    use the map function of multithreading. pool instance to submit multiple tasks to a process pool
    stop the execution of tests when there are a specific number of test failures
    download, install and configure the pycharm ide
    install sql alchemy and use it to connect the flask application to an sqlite database
    distinguish between multiprocessing and multithreading in the context of sharing data in memory
    invoke put, options, and delete requests and recognize the specific use case for each of them
    recognize when a test script will benefit from the use of fixture functions
    define, initialize, and execute a process in python
    describe multithreading and compare its performance with sequential execution of tasks
    select the tests to execute based on the test function names
    recognize what sequential execution is and what its limitations are
  • recognize what a race condition is and when it can occur with concurrent programming
    write the code for a simple "hello world" web site using flask
    write and execute a test using pytest
    install the latest version of python and write a test using the unittest framework
    convey the invocation of an operation to end-users using message flashing
    execute queries against tables using an sqlalchemy model
    create a readme file for a python module which bundles documentation and testing in a single file
    execute two threads concurrently to save time relative to a sequential execution
    recognize where doctests can be placed within source code
    write and execute a test using the doctest module
    define a script testing out multiple functions in the source using the pycharm ide
    describe the steps involved in a web request and the role of web applications in the process
    recall the features of the flask framework that are available either out of the box or via extensions
    return a custom error page whenever a 404 error is invoked on your web site
    define a route that renders an html page when a url is accessed
    use the different decorators available in unittest to conditionally and unconditionally skip specific tests
    use the bcrypt package to generate hashes of passwords so that they can be stored securely
    create a pool of processes to which tasks can be submitted
    identify the specific use cases for multithreading
    describe the different types of queue objects available in python
    install the python requests package and set up a workspace
    generate hashes of passwords using the bcrypt package
    create a condition instance that will have multiple threads waiting for data to be generated
    use the run, create_task, and gather functions in the asyncio modules to execute tasks
    generate urls dynamically using the url_for function
    set a name for a thread and ensure a thread waits for a created thread to complete
    execute tests defined in multiple scripts using pytest
    configure a route in your flask app so that post requests can be submitted to it
    make a get request and explore the response object returned
    retrieve metadata for a resource using a head request

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.6 of 28 users Rating 4.6 of 28 users (28)
Rating 3.8 of 11 users Rating 3.8 of 11 users (11)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.6 of 52 users Rating 4.6 of 52 users (52)
Rating 4.5 of 4 users Rating 4.5 of 4 users (4)
Rating 4.6 of 801 users Rating 4.6 of 801 users (801)