On Mon, 16 Nov 2009 14:19:16 -0800, hong zhang wrote:
>> print >>f, mcs
>
> This assigns decimal value, how can I assign Hex here to mcs?
print >>f, "%x" % mcs
--
http://mail.python.org/mailman/listinfo/python-list
--- On Mon, 11/16/09, Jeff McNeil wrote:
> From: Jeff McNeil
> Subject: Re: directory wildcard
> To: python-list@python.org
> Date: Monday, November 16, 2009, 3:01 PM
> On Nov 16, 3:33 pm, hong zhang
>
> wrote:
> > List,
> >
> > I try to assign val
I try to assign value to force_mcs sitting in a wildcard
subdirectory /sys/kernel/debug/ieee80211/phy*, but python does
not work for that such as:
os.system("echo %i >
/sys/kernel/debug/ieee80211/phy*/iwlagn/data/force_mcs" % mcs)
Any right way to do it?
I'm not sure your code works if there's
On Nov 16, 3:33 pm, hong zhang wrote:
> List,
>
> I try to assign value to force_mcs sitting in a wildcard subdirectory
> /sys/kernel/debug/ieee80211/phy*, but python does not work for that such as:
>
> os.system("echo %i > /sys/kernel/debug/ieee80211/phy*/iwlagn/data/force_mcs"
> % mcs)
>
> Any
hong zhang schrieb:
List,
I try to assign value to force_mcs sitting in a wildcard subdirectory
/sys/kernel/debug/ieee80211/phy*, but python does not work for that such as:
os.system("echo %i > /sys/kernel/debug/ieee80211/phy*/iwlagn/data/force_mcs" %
mcs)
Any right way to do it?
Don't use
List,
I try to assign value to force_mcs sitting in a wildcard subdirectory
/sys/kernel/debug/ieee80211/phy*, but python does not work for that such as:
os.system("echo %i > /sys/kernel/debug/ieee80211/phy*/iwlagn/data/force_mcs" %
mcs)
Any right way to do it?
Thanks.
--henry
--