Hi
user
Admin Login:
Username:
Password:
Name:
The Magic of Python
--client
pyohio
--show
pyohio_2019
--room barbietootle 14863 --force
Next: 12 The Value of Docstrings
show more...
Marks
Author(s):
Darshan Markandaiah
Location
Barbie Tootle
Date
jul Sat 27
Days Raw Files
Start
15:00
First Raw Start
14:54
Duration
0:30:0
Offset
0:05:29
End
15:30
Last Raw End
15:54
Chapters
00:00
0:24:45
Total cuts_time
25 min.
https://www.pyohio.org/2019/presentations/80
raw-playlist
raw-mp4-playlist
encoded-files-playlist
host
archive
tweet
mp4
svg
png
assets
release.pdf
The_Magic_of_Python.json
logs
Admin:
episode
episode list
cut list
raw files day
marks day
marks day
image_files
State:
---------
borked
edit
encode
push to queue
post
richard
review 1
email
review 2
make public
tweet
to-miror
conf
done
Locked:
clear this to unlock
Locked by:
user/process that locked.
Start:
initially scheduled time from master, adjusted to match reality
Duration:
length in hh:mm:ss
Name:
Video Title (shows in video search results)
Emails:
email(s) of the presenter(s)
Released:
has someone authorised pubication
Unknown
Yes
No
Normalise:
Channelcopy:
m=mono, 01=copy left to right, 10=right to left, 00=ignore.
Thumbnail:
filename.png
Description:
markdown
In this talk, I will introduce and enumerate over magic methods available in Python. This is an introductory talk for anyone with basic familiarity of Python. For each class of magic methods that I introduce, I'll provide example code samples. I will start off by introducing basic magic methods that allow you to do things like initializing objects and printing readable versions of objects. I will then go over select magic methods that allow for emulating numeric types. I will then cover methods that enable you to emulate sequences and write objects that can be indexed and iterated over. I will conclude by talking about context managers (that allow for managing pre-step and post-step actions) and Abstract Base Classes in the abc module that will allow for you to get free functionality if you provide the implementation for certain magic methods on your classes. Python has many built in magic functions that are used internally by classes for certain actions. For example, adding two numbers calls the `__add__` method and iterating over a list calls the `__iter__` method. I will expand on this Duck Typing principle and enumerate over a range of magic methods that you can add to your classes to have a cleaner codebase.
Comment:
production notes
2019-07-27/14_54_31.ts
Apply:
14:54:31 - 14:59:46 ( 00:05:15 )
S:
14:54:31 -
E:
15:24:31
D:
00:30:00
(
End:
315.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/barbietootle/2019-07-27/14_54_31.ts :start-time=00.0 --audio-desync=0
Raw File
Cut List
14:54:31
seconds: 0.0
Wall: 14:54:31
Duration
00:30:00
15:24:31
seconds: 315.0
Wall: 14:59:46
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/14_54_31.ts
Apply:
14:59:46 - 15:24:31 ( 00:24:45 )
S:
14:54:31 -
E:
15:24:31
D:
00:30:00
(
Start:
315.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/barbietootle/2019-07-27/14_54_31.ts :start-time=0315.0 --audio-desync=0
Raw File
Cut List
14:54:31
seconds: 315.0
Wall: 14:59:46
Duration
00:30:00
15:24:31
seconds: 0.0
Wall: 14:54:31
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/15_24_31.ts
Apply:
15:24:31 - 15:25:05 ( 00:00:34 )
S:
15:24:31 -
E:
15:54:31
D:
00:30:00
(
End:
34.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/barbietootle/2019-07-27/15_24_31.ts :start-time=00.0 --audio-desync=0
Raw File
Cut List
15:24:31
seconds: 0.0
Wall: 15:24:31
Duration
00:30:00
15:54:31
seconds: 34.0
Wall: 15:25:05
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/15_24_31.ts
Apply:
15:25:05 - 15:44:33 ( 00:19:28 )
S:
15:24:31 -
E:
15:54:31
D:
00:30:00
(
Start:
34.0) (
End:
1202.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/barbietootle/2019-07-27/15_24_31.ts :start-time=034.0 --audio-desync=0
Raw File
Cut List
15:24:31
seconds: 34.0
Wall: 15:25:05
Duration
00:30:00
15:54:31
seconds: 1202.0
Wall: 15:44:33
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2019-07-27/15_24_31.ts
Apply:
15:44:33 - 15:54:31 ( 00:09:58 )
S:
15:24:31 -
E:
15:54:31
D:
00:30:00
(
Start:
1202.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2019/dv/barbietootle/2019-07-27/15_24_31.ts :start-time=01202.0 --audio-desync=0
Raw File
Cut List
15:24:31
seconds: 1202.0
Wall: 15:44:33
Duration
00:30:00
15:54:31
seconds: 0.0
Wall: 15:24:31
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
Rf filename:
root is .../show/dv/location/, example: 2013-03-13/13:13:30.dv
Sequence:
get this:
check and save to add this
2019-07-27/14_54_31.ts
2019-07-27/15_24_31.ts
Veyepar
Video Eyeball Processor and Review