On Wed, Aug 20, 2008 at 12:22 PM, Chuck Swiger <[EMAIL PROTECTED]> wrote:
> Hi, Andrew--
>
> On Aug 20, 2008, at 8:44 AM, Andrew Gould wrote:
>
>> 2. I store data in Python dictionaries. When I display the dictionaries,
>> the numbered options are not in order and I can't
>> figure out how to s
Hi, Andrew--
On Aug 20, 2008, at 8:44 AM, Andrew Gould wrote:
2. I store data in Python dictionaries. When I display the
dictionaries,
the numbered options are not in order and I can't
figure out how to sort them. This appears to be a cosmetic issue
only;
but it still bothers me.
If
Andrew Gould wrote:
> [...]
> 2. I store data in Python dictionaries. When I display the
> dictionaries, the numbered options are not in order and I can't
> figure out how to sort them. This appears to be a cosmetic
> issue only; but it still bothers me.
Python dictionaries aren't ordered.
I just finished a Python script that:
1. prompts the user to select a wifi device from a list compiled from the
results of ifconfig and dmesg;
2. prompts the user to select an Access Point (SSID) from a list derived
from 'ifconfig [device] scan'; and
3. configures the wifi device using the chosen