<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python 1.5 on Python One</title><link>https://tamnd.github.io/python-one/docs/1.5/</link><description>Recent content in Python 1.5 on Python One</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://tamnd.github.io/python-one/docs/1.5/index.xml" rel="self" type="application/rss+xml"/><item><title>Tutorial</title><link>https://tamnd.github.io/python-one/docs/1.5/tutorial/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tamnd.github.io/python-one/docs/1.5/tutorial/</guid><description>&lt;h1 id="whetting-your-appetite"&gt;Whetting Your Appetite&lt;a class="anchor" href="#whetting-your-appetite"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;a class="anchor" href="#introduction"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;If you ever wrote a large shell script, you probably know this feeling: you’d love to add yet another feature, but it’s already so slow, and so big, and so complicated; or the feature involves a system call or other function that is only accessible from C …Usually the problem at hand isn’t serious enough to warrant rewriting the script in C; perhaps the problem requires variable-length strings or other data types (like sorted lists of file names) that are easy in the shell but lots of work to implement in C, or perhaps you’re not sufficiently familiar with C.&lt;/p&gt;</description></item><item><title>Library Reference</title><link>https://tamnd.github.io/python-one/docs/1.5/library/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tamnd.github.io/python-one/docs/1.5/library/</guid><description>&lt;h1 id="standard-module-aifc"&gt;Standard Module &lt;code&gt;aifc&lt;/code&gt;&lt;a class="anchor" href="#standard-module-aifc"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;This module provides support for reading and writing AIFF and AIFF-C files. AIFF is Audio Interchange File Format, a format for storing digital audio samples in a file. AIFF-C is a newer version of the format that includes the ability to compress the audio data.&lt;/p&gt;
&lt;p&gt;Audio files have a number of parameters that describe the audio data. The sampling rate or frame rate is the number of times per second the sound is sampled. The number of channels indicate if the audio is mono, stereo, or quadro. Each frame consists of one sample per channel. The sample size is the size in bytes of each sample. Thus a frame consists of &lt;em&gt;nchannels&lt;/em&gt; × &lt;em&gt;samplesize&lt;/em&gt; bytes, and a second’s worth of audio consists of &lt;em&gt;nchannels&lt;/em&gt; × &lt;em&gt;samplesize&lt;/em&gt; × &lt;em&gt;framerate&lt;/em&gt; bytes.&lt;/p&gt;</description></item><item><title>Extending and Embedding</title><link>https://tamnd.github.io/python-one/docs/1.5/extending/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tamnd.github.io/python-one/docs/1.5/extending/</guid><description>&lt;div class="python-copyright"&gt;
 &lt;div class="python-copyright-inner"&gt;
 &lt;span class="python-copyright-label"&gt;Python 1.5&lt;/span&gt;
 &lt;span class="python-copyright-text"&gt;
 Copyright &amp;copy; 1995&amp;ndash;2000 Corporation for National Research Initiatives (CNRI).
 All rights reserved.
 &lt;br&gt;&lt;span class="python-copyright-extra"&gt;Python 1.2 and earlier: Copyright &amp;copy; 1990&amp;ndash;1995 Stichting Mathematisch Centrum (CWI).&lt;/span&gt;
 &lt;/span&gt;
 &lt;span class="python-copyright-link"&gt;
 &lt;a href="https://github.com/tamnd/python-one/tree/main/src/1.5/"&gt;Source&lt;/a&gt;
 &lt;/span&gt;
 &lt;/div&gt;
&lt;/div&gt;</description></item><item><title>Python/C API</title><link>https://tamnd.github.io/python-one/docs/1.5/api/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tamnd.github.io/python-one/docs/1.5/api/</guid><description>&lt;h1 id="introduction"&gt;Introduction&lt;a class="anchor" href="#introduction"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;The Application Programmer’s Interface to Python gives C and C++ programmers access to the Python interpreter at a variety of levels. The API is equally usable from C++, but for brevity it is generally referred to as the Python/C API. There are two fundamentally different reasons for using the Python/C API. The first reason is to write “extension modules” for specific purposes; these are C modules that extend the Python interpreter. This is probably the most common use. The second reason is to use Python as a component in a larger application; this technique is generally referred to as “embedding” Python in an application.&lt;/p&gt;</description></item></channel></rss>