Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 3 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 16 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −1 PyWiList.py
  3. +14 −0 names.py
View
1 .gitignore
@@ -0,0 +1 @@
+__pycache__
View
2 PyWiList.py
@@ -7,6 +7,6 @@
if __name__ == '__main__':
iwl = IWList(sys.argv[1])
- print iwl.getData()
+ print(iwl.getData())
View
14 names.py
@@ -0,0 +1,14 @@
+from IWList import *
+import sys, os, logging
+
+logging.basicConfig()
+log = logging.getLogger("PyWiList")
+log.setLevel(logging.DEBUG)
+
+if __name__ == '__main__':
+ iwl = IWList(sys.argv[1])
+ data = iwl.getData()
+ items = list(data.values())
+ names = set(map(lambda x: x['ESSID'], items))
+ print(names)
+

No commit comments for this range

Something went wrong with that request. Please try again.