Skip to main content

https://python-utilities.readthedocs.io/en/latest/array.html

Project description

# python-array

See https://python-utilities.readthedocs.io/en/latest/array.html

## Install

` pip3 install -U python-array `

## Usage

`py >>> from python_array import CTypesView >>> text = bytearray(b"Hello, I am a simple ASCII string!") >>> ctview = CTypesView(text, itemsize=1) >>> ctview.view[0] = 0x61 >>> print(text) aello, I am a simple ASCII string! >>> ctview.to_uint16()[3] = 0x6554 >>> print(text) aello,Te am a simple ASCII string! `

## License

MIT

## Contact

Maintained by [Shawn Presser](https://www.shawwn.com). If you found it useful, please consider [joining my patreon](https://www.patreon.com/shawwn)!

My Twitter DMs are always open; you should [send me one](https://twitter.com/theshawwn)! It’s the best way to reach me, and I’m always happy to hear from you.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-array-0.1.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page