Difference between revisions of "From * import python"

From 35C3 Wiki

(Import your python code from everywhere and from everything)
Line 5: Line 5:
|Has session type=Talk
|Has session type=Talk
|Has session keywords=coding
|Has session keywords=coding
|Is organized by=Overflo
|Held in language=en - English
|Held in language=en - English
|Has orga contact=taczuk@gmail.com
|Has orga contact=taczuk@gmail.com

Revision as of 15:15, 28 December 2018

Description Import your python code from everywhere and from everything
Type Talk
Kids session No
Keyword(s) coding
Tags python, import hooks
Person organizing Overflo
Language en - English
en - English
Other sessions... ... further results

(Click here to refresh this page.)

Starts at 2018/12/28 12:00
Ends at 2018/12/28 12:45
Duration 45 minutes
Location Room:Lecture room M1

Import hooks are a mechanism that has been present from quite a while in Python, yet wasn't lucky enough to get much attention from the community because... why would you even want to import anything in a non-standard way or from something that's not a .py file?

Have you ever wanted to import python code directly from github or stackoverflow? (no, not in production :) Or maybe generate the code to be imported on the fly, depending on who is asking?

After this talk, you will know how to do the above.