directory wildcard

hong zhang henryzhang62 at
Mon Nov 16 21:33:15 CET 2009


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?




More information about the Python-list mailing list