Skip to the content
  • "The more that you read, the more things you will know. The more that you learn, the more places you'll go." - Dr. Seuss
Get Started
Imagine
Digital Landscapes for your personal wonder
  • About
  • Blog
  • CS Knowledge Base
  • Ebooks
  • Embed Link
  • Home
  • Imagine Blog
  • Links
  • OmniVision
  • About
  • Blog
  • CS Knowledge Base
  • Ebooks
  • Embed Link
  • Home
  • Imagine Blog
  • Links
  • OmniVision

CS Knowledge Base

  • Home
  • CS Knowledge Base
Python logo

Previous topic

Defining extension modules

Next topic

Operating System Utilities

This page

  • Report a bug
  • Improve this page
  • Show source

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python logo
  • Python »
  • 3.14.6 Documentation »
  • Python/C API reference manual »
  • Utilities
  • |
  • |

Utilities¶

The functions in this chapter perform various utility tasks, ranging from helping C code be more portable across platforms, using Python modules from C, and parsing function arguments and constructing Python values from C values.

  • Operating System Utilities
  • System Functions
  • Process Control
  • Importing Modules
  • Data marshalling support
  • Parsing arguments and building values
    • Parsing arguments
      • Strings and buffers
      • Numbers
      • Other objects
      • API Functions
    • Building values
  • String conversion and formatting
  • Character classification and conversion
  • PyHash API
  • Reflection
  • Codec registry and support functions
    • Codec lookup API
    • Registry API for Unicode encoding error handlers
    • Codec utility variables
  • PyTime C API
    • Types
    • Clock Functions
    • Raw Clock Functions
    • Conversion functions
  • Support for Perf Maps

Previous topic

Defining extension modules

Next topic

Operating System Utilities

This page

  • Report a bug
  • Improve this page
  • Show source
«

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python logo
  • Python »
  • 3.14.6 Documentation »
  • Python/C API reference manual »
  • Utilities
  • |
  • |
© Copyright 2001 Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

Last updated on Jun 20, 2026 (17:02 UTC). Found a bug?
Created using Sphinx 8.2.3.

Search

Recent Posts

  • Digital Art by Dasha K.
  • Music Lab: Jam Session by Simon S.
  • AP Computer Science Principles A – Slide Decks
  • What determines our intelligence
  • The Learning Zone

Archives

  • September 2025
  • July 2025
  • June 2025

Quick contact info

Lorem ipsum dolor sit amet, the administration of justice, I may hear, finally, be expanded on, say, a certain pro cu neglegentur. Mazim.Unusual or something.

2130 Fulton Street, San Francisco
support@test.com
+(15) 94117-1080

Categories

  • Artificial Intelligence
  • CodeHS
  • Computer Science
  • Digital Art
  • Education
  • Growth Mindset
  • Java
  • micro:bit
  • Minecraft Education
  • Python
  • Uncategorized
  • What Mr. Goldstein is currently working on
  • WordPress

Archives

  • September 2025
  • July 2025
  • June 2025
Copyright © 2025 | Powered by WordPress | formula theme by A WP Life