File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ Explaining ML algorithms: https://github.com/slundberg/shap
202202https://github.com/seatgeek/fuzzywuzzy
203203https://github.com/RobinL/fuzzymatcher
204204https://github.com/J535D165/recordlinkage
205+ scikit-neuralnetwork: https://github.com/aigamedev/scikit-neuralnetwork
205206
206207# Webscraping
207208beautifulsoup4
@@ -326,6 +327,7 @@ desktop automation: https://github.com/andohuman/pyKey
326327code formatter: https://github.com/psf/black
327328inspect live objects: https://docs.python.org/3/library/inspect.html
328329py files to reveal slides: https://github.com/apiad/auditorium
330+ slides in terminal: https://github.com/vinayak-mehta/present
329331
330332# Linux / CLI Utilities
331333https://github.com/tldr-pages/tldr-python-client # replacement for man pages
Original file line number Diff line number Diff line change 1-
21class Employee :
32
43 def __init__ (self , first , last ):
@@ -12,10 +11,26 @@ def email(self):
1211 @property
1312 def fullname (self ):
1413 return '{} {}' .format (self .first , self .last )
14+
15+ @fullname .setter
16+ def fullname (self , name ):
17+ first , last = name .split (' ' )
18+ self .first = first
19+ self .last = last
20+
21+ @fullname .deleter
22+ def fullname (self ):
23+ print ('Delete Name!' )
24+ self .first = None
25+ self .last = None
1526
1627
1728emp_1 = Employee ('John' , 'Smith' )
1829
30+ emp_1 .fullname = 'Corey Schafer'
31+
1932print (emp_1 .first )
2033print (emp_1 .email )
2134print (emp_1 .fullname )
35+
36+ del emp_1 .fullname
You can’t perform that action at this time.
0 commit comments