Skip to main content

Intermediate Python

  • Chapter
  • First Online:
Artificial Intelligence with Python

Abstract

Codes covered in Basic Python were generally limited to short snippets. Intermediate Python will cover concepts that will allow codes to be reused such as developing functions, classes, objects, modules, and packages. Functions are callable modules of code that are written to take in parameters to perform a task and return a value. Decorators and closures can be applied to modify function behaviors. Objects encapsulate both variables and functions into a single entity which are defined in classes. A module in Python is a set of classes or functions that encapsulate a single, and related, set of tasks. Packages are a set of modules collected together into a single focused unit.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 69.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Teoh, T.T., Rong, Z. (2022). Intermediate Python. In: Artificial Intelligence with Python. Machine Learning: Foundations, Methodologies, and Applications. Springer, Singapore. https://doi.org/10.1007/978-981-16-8615-3_5

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-8615-3_5

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-8614-6

  • Online ISBN: 978-981-16-8615-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics