An experiment in generating a visualization for a short story from suchwasnot.com (Never of the past or the future). The animation is generated using Stable Diffusion, an artificial neural network, using (among other things) words from the story (human written!) as prompts. I...
An experiment in generating a visualization for a short story from suchwasnot.com (Never of the past or the future). The animation is generated using Stable Diffusion, an artificial neural network, using (among other things) words from the story (human written!) as prompts. I also implemented several other tricks to increase the coherence of the animation, such as using each frame as the seed image for the next frame.
Episode 6 of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll learn how to use pyproject.toml to add information about our package, and how to use flit to build our package and upload it to pypi so that...
Episode 6 of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll learn how to use pyproject.toml to add information about our package, and how to use flit to build our package and upload it to pypi so that users can easily install it with `pip install markdown_code_exec`.
The sixth episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll add documentation to our `markdown_code_exec` project. We'll learn about docstrings and numpydoc, and we'll see how we can use our own...
The sixth episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll add documentation to our `markdown_code_exec` project. We'll learn about docstrings and numpydoc, and we'll see how we can use our own project to build a readme file that contains documentation directly from the source code!
This is the seventh episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll learn how to use pyproject.toml to add information about our package, and how to use flit to build our package and upload it...
This is the seventh episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll learn how to use pyproject.toml to add information about our package, and how to use flit to build our package and upload it to pypi so that users can easily install it with `pip install markdown_code_exec`.
This is the sixth episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll add documentation to our `markdown_code_exec` project. We'll learn about docstrings and numpydoc, and we'll see how we can use...
This is the sixth episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll add documentation to our `markdown_code_exec` project. We'll learn about docstrings and numpydoc, and we'll see how we can use our own project to build a readme file that contains documentation directly from the source code!
The fifth episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll turn our `markdown_code_exec` Python module, which we created in previous episodes, into a command-line application! We'll learn about...
The fifth episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll turn our `markdown_code_exec` Python module, which we created in previous episodes, into a command-line application! We'll learn about the `argparse` module to parse command-like arguments, about entry points, and about the if __name__ == '__main__' convention.ing
This is the fifth episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll turn our `markdown_code_exec` Python module, which we created in previous episodes, into a command-line program! We'll learn...
This is the fifth episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll turn our `markdown_code_exec` Python module, which we created in previous episodes, into a command-line program! We'll learn about the `argparse` module, entry points, and the if __name__ == '__main__' convention.
The fourth episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll get started with git to host the code for our `markdown_code_exec` on GitHub. We'll learn about the most important git commands:...
The fourth episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll get started with git to host the code for our `markdown_code_exec` on GitHub. We'll learn about the most important git commands: commit, push, pull, remote, and add.
This is the fourth episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll get started with git to host the code for our `markdown_code_exec` on GitHub. We'll learn about the most important git...
This is the fourth episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll get started with git to host the code for our `markdown_code_exec` on GitHub. We'll learn about the most important git commands: commit, push, pull, remote, and add.
Episode 3 of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll continue the `markdown_code_exec` project that we started in previous episodes. We'll learn how to turn our code sketch into a Python module,...
Episode 3 of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll continue the `markdown_code_exec` project that we started in previous episodes. We'll learn how to turn our code sketch into a Python module, and we'll also learn about functions and packages! At the end of this episode, we'll have a fully functional Python module, which we'll polish and package in future episodes!
This is the third episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll continue the `markdown_code_exec` project that we started in previous episodes. We'll learn how to turn our code sketch into a...
This is the third episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll continue the `markdown_code_exec` project that we started in previous episodes. We'll learn how to turn our code sketch into a Python module, and we'll also learn about functions and packages! At the end of this episode, we'll have a fully functional Python module, which we'll polish and package in future episodes!
Episode 1 of #PythonLiveLessons, a weekly live stream about Python code (with live coding) and more, hosted by Sebastiaan Mathôt. In this episode, we'll continue working on our Python project, `markdown_code_exec`. We'll learn about the difference between expressions and...
Episode 1 of #PythonLiveLessons, a weekly live stream about Python code (with live coding) and more, hosted by Sebastiaan Mathôt. In this episode, we'll continue working on our Python project, `markdown_code_exec`. We'll learn about the difference between expressions and statements, and the difference between eval() and exec(). At the end of this episode, we'll have a fully functional 'sketch' of our program, which we'll develop further in future episodes! [To join a live broadcast, tune in to this YouTube channel on Tuesdays, 22:00 New Delhi, 18:00 Paris (CET), 09:00 Los Angeles.]
This is the second episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll pick up were we left off last week, when we started a new Python project, `markdown_code_exec`, from scratch. We'll learn...
This is the second episode of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll pick up were we left off last week, when we started a new Python project, `markdown_code_exec`, from scratch. We'll learn about the difference between expressions and statements, and the difference between eval() and exec(). At the end of this episode, we'll have a fully functional 'sketch' of our program, which we'll develop further in future episodes!
Episode 0 of #PythonLiveLessons, a weekly live stream about Python code (with live coding) and more, hosted by Sebastiaan Mathôt. In this episode, we'll get started with a new Python project, and we'll get our hands dirty with regular expressions. We'll also lay out a roadmap...
Episode 0 of #PythonLiveLessons, a weekly live stream about Python code (with live coding) and more, hosted by Sebastiaan Mathôt. In this episode, we'll get started with a new Python project, and we'll get our hands dirty with regular expressions. We'll also lay out a roadmap for a full development workflow, which we'll walk through in future episodes. [To join a live broadcast, tune in to this YouTube channel on Tuesdays, 22:00 New Delhi, 18:00 Paris (CET), 09:00 Los Angeles.]
This is the premiere of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this first episode, we'll see how to get started with a new Python project from scratch. And we'll lay out a roadmap for a full development workflow,...
This is the premiere of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this first episode, we'll see how to get started with a new Python project from scratch. And we'll lay out a roadmap for a full development workflow, which we'll walk through in future episodes.