René's URL Explorer Experiment


Title: Python's Array: Working With Numeric Data Efficiently – Real Python

Open Graph Title: Python's Array: Working With Numeric Data Efficiently – Real Python

Description: In this tutorial, you'll dive deep into working with numeric arrays in Python, an efficient tool for handling binary data. Along the way, you'll explore low-level data types exposed by the array module, emulate custom types, and even pass a Python array to C for high-performance processing.

Open Graph Description: In this tutorial, you'll dive deep into working with numeric arrays in Python, an efficient tool for handling binary data. Along the way, you'll explore low-level data types exposed by the array module, emulate custom types, and even pass a Python array to C for high-performance processing.

Mail addresses
?subject=Python article for you&body=Python's Array: Working With Numeric Data Efficiently on Real Python https://realpython.com/python-array/

Opengraph URL: https://realpython.com/python-array/

X: @realpython

direct link

Domain: realpython.com


Hey, it has json ld scripts:
{
  "@context": "http://schema.org",
  "@type": "Article",
  "headline": "Python's Array: Working With Numeric Data Efficiently",
  "image": {
    "@type": "ImageObject",
    "url": "https://files.realpython.com/media/Python-Array-Module_Watermarked.1a57ba003773.jpg",
    "width": 1920,
    "height": 1080
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://realpython.com/python-array/",
    "lastReviewed": "2023-12-22",
    "author": {
      "@type": "Person",
      "name": "Bartosz Zaczy\u0144ski",
      "image": "https://realpython.com/cdn-cgi/image/width=1694,height=1694,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/coders_lab_2109368.259b1599fbee.jpg",
      "url": "https://realpython.com/team/bzaczynski/",
      "affiliation": {
        "@type": "Organization",
        "@id": "https://realpython.com/#organization",
        "name": "Real Python",
        "url": "https://realpython.com",
        "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
      }
    },
    "reviewedBy": [
      {
        "@type": "Person",
        "name": "Aldren Santos",
        "image": "https://realpython.com/cdn-cgi/image/width=500,height=500,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Aldren_Santos_Real_Python.6b0861d8b841.png",
        "url": "https://realpython.com/team/asantos/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Geir Arne Hjelle",
        "image": "https://realpython.com/cdn-cgi/image/width=800,height=800,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/gahjelle.470149ee709e.jpg",
        "url": "https://realpython.com/team/gahjelle/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Kate Finegan",
        "image": "https://realpython.com/cdn-cgi/image/width=400,height=400,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/VZxEtUor_400x400.7169c68e3950.jpg",
        "url": "https://realpython.com/team/kfinegan/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Leodanis Pozo Ramos",
        "image": "https://realpython.com/cdn-cgi/image/width=862,height=862,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Perfil_final1.9f896bc212f6.jpg",
        "url": "https://realpython.com/team/lpozoramos/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      }
    ]
  },
  "datePublished": "2024-01-01T14:00:00+00:00",
  "dateModified": "2023-12-22T15:45:27.706885+00:00",
  "publisher": {
    "@type": "Organization",
    "@id": "https://realpython.com/#organization",
    "name": "Real Python",
    "url": "https://realpython.com",
    "logo": {
      "@type": "ImageObject",
      "url": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png",
      "width": 512,
      "height": 512
    },
    "description": "Real Python is a leading provider of online Python education and one of the largest language-specific online communities for software developers. It publishes high-quality learning resources, such as tutorials, books, and courses to an audience of millions of developers, data scientists, and machine learning engineers each month.",
    "slogan": "Become a Python Expert",
    "email": "info@realpython.com",
    "sameAs": [
      "https://github.com/realpython",
      "https://www.youtube.com/realpython",
      "https://twitter.com/realpython",
      "https://x.com/realpython",
      "https://www.linkedin.com/company/realpython-com/",
      "https://www.facebook.com/learnrealpython",
      "https://www.instagram.com/realpython",
      "https://www.tiktok.com/@realpython.com"
    ]
  },
  "author": {
    "@type": "Person",
    "name": "Bartosz Zaczy\u0144ski",
    "image": "https://realpython.com/cdn-cgi/image/width=1694,height=1694,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/coders_lab_2109368.259b1599fbee.jpg",
    "url": "https://realpython.com/team/bzaczynski/",
    "affiliation": {
      "@type": "Organization",
      "@id": "https://realpython.com/#organization",
      "name": "Real Python",
      "url": "https://realpython.com",
      "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
    }
  },
  "description": "In this tutorial, you'll dive deep into working with numeric arrays in Python, an efficient tool for handling binary data. Along the way, you'll explore low-level data types exposed by the array module, emulate custom types, and even pass a Python array to C for high-performance processing."
}

authorReal Python
twitter:cardsummary_large_image
twitter:imagehttps://files.realpython.com/media/Python-Array-Module_Watermarked.1a57ba003773.jpg
og:imagehttps://files.realpython.com/media/Python-Array-Module_Watermarked.1a57ba003773.jpg
twitter:creator@realpython
og:typearticle

Links:

https://realpython.com/
Start Herehttps://realpython.com/start-here/
Learn Python https://realpython.com/python-array/
Python Tutorials →In-depth articles and video courseshttps://realpython.com/search?kind=article&kind=course&order=newest
Learning Paths →Guided study plans for accelerated learninghttps://realpython.com/learning-paths/
Quizzes & Exercises →Check your learning progresshttps://realpython.com/quizzes/
Browse Topics →Focus on a specific area or skill levelhttps://realpython.com/tutorials/all/
Community Chat →Learn with other Pythonistashttps://realpython.com/community/
Office Hours →Live Q&A calls with Python expertshttps://realpython.com/office-hours/
Podcast →Hear what’s new in the world of Pythonhttps://realpython.com/podcasts/rpp/
Books →Round out your knowledge and learn offlinehttps://realpython.com/products/books/
Reference →Concise definitions for common Python termshttps://realpython.com/ref/
Code Mentor →BetaPersonalized code assistance & learning toolshttps://realpython.com/mentor/
Unlock All Content →https://realpython.com/account/join/
More https://realpython.com/python-array/
Learner Storieshttps://realpython.com/learner-stories/
Python Newsletterhttps://realpython.com/newsletter/
Python Job Boardhttps://www.pythonjobshq.com
Meet the Teamhttps://realpython.com/team/
Become a Tutorial Writerhttps://realpython.com/write-for-us/
Become a Video Instructorhttps://realpython.com/become-an-instructor/
Searchhttps://realpython.com/search
https://realpython.com/search
Joinhttps://realpython.com/account/join/
Sign‑Inhttps://realpython.com/account/login/?next=%2Fpython-array%2F
Browse Topicshttps://realpython.com/tutorials/all/
Guided Learning Pathshttps://realpython.com/learning-paths/
Basicshttps://realpython.com/search?level=basics
Intermediatehttps://realpython.com/search?level=intermediate
Advancedhttps://realpython.com/search?level=advanced
aihttps://realpython.com/tutorials/ai/
algorithmshttps://realpython.com/tutorials/algorithms/
apihttps://realpython.com/tutorials/api/
best-practiceshttps://realpython.com/tutorials/best-practices/
careerhttps://realpython.com/tutorials/career/
communityhttps://realpython.com/tutorials/community/
databaseshttps://realpython.com/tutorials/databases/
data-sciencehttps://realpython.com/tutorials/data-science/
data-structureshttps://realpython.com/tutorials/data-structures/
data-vizhttps://realpython.com/tutorials/data-viz/
devopshttps://realpython.com/tutorials/devops/
djangohttps://realpython.com/tutorials/django/
dockerhttps://realpython.com/tutorials/docker/
editorshttps://realpython.com/tutorials/editors/
flaskhttps://realpython.com/tutorials/flask/
front-endhttps://realpython.com/tutorials/front-end/
gamedevhttps://realpython.com/tutorials/gamedev/
guihttps://realpython.com/tutorials/gui/
machine-learninghttps://realpython.com/tutorials/machine-learning/
newshttps://realpython.com/tutorials/news/
numpyhttps://realpython.com/tutorials/numpy/
projectshttps://realpython.com/tutorials/projects/
pythonhttps://realpython.com/tutorials/python/
stdlibhttps://realpython.com/tutorials/stdlib/
testinghttps://realpython.com/tutorials/testing/
toolshttps://realpython.com/tutorials/tools/
web-devhttps://realpython.com/tutorials/web-dev/
web-scrapinghttps://realpython.com/tutorials/web-scraping/
Table of Contentshttps://realpython.com/python-array/#toc
Understanding Arrays in Programminghttps://realpython.com/python-array/#understanding-arrays-in-programming
Arrays in Computer Sciencehttps://realpython.com/python-array/#arrays-in-computer-science
The Array as a Data Structurehttps://realpython.com/python-array/#the-array-as-a-data-structure
Arrays vs Linked Listshttps://realpython.com/python-array/#arrays-vs-linked-lists
Arrays in Pythonhttps://realpython.com/python-array/#arrays-in-python
Getting to Know Python’s array Modulehttps://realpython.com/python-array/#getting-to-know-pythons-array-module
Choose the Type of Your Array Elementshttps://realpython.com/python-array/#choose-the-type-of-your-array-elements
Create an Empty Array to Populate Laterhttps://realpython.com/python-array/#create-an-empty-array-to-populate-later
Initialize a New Array Using Another Iterablehttps://realpython.com/python-array/#initialize-a-new-array-using-another-iterable
Use an Existing Array as a Prototypehttps://realpython.com/python-array/#use-an-existing-array-as-a-prototype
Avoid Common Pitfalls in Creating Arrayshttps://realpython.com/python-array/#avoid-common-pitfalls-in-creating-arrays
Using Arrays in Python and Beyondhttps://realpython.com/python-array/#using-arrays-in-python-and-beyond
Manipulate Arrays as Mutable Sequenceshttps://realpython.com/python-array/#manipulate-arrays-as-mutable-sequences
Convert Between Arrays and Other Typeshttps://realpython.com/python-array/#convert-between-arrays-and-other-types
Treat Arrays as Bytes-Like Objectshttps://realpython.com/python-array/#treat-arrays-as-bytes-like-objects
Measuring the Performance of Python Arrayshttps://realpython.com/python-array/#measuring-the-performance-of-python-arrays
Emulating Nonstandard Numeric Typeshttps://realpython.com/python-array/#emulating-nonstandard-numeric-types
Understand Common Numeric Typeshttps://realpython.com/python-array/#understand-common-numeric-types
Interpret Signed Integers of Any Sizehttps://realpython.com/python-array/#interpret-signed-integers-of-any-size
Conclusionhttps://realpython.com/python-array/#conclusion
https://realpython.com/feedback/survey/article/python-array/liked/?from=article-sidebar
https://realpython.com/feedback/survey/article/python-array/disliked/?from=article-sidebar
Bartosz Zaczyńskihttps://realpython.com/python-array/#author
https://realpython.com/python-array/#reader-comments
intermediatehttps://realpython.com/tutorials/intermediate/
data-structureshttps://realpython.com/tutorials/data-structures/
stdlibhttps://realpython.com/tutorials/stdlib/
Understanding Arrays in Programminghttps://realpython.com/python-array/#understanding-arrays-in-programming
Arrays in Computer Sciencehttps://realpython.com/python-array/#arrays-in-computer-science
The Array as a Data Structurehttps://realpython.com/python-array/#the-array-as-a-data-structure
Arrays vs Linked Listshttps://realpython.com/python-array/#arrays-vs-linked-lists
Arrays in Pythonhttps://realpython.com/python-array/#arrays-in-python
Getting to Know Python’s array Modulehttps://realpython.com/python-array/#getting-to-know-pythons-array-module
Choose the Type of Your Array Elementshttps://realpython.com/python-array/#choose-the-type-of-your-array-elements
Create an Empty Array to Populate Laterhttps://realpython.com/python-array/#create-an-empty-array-to-populate-later
Initialize a New Array Using Another Iterablehttps://realpython.com/python-array/#initialize-a-new-array-using-another-iterable
Use an Existing Array as a Prototypehttps://realpython.com/python-array/#use-an-existing-array-as-a-prototype
Avoid Common Pitfalls in Creating Arrayshttps://realpython.com/python-array/#avoid-common-pitfalls-in-creating-arrays
Using Arrays in Python and Beyondhttps://realpython.com/python-array/#using-arrays-in-python-and-beyond
Manipulate Arrays as Mutable Sequenceshttps://realpython.com/python-array/#manipulate-arrays-as-mutable-sequences
Convert Between Arrays and Other Typeshttps://realpython.com/python-array/#convert-between-arrays-and-other-types
Treat Arrays as Bytes-Like Objectshttps://realpython.com/python-array/#treat-arrays-as-bytes-like-objects
Measuring the Performance of Python Arrayshttps://realpython.com/python-array/#measuring-the-performance-of-python-arrays
Emulating Nonstandard Numeric Typeshttps://realpython.com/python-array/#emulating-nonstandard-numeric-types
Understand Common Numeric Typeshttps://realpython.com/python-array/#understand-common-numeric-types
Interpret Signed Integers of Any Sizehttps://realpython.com/python-array/#interpret-signed-integers-of-any-size
Conclusionhttps://realpython.com/python-array/#conclusion
Remove adshttps://realpython.com/account/join/
arrayhttps://realpython.com/ref/glossary/array/
listshttps://realpython.com/python-list/
tupleshttps://realpython.com/python-tuple/
classeshttps://realpython.com/python-classes/
data classeshttps://realpython.com/python-data-classes/
working with fileshttps://realpython.com/working-with-files-in-python/
bitwise operatorshttps://realpython.com/python-bitwise-operators/
Click here to download the free source codehttps://realpython.com/bonus/python-array-code/
https://realpython.com/python-array/#understanding-arrays-in-programming
Chttps://realpython.com/c-for-python-programmers/
C++https://realpython.com/python-vs-cpp/
Javahttps://realpython.com/java-vs-python/
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-array/#arrays-in-computer-science
abstract data types (ADTs)https://en.wikipedia.org/wiki/Abstract_data_type
data structureshttps://en.wikipedia.org/wiki/Data_structure
data typeshttps://en.wikipedia.org/wiki/Data_type
dicthttps://realpython.com/python-dicts/
hash tablehttps://en.wikipedia.org/wiki/Hash_table
dictionaryhttps://en.wikipedia.org/wiki/Associative_array
Dictionarieshttps://realpython.com/python-hash-table/#hash-table-vs-dictionary
Graphshttps://realpython.com/python-maze-solver/#install-the-networkx-library
Listshttps://en.wikipedia.org/wiki/List_(abstract_data_type)
Queueshttps://realpython.com/queue-in-python/
Setshttps://realpython.com/python-sets/
Stackshttps://realpython.com/how-to-implement-python-stack/
Treeshttps://en.wikipedia.org/wiki/Tree_(data_structure)
build a stackhttps://realpython.com/queue-in-python/#building-a-stack-data-type
array data typehttps://en.wikipedia.org/wiki/Array_(data_type)
https://realpython.com/python-array/#the-array-as-a-data-structure
https://files.realpython.com/media/array-of-numbers.79c0ae58a05d.png
contiguous blockhttps://docs.python.org/3/glossary.html#term-contiguous
random-accesshttps://en.wikipedia.org/wiki/Random_access
https://files.realpython.com/media/latex.4076d5e8b7aa.png
length-prefixedhttps://en.wikipedia.org/wiki/String_(computer_science)#Length-prefixed
null-terminated stringhttps://en.wikipedia.org/wiki/Null-terminated_string
sentinel valuehttps://en.wikipedia.org/wiki/Sentinel_value
null characterhttps://en.wikipedia.org/wiki/Null_character
https://files.realpython.com/media/array-of-strings.b7d77f546521.png
pointershttps://en.wikipedia.org/wiki/Pointer_(computer_programming)
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-array/#arrays-vs-linked-lists
time-space complexityhttps://realpython.com/binary-search-python/#time-space-complexity
arrayhttps://en.wikipedia.org/wiki/Array_(data_structure)
linked listhttps://realpython.com/linked-lists-python/
relevant sectionhttps://en.wikipedia.org/wiki/Linked_data_structure#Linked_list_versus_arrays
https://realpython.com/python-array/#arrays-in-python
CPython source codehttps://realpython.com/cpython-source-code-guide/
PyListObjecthttps://github.com/python/cpython/blob/a194938f33a71e727e53490815bae874eece1460/Include/cpython/listobject.h#L22
dynamic arrayhttps://en.wikipedia.org/wiki/Dynamic_array
pointershttps://realpython.com/pointers-in-python/
NumPy’shttps://realpython.com/numpy-array-programming/
resources on NumPyhttps://realpython.com/search?q=numpy
https://realpython.com/python-array/#getting-to-know-pythons-array-module
arrayhttps://docs.python.org/3/library/array.html
pandashttps://realpython.com/pandas-python-explore-dataset/
scientific computationshttps://realpython.com/learning-paths/data-science-python-core-skills/
fileshttps://realpython.com/read-write-files-python/
network socketshttps://realpython.com/python-sockets/
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-array/#choose-the-type-of-your-array-elements
arrayhttps://docs.python.org/3/library/array.html#array.array
numeric typeshttps://realpython.com/python-numbers/
Integershttps://realpython.com/python-bitwise-operators/#integers-in-python
Floating-point numbershttps://realpython.com/python-bitwise-operators/#floating-point-numbers
Complex numbershttps://realpython.com/python-complex-numbers/
arbitrary precisionhttps://realpython.com/python-bitwise-operators/#arbitrary-precision-integers
sys.float_infohttps://docs.python.org/3/library/sys.html#sys.float_info
fractionshttps://realpython.com/python-fractions/
decimal numbershttps://realpython.com/python-rounding/#the-decimal-class
long integershttps://en.wikipedia.org/wiki/Integer_(computer_science)#Long_integer
single-precision floatshttps://en.wikipedia.org/wiki/Single-precision_floating-point_format
signed or unsignedhttps://en.wikipedia.org/wiki/Signedness
boxinghttps://en.wikipedia.org/wiki/Boxing_(computer_science)
wide characterhttps://en.wikipedia.org/wiki/Wide_character
fully qualified namehttps://en.wikipedia.org/wiki/Fully_qualified_name
OpenEXRhttps://en.wikipedia.org/wiki/OpenEXR
16-bit floating-point numbershttps://en.wikipedia.org/wiki/Half-precision_floating-point_format
WAVhttps://en.wikipedia.org/wiki/WAV
24-bit signed integershttps://en.wikipedia.org/wiki/24-bit_computing
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-array/#create-an-empty-array-to-populate-later
constructorhttps://realpython.com/python-class-constructor/
https://realpython.com/python-array/#initialize-a-new-array-using-another-iterable
byteshttps://realpython.com/python-strings/#bytes-objects
iterablehttps://realpython.com/python-iterators-iterables/
snake emojihttps://codepoints.net/U+1F40D
most significant bithttps://en.wikipedia.org/wiki/Bit_numbering#Most-_vs_least-significant_bit_first
sign bithttps://en.wikipedia.org/wiki/Sign_bit
list comprehensionhttps://realpython.com/list-comprehension-python/
tuplehttps://realpython.com/python-tuple/
Unicode charactershttps://realpython.com/python-encodings-guide/
code pointshttps://en.wikipedia.org/wiki/Code_point
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-array/#use-an-existing-array-as-a-prototype
copyhttps://realpython.com/copying-python-objects/
promoteshttps://en.wikipedia.org/wiki/Type_conversion#Type_promotion
https://realpython.com/python-array/#avoid-common-pitfalls-in-creating-arrays
integer overflowhttps://en.wikipedia.org/wiki/Integer_overflow
special valuehttps://docs.python.org/3/library/cmath.html#cmath.inf
OverflowErrorhttps://docs.python.org/3/library/exceptions.html#OverflowError
floating-point representation errorhttps://docs.python.org/3/tutorial/floatingpoint.html#representation-error
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-array/#using-arrays-in-python-and-beyond
https://realpython.com/python-array/#manipulate-arrays-as-mutable-sequences
sequence typehttps://docs.python.org/3/library/stdtypes.html#sequence-types-list-tuple-range
Fibonacci numbershttps://realpython.com/fibonacci-sequence-python/
len()https://realpython.com/len-python-function/
sum()https://realpython.com/python-sum-function/
duck typinghttps://realpython.com/python-type-checking/#duck-typing
forhttps://realpython.com/python-for-loop/
enumerate()https://realpython.com/python-enumerate/
next()https://realpython.com/python-iterators-iterables/#using-the-built-in-next-function
concatenation operator (+)https://realpython.com/python-string-concatenation/
membership test operators (in, not in)https://realpython.com/python-in-operator/
unhashablehttps://docs.python.org/3/glossary.html#term-hashable
mutable sequenceshttps://docs.python.org/3/library/stdtypes.html#mutable-sequence-types
in placehttps://en.wikipedia.org/wiki/In-place_algorithm
returnhttps://realpython.com/python-return-statement/
subscription syntaxhttps://docs.python.org/3/reference/expressions.html#subscriptions
sliceshttps://docs.python.org/3/library/functions.html#slice
extended slicehttps://docs.python.org/3/whatsnew/2.3.html#extended-slices
Python’s Mutable vs Immutable Typeshttps://realpython.com/python-mutable-vs-immutable-types/
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-array/#convert-between-arrays-and-other-types
file objecthttps://docs.python.org/3/glossary.html#term-file-object
struct.pack()https://docs.python.org/3/library/struct.html#struct.pack
format charactershttps://docs.python.org/3/library/struct.html#format-characters
ASCIIhttps://en.wikipedia.org/wiki/ASCII
maze solverhttps://realpython.com/python-maze-solver/#step-4-load-the-maze-from-a-binary-file
endiannesshttps://en.wikipedia.org/wiki/Endianness
byte order and alignmenthttps://docs.python.org/3/library/struct.html#byte-order-size-and-alignment
https://realpython.com/python-array/#treat-arrays-as-bytes-like-objects
buffer protocolhttps://docs.python.org/3/c-api/buffer.html
bytes-like objecthttps://docs.python.org/3/glossary.html#term-bytes-like-object
C and C++ librarieshttps://realpython.com/python-bindings-overview/
C extension modulehttps://realpython.com/build-python-c-extension-module/
ctypeshttps://docs.python.org/3/library/ctypes.html
shared libraryhttps://en.wikipedia.org/wiki/Shared_library
Click here to download the free source codehttps://realpython.com/bonus/python-array-code/
GNU C compilerhttps://en.wikipedia.org/wiki/GNU_Compiler_Collection
position-independent codehttps://en.wikipedia.org/wiki/Position-independent_code
memory viewshttps://docs.python.org/3/library/stdtypes.html#memoryview
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-array/#measuring-the-performance-of-python-arrays
timeithttps://realpython.com/python-profiling/#timeit-benchmark-short-code-snippets
timeit()https://docs.python.org/3/library/timeit.html#timeit.timeit
Tim Petershttps://en.wikipedia.org/wiki/Tim_Peters_(software_engineer)
Sourcehttps://stackoverflow.com/a/36778655
sys.getsizeof()https://docs.python.org/3/library/sys.html#sys.getsizeof
Pymplerhttps://pypi.org/project/Pympler/
recursivelyhttps://realpython.com/python-recursion/
https://realpython.com/python-array/#emulating-nonstandard-numeric-types
https://realpython.com/python-array/#understand-common-numeric-types
JavaScripthttps://realpython.com/python-vs-javascript/
BigInthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt
ECMAScript specificationhttps://tc39.es/
IEEE 754 specificationhttps://en.wikipedia.org/wiki/IEEE_754
two’s complementhttps://en.wikipedia.org/wiki/Two%27s_complement
paddinghttps://en.wikipedia.org/wiki/Data_structure_alignment
octetshttps://en.wikipedia.org/wiki/Octet_(computing)
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-array/#interpret-signed-integers-of-any-size
music streaming serviceshttps://en.wikipedia.org/wiki/Music_streaming_service
audio bit depthhttps://en.wikipedia.org/wiki/Audio_bit_depth
16-bit CDshttps://en.wikipedia.org/wiki/Compact_Disc_Digital_Audio
class methodhttps://realpython.com/instance-class-and-static-methods-demystified/#class-methods
Python bytes()https://realpython.com/python-bytes/
wavehttps://docs.python.org/3/library/wave.html
PCM-encodedhttps://en.wikipedia.org/wiki/Pulse-code_modulation
generator expressionhttps://realpython.com/introduction-to-python-generators/#building-generators-with-generator-expressions
https://realpython.com/python-array/#conclusion
Click here to download the free source codehttps://realpython.com/bonus/python-array-code/
https://realpython.com/feedback/survey/article/python-array/liked/?from=article-footer
https://realpython.com/feedback/survey/article/python-array/disliked/?from=article-footer
https://realpython.com/team/bzaczynski/
» More about Bartoszhttps://realpython.com/team/bzaczynski/
https://realpython.com/team/asantos/
Aldrenhttps://realpython.com/team/asantos/
https://realpython.com/team/gahjelle/
Geir Arnehttps://realpython.com/team/gahjelle/
https://realpython.com/team/kfinegan/
Katehttps://realpython.com/team/kfinegan/
https://realpython.com/team/lpozoramos/
Leodanishttps://realpython.com/team/lpozoramos/
Level Up Your Python Skills »https://realpython.com/account/join/?utm_source=rp_article_footer&utm_content=python-array
Level Up Your Python Skills »https://realpython.com/account/join/?utm_source=rp_article_footer&utm_content=python-array
https://realpython.com/feedback/survey/article/python-array/liked/?from=article-comments
https://realpython.com/feedback/survey/article/python-array/disliked/?from=article-comments
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Frealpython.com%2Fpython-array%2F
Twitterhttps://twitter.com/intent/tweet/?text=Interesting%20Python%20article%20on%20%40realpython%3A%20Python%27s%20Array%3A%20Working%20With%20Numeric%20Data%20Efficiently&url=https%3A%2F%2Frealpython.com%2Fpython-array%2F
Blueskyhttps://bsky.app/intent/compose?text=Interesting%20Python%20article%20on%20%40realpython.com%3A%20Python%27s%20Array%3A%20Working%20With%20Numeric%20Data%20Efficiently%20https%3A%2F%2Frealpython.com%2Fpython-array%2F
Facebookhttps://facebook.com/sharer/sharer.php?u=https%3A%2F%2Frealpython.com%2Fpython-array%2F
Get tips for asking good questionshttps://realpython.com/python-beginner-tips/#tip-9-ask-good-questions
get answers to common questions in our support portalhttps://support.realpython.com
Real Python Community Chathttps://realpython.com/community/
“Office Hours” Live Q&A Sessionhttps://realpython.com/office-hours/
intermediatehttps://realpython.com/tutorials/intermediate/
data-structureshttps://realpython.com/tutorials/data-structures/
stdlibhttps://realpython.com/tutorials/stdlib/
Working With Files in Pythonhttps://realpython.com/working-with-files-in-python/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-array
When to Use a List Comprehension in Pythonhttps://realpython.com/list-comprehension-python/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-array
Python while Loops: Repeating Tasks Conditionallyhttps://realpython.com/python-while-loop/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-array
Build a Hash Table in Python With TDDhttps://realpython.com/python-hash-table/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-array
Bitwise Operators in Pythonhttps://realpython.com/python-bitwise-operators/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-array
https://realpython.com/account/signup/?intent=continue_reading&utm_source=rp&utm_medium=web&utm_campaign=rwn&utm_content=v1&next=%2Fpython-array%2F
Continue »https://realpython.com/account/signup/?intent=continue_reading&utm_source=rp&utm_medium=web&utm_campaign=rwn&utm_content=v1&next=%2Fpython-array%2F
Sign-Inhttps://realpython.com/account/login/?next=/python-array/
Start Herehttps://realpython.com/start-here/
Learning Resourceshttps://realpython.com/search
Code Mentorhttps://realpython.com/mentor/
Python Referencehttps://realpython.com/ref/
Python Cheat Sheethttps://realpython.com/cheatsheets/python/
Support Centerhttps://support.realpython.com/
Learning Pathshttps://realpython.com/learning-paths/
Quizzes & Exerciseshttps://realpython.com/quizzes/
Browse Topicshttps://realpython.com/tutorials/all/
Live Courseshttps://realpython.com/live/
Bookshttps://realpython.com/books/
Podcasthttps://realpython.com/podcasts/rpp/
Newsletterhttps://realpython.com/newsletter/
Community Chathttps://realpython.com/community/
Office Hourshttps://realpython.com/office-hours/
Learner Storieshttps://realpython.com/learner-stories/
Plans & Pricinghttps://realpython.com/account/join/
Team Planshttps://realpython.com/account/join-team/
For Businesshttps://realpython.com/account/join-team/inquiry/
For Schoolshttps://realpython.com/account/join-team/education-inquiry/
Reviewshttps://realpython.com/learner-stories/
About Ushttps://realpython.com/about/
Teamhttps://realpython.com/team/
Mission & Valueshttps://realpython.com/mission/
Editorial Guidelineshttps://realpython.com/editorial-guidelines/
Sponsorshipshttps://realpython.com/sponsorships/
Careershttps://realpython.workable.com
Press Kithttps://realpython.com/media-kit/
Merchhttps://realpython.com/merch
https://www.youtube.com/realpython
https://x.com/realpython
https://www.linkedin.com/company/realpython-com
https://www.facebook.com/LearnRealPython
https://github.com/realpython/
Privacy Policyhttps://realpython.com/privacy-policy/
Terms of Usehttps://realpython.com/terms/
Securityhttps://realpython.com/security/
Contacthttps://realpython.com/contact/
https://realpython.com/

Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover

Robots: max-image-preview:large


URLs of crawlers that visited me.