Edmonton.py

The Edmonton Python User Group

edmontonpy.com
@edmontonpy

edmontonpy.slack.com

Today's talks

Building Fortunato (the next unicorn)

from start to investor evaluation

Daniel Mouris & Andrew Crouse

Python Events

 

  • DjangoCon 2018​
    October 14-19, San Diego, CA

 

NEXT MEETUP ON AUGUST 13th

Resources

Releases

  • Python 3.7.0

Jobs!

None Right now that I know of but Please let me know if you have any!

Articles

  • Python Tip: brute-force those passwords

With the builtin itertools you can get all permutations of a specific string!

Code

Output

The above is a simple way to get all of the permutations of the string 'ABC'

import itertools
for p in itertools.permutations('ABC'):
    print(p)
('A', 'B', 'C')
('A', 'C', 'B')
('B', 'A', 'C')
('B', 'C', 'A')
('C', 'A', 'B')
('C', 'B', 'A')
Made with Slides.com