Hi
user
Admin Login:
Username:
Password:
Name:
A Python Sequence (Un)Packing Primer
--client
pyohio
--show
pyohio_2024
--room orchid_west_24 15470 --force
Next: 10 Efficient Path Planning for Search and Rescue Missions Using Neural Networks
show more...
Marks
Author(s):
Brian Costlow
Location
Orchid West
Date
jul Sat 27
Days Raw Files
Start
11:00
First Raw Start
10:42
Duration
00:30:00
Offset
0:17:31
End
11:30
Last Raw End
11:42
Chapters
00:00
0:11:42
Total cuts_time
27 min.
https://www.pyohio.org/2024/program/talks/a-python-sequence-un-packing-primer
raw-playlist
raw-mp4-playlist
encoded-files-playlist
host
archive
mp4
svg
png
assets
release.pdf
A_Python_Sequence_UnPacking_Primer.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
*What happens in Python when you type things like?* ``` def spam(): return 1,2,3 a, b, c = spam() ``` ``` def foo(*args, **kwargs): ... ``` ``` for name, value in some_dict.items(): ``` ``` my_dict = some_func_that_returns_a_dict() some_other_func(**my_dict) ``` In this talk, we'll examine Python's ability to unpack values from (or sometimes pack them into) sequences. We'll see how that capability powers a host of powerful Python idioms. We'll also look at some less commonly used syntax to unpack sequences into complex data structures. Used judiciously, these techniques can simplify your code. Last, we'll talk about mental models, and why it's important to develop good mental models for what's happening "under\-the\-hood" when we write Python. Well show what can (and did) happen when having the wrong mental model of unpacking syntax lead to a bug. We'll look at code that shows the problem, discuss what's really happening, then use the Python bytecode disassembler to confirm our intuition. Although this talk briefly uses the Python bytecode disassembler, it's aimed at beginners (though not complete novices) who want to write more idiomatic Python, and develop a better intuition for what's really happening in the interpreter when their code runs.
Comment:
production notes
2024-07-27/10_42_29.ts
Apply:
10:42:29 - 11:00:47 ( 00:18:18 )
S:
10:42:29 -
E:
11:12:29
D:
00:30:00
(
End:
1098.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2024/dv/orchid_west_24/2024-07-27/10_42_29.ts :start-time=00.0 --audio-desync=0
Raw File
Cut List
10:42:29
seconds: 0.0
Wall: 10:42:29
Duration
00:30:00
11:12:29
seconds: 1098.0
Wall: 11:00:47
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2024-07-27/10_42_29.ts
Apply:
11:00:47 - 11:12:29 ( 00:11:42 )
S:
10:42:29 -
E:
11:12:29
D:
00:30:00
(
Start:
1098.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2024/dv/orchid_west_24/2024-07-27/10_42_29.ts :start-time=01098.0 --audio-desync=0
Raw File
Cut List
10:42:29
seconds: 1098.0
Wall: 11:00:47
Duration
00:30:00
11:12:29
seconds: 0.0
Wall: 10:42:29
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2024-07-27/11_12_29.ts
Apply:
11:12:29 - 11:27:59 ( 00:15:30 )
S:
11:12:29 -
E:
11:42:28
D:
00:29:59
(
End:
930.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2024/dv/orchid_west_24/2024-07-27/11_12_29.ts :start-time=00.0 --audio-desync=0
Raw File
Cut List
11:12:29
seconds: 0.0
Wall: 11:12:29
Duration
00:29:59
11:42:28
seconds: 930.0
Wall: 11:27:59
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2024-07-27/11_12_29.ts
Apply:
11:27:59 - 11:42:28 ( 00:14:29 )
S:
11:12:29 -
E:
11:42:28
D:
00:29:59
(
Start:
930.0)
show more...
vlc ~/Videos/veyepar/pyohio/pyohio_2024/dv/orchid_west_24/2024-07-27/11_12_29.ts :start-time=0930.0 --audio-desync=0
Raw File
Cut List
11:12:29
seconds: 930.0
Wall: 11:27:59
Duration
00:29:59
11:42:28
seconds: 0.0
Wall: 11:12:29
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
2024-07-27/10_42_29.ts
2024-07-27/11_12_29.ts
Veyepar
Video Eyeball Processor and Review