Re: Python script for configuring wifi hot spots on FreeBSD

2008-08-20 Thread Andrew Gould
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

Re: Python script for configuring wifi hot spots on FreeBSD

2008-08-20 Thread Chuck Swiger
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

Re: Python script for configuring wifi hot spots on FreeBSD

2008-08-20 Thread Oliver Fromme
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.

Python script for configuring wifi hot spots on FreeBSD

2008-08-20 Thread Andrew Gould
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