Web: EdmontonPy.com
Twitter: @EdmontonPy
Slack: devedmonton.slack.com
#meetup-edmontonpy
YouTube: Dev Edmonton
Looking for a job? Looking to hire great people?
Please visit #opportunities at devedmonton.slack.com
t1 = ('Python', 'Coding', 'Tips')
t3 = r'a*'
print(type(t1))
print(dir(t1))
print(type(t3))
print(dir(t3))
>>> t1 = ('Python', 'Coding', 'Tips')
>>> t3 = r'a*'
>>> print(type(t1))
<class 'tuple'>
>>> print(dir(t1))
['__add__', '__class__', '__contains__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__',
'__getitem__', '__getnewargs__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '
__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__rmul__', '__setattr__', '__sizeof__', '__str__', '__sub
classhook__', 'count', 'index']
>>> print(type(t3))
<class 'str'>
>>> print(dir(t3))
['__add__', '__class__', '__contains__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__',
'__getitem__', '__getnewargs__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '
__mod__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__rmod__', '__rmul__', '__setattr__', '__sizeo
f__', '__str__', '__subclasshook__', 'capitalize', 'casefold', 'center', 'count', 'encode', 'endswith', 'expandtabs', 'find', 'forma
t', 'format_map', 'index', 'isalnum', 'isalpha', 'isdecimal', 'isdigit', 'isidentifier', 'islower', 'isnumeric', 'isprintable', 'iss
pace', 'istitle', 'isupper', 'join', 'ljust', 'lower', 'lstrip', 'maketrans', 'partition', 'replace', 'rfind', 'rindex', 'rjust', 'r
partition', 'rsplit', 'rstrip', 'split', 'splitlines', 'startswith', 'strip', 'swapcase', 'title', 'translate', 'upper', 'zfill']
Message one of
@data-get, @dgmouris, @abram
on Dev Edmonton Slack
Beginners are more than welcome!
Talks vary in topic, they just have to do with Python in some way. 🐍
Hosted by Abram H. and Andrew C.
Solve the python challenges with your table!
Solutions should be at least 1 of the following:
* Unique
* Effecient
* Pythonic
* Creative
* Correct?
* tiny
a function to insert a number into a list in order (maintain a sorted list)
given 2 lists of words, return the most frequent word found in both sets (e.g. most occurring word shared by both lists). test data:
given a list of measurements of temperatures of size N calculate a list of size N-1 of differences in temperatures (e.g. x[i + 1] - x[i])
Given strings of html grab the href out of the anchor tags. E.g., '<a href="http://coolbears.com">' => http://coolbears.com
You need to convert queries to IDs or slugs and IDs must be lower case and spaces need to be replaced by - and - needs to be replaced by -- 'convert "I like cheese--a lot" to i-like-cheese----a-lot'
Given 2 lists of values A and B make a function that returns the values in A that are not in B
A pictionary-like game.
Go to the site
Type in a name and click "CREATE PRIVATE ROOM"
share the URL with your REMO.CO table!
Use your table local txt chat :)
P.S. We need talks for December and January!
And volunteers for: AV, Slides, Speaker Wrangling, Org-Committee
If you're interested reach out (on the slack):
@dgmouris @abramhindle @data-get