directory wildcard

hong zhang henryzhang62 at yahoo.com
Mon Nov 16 15:33:15 EST 2009


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




      



More information about the Python-list mailing list