Eli Bendersky: Twisted-based IRC server example
Link: https://eli.thegreenplace.net/2013/01/28/twisted-based-irc-server-example
Recently I was looking for ways to play with a simple Python-based IRC bot. Like for other network-related tasks, I turned to Twisted for the answer and was pleased to find a very nice and simple bot
Link: https://eli.thegreenplace.net/2013/01/28/twisted-based-irc-server-example
Recently I was looking for ways to play with a simple Python-based IRC bot. Like for other network-related tasks, I turned to Twisted for the answer and was pleased to find a very nice and simple bot
Eli Bendersky: Python FFI with ctypes and cffi
Link: https://eli.thegreenplace.net/2013/03/09/python-ffi-with-ctypes-and-cffi
In a previous post, I demonstrated how to use libffi to perform fully dynamic calls to C code, where "fully dynamic" means that even the types of the arguments and return values are determined at runt
Link: https://eli.thegreenplace.net/2013/03/09/python-ffi-with-ctypes-and-cffi
In a previous post, I demonstrated how to use libffi to perform fully dynamic calls to C code, where "fully dynamic" means that even the types of the arguments and return values are determined at runt
Eli Bendersky: Bootstrapping virtualenv
Link: https://eli.thegreenplace.net/2013/04/20/bootstrapping-virtualenv
The packaging situation in Python is "imperfect" for a good reason - packaging is simply a very difficult problem to solve (see the amount of effort poured into Linux distribution package management f
Link: https://eli.thegreenplace.net/2013/04/20/bootstrapping-virtualenv
The packaging situation in Python is "imperfect" for a good reason - packaging is simply a very difficult problem to solve (see the amount of effort poured into Linux distribution package management f
Eli Bendersky: Python will have enums in 3.4!
Link: https://eli.thegreenplace.net/2013/05/10/python-will-have-enums-in-3-4
After months of intensive discussion (more than a 1000 emails in dozens of threads spread over two mailing lists, and a couple of hundred additional private emails), PEP 435 has been accepted and Pyth
Link: https://eli.thegreenplace.net/2013/05/10/python-will-have-enums-in-3-4
After months of intensive discussion (more than a 1000 emails in dozens of threads spread over two mailing lists, and a couple of hundred additional private emails), PEP 435 has been accepted and Pyth
Eli Bendersky: Right and left folds, primitive recursion patterns in Python and Haskell
Link: https://eli.thegreenplace.net/2017/right-and-left-folds-primitive-recursion-patterns-in-python-and-haskell/
A "fold" is a fundamental primitive in defining operations on data structures;
it's particularly important in functional languages where recursion is the
default tool to express repetition. In this ar
Link: https://eli.thegreenplace.net/2017/right-and-left-folds-primitive-recursion-patterns-in-python-and-haskell/
A "fold" is a fundamental primitive in defining operations on data structures;
it's particularly important in functional languages where recursion is the
default tool to express repetition. In this ar
Eli Bendersky: Concurrent Servers: Part 2 - Threads
Link: https://eli.thegreenplace.net/2017/concurrent-servers-part-2-threads/
This is part 2 of a series on writing concurrent network servers. Part 1
presented the protocol implemented by the server, as well as the code for a
simple sequential server, as a baseline for the ser
Link: https://eli.thegreenplace.net/2017/concurrent-servers-part-2-threads/
This is part 2 of a series on writing concurrent network servers. Part 1
presented the protocol implemented by the server, as well as the code for a
simple sequential server, as a baseline for the ser
Eli Bendersky: pycparser v2.09 released, project moved to BitBucket
Link: https://eli.thegreenplace.net/2012/12/27/pycparser-v2-09-released-project-moved-to-bitbucket
I've released version 2.09 of pycparser. In addition to numerous issue fixes, the two major changes for this release are:
The pycparser project has moved to BitBucket from Google Code. It's still av
Link: https://eli.thegreenplace.net/2012/12/27/pycparser-v2-09-released-project-moved-to-bitbucket
I've released version 2.09 of pycparser. In addition to numerous issue fixes, the two major changes for this release are:
The pycparser project has moved to BitBucket from Google Code. It's still av
Eli Bendersky: Depthwise separable convolutions for machine learning
Link: https://eli.thegreenplace.net/2018/depthwise-separable-convolutions-for-machine-learning/
Convolutions are an important tool in modern deep neural networks (DNNs). This
post is going to discuss some common types of convolutions, specifically
regular and depthwise separable convolutions. My
Link: https://eli.thegreenplace.net/2018/depthwise-separable-convolutions-for-machine-learning/
Convolutions are an important tool in modern deep neural networks (DNNs). This
post is going to discuss some common types of convolutions, specifically
regular and depthwise separable convolutions. My
Eli Bendersky: Understanding how to implement a character-based RNN language model
Link: https://eli.thegreenplace.net/2018/understanding-how-to-implement-a-character-based-rnn-language-model/
In a single gist,
Andrej Karpathy did something
truly impressive. In a little over 100 lines of Python - without relying on any
heavy-weight machine learning frameworks - he presents a fairly complete
Link: https://eli.thegreenplace.net/2018/understanding-how-to-implement-a-character-based-rnn-language-model/
In a single gist,
Andrej Karpathy did something
truly impressive. In a little over 100 lines of Python - without relying on any
heavy-weight machine learning frameworks - he presents a fairly complete
Codementor: #01 | Getting Started with Pandas
Link: https://www.codementor.io/projects196/01-getting-started-with-pandas-1xxct3wach
A clear introduction to Pandas, a Python library to manipulate tabular data, where you can discover its many possibilities and get a concise overview.
Link: https://www.codementor.io/projects196/01-getting-started-with-pandas-1xxct3wach
A clear introduction to Pandas, a Python library to manipulate tabular data, where you can discover its many possibilities and get a concise overview.
www.codementor.io
#01 | Getting Started with Pandas | Codementor
A clear introduction to Pandas, a Python library to manipulate tabular data, where you can discover its many possibilities and get a concise overview.
The Digital Cat: Multiple inheritance and mixin classes in Python
Link: https://www.thedigitalcatonline.com/blog/2020/03/27/mixin-classes-in-python/
I recently revisited three old posts on Django class-based views that I wrote for this blog, updating them to Django 3.0 (you can find them here) and noticed once again that the code base uses mixin c
Link: https://www.thedigitalcatonline.com/blog/2020/03/27/mixin-classes-in-python/
I recently revisited three old posts on Django class-based views that I wrote for this blog, updating them to Django 3.0 (you can find them here) and noticed once again that the code base uses mixin c
Thedigitalcatonline
Multiple inheritance and mixin classes in Python
This post describes what mixin classes are in theory, why we need them and how they can be implemented in Python. It also shows a working example from the class-based views code of the Django framework.
The Digital Cat: Method overriding in Python
Link: https://www.thedigitalcatonline.com/blog/2014/05/19/method-overriding-in-python/
What is overriding? Overriding is the ability of a class to change the implementation of a method provided by one of its ancestors.Overriding is a very important part of OOP since it is the feature th
Link: https://www.thedigitalcatonline.com/blog/2014/05/19/method-overriding-in-python/
What is overriding? Overriding is the ability of a class to change the implementation of a method provided by one of its ancestors.Overriding is a very important part of OOP since it is the feature th
Thedigitalcatonline
Method overriding in Python
Overriding is the ability of a class to change the implementation of a method provided by one of its ancestors.
The Digital Cat: Accessing attributes in Python
Link: https://www.thedigitalcatonline.com/blog/2015/01/12/accessing-attributes-in-python/
Python is a language that tries to push the object-oriented paradigm to its maximum. This means that its object model is very powerful compared to that of other languages, but also that the behaviour
Link: https://www.thedigitalcatonline.com/blog/2015/01/12/accessing-attributes-in-python/
Python is a language that tries to push the object-oriented paradigm to its maximum. This means that its object model is very powerful compared to that of other languages, but also that the behaviour
Thedigitalcatonline
Accessing attributes in Python
The behaviour of Python code may result surprising to new programmers.
Ned Batchelder: Decorator shortcuts
Link: https://nedbatchelder.com/blog/202210/decorator_shortcuts.html
When using many decorators in code, there’s a shortcut you can use if you
find yourself repeating them. They can be assigned to a variable just like
any other Python expression.Don’t worry if you don
Link: https://nedbatchelder.com/blog/202210/decorator_shortcuts.html
When using many decorators in code, there’s a shortcut you can use if you
find yourself repeating them. They can be assigned to a variable just like
any other Python expression.Don’t worry if you don
Nedbatchelder
Decorator shortcuts
When using many decorators in code, there’s a shortcut you can use if you find yourself repeating them. They can be assigned to a variable just like any other Python expression.
Matt Layman: Heroku Stack Upgrade - Building SaaS with Python and Django #147
Link: https://www.mattlayman.com/blog/2022/heroku-stack-upgrade-building-saas-with-python-and-django-147/
In this episode, I did some upgrades. We upgraded the app to the latest Heroku stack, upgraded htmx to the latest version, then worked on a small feature to add an empty state to a page when there is
Link: https://www.mattlayman.com/blog/2022/heroku-stack-upgrade-building-saas-with-python-and-django-147/
In this episode, I did some upgrades. We upgraded the app to the latest Heroku stack, upgraded htmx to the latest version, then worked on a small feature to add an empty state to a page when there is
Matt Layman
Heroku Stack Upgrade - Building SaaS with Python and Django #147
In this episode, I did some upgrades. We upgraded the app to the latest Heroku stack, upgraded htmx to the latest version, then worked on a small feature to add an empty state to a page when there is no useful data to display.
Python Morsels: Installing Python packages
Link: https://www.pythonmorsels.com/installing-python-packages/
When your code depends other Python libraries to run, you'll want to reach for pip and venv to install those third-party Python packages.
Table of contents
Our program depends on a third-party pac
Link: https://www.pythonmorsels.com/installing-python-packages/
When your code depends other Python libraries to run, you'll want to reach for pip and venv to install those third-party Python packages.
Table of contents
Our program depends on a third-party pac
Pythonmorsels
Installing Python packages
When your code depends other Python libraries to run, you'll want to reach for pip and venv to install those third-party Python packages.
IslandT: Python Example — How to use the with open file method in Python
Link: https://islandtropicaman.com/wp/2022/10/09/python-example-how-to-use-the-with-open-file-method-in-python/
In this Python example, I am going to create a Python program that will get the user poet inputs and then save them inside a file, and after that displayed those poets back on the screen.
I am going t
Link: https://islandtropicaman.com/wp/2022/10/09/python-example-how-to-use-the-with-open-file-method-in-python/
In this Python example, I am going to create a Python program that will get the user poet inputs and then save them inside a file, and after that displayed those poets back on the screen.
I am going t
Codementor: MicroPython MQTT Tutorial Based on Raspberry Pi
Link: https://www.codementor.io/emqtech/micropython-mqtt-tutorial-based-on-raspberry-pi-1xyzlmo1gx
This article introduces how to write an MQTT client on Raspberry Pi using MicroPython, and implements the connection, subscription and messaging, etc of MQTT.
Link: https://www.codementor.io/emqtech/micropython-mqtt-tutorial-based-on-raspberry-pi-1xyzlmo1gx
This article introduces how to write an MQTT client on Raspberry Pi using MicroPython, and implements the connection, subscription and messaging, etc of MQTT.
www.codementor.io
MicroPython MQTT Tutorial Based on Raspberry Pi | Codementor
This article introduces how to write an MQTT client on Raspberry Pi using MicroPython, and implements the connection, subscription and messaging, etc of MQTT.
Ahmed Bouchefra: How to delete blank page in MS Word
Link: https://efficientcoder.net/delete-blank-page-in-word/
You’ve decided that you’d like to get rid of a blank page in Word. In most cases, if you press the delete or backspace key on your keyboard a sufficient number of times, everything should work properl
Link: https://efficientcoder.net/delete-blank-page-in-word/
You’ve decided that you’d like to get rid of a blank page in Word. In most cases, if you press the delete or backspace key on your keyboard a sufficient number of times, everything should work properl
Efficient Coder
How to delete blank page in MS Word | EfficientCoder
Learn modern web development.
Podcast.__init__: How And Why To Build Effective Teams As An Engineering Leader
Link: https://www.pythonpodcast.com/effective-engineering-teams-jigar-desai-episode-380/
Your ability to build and maintain a software project is tempered by the strength of the team that you are working with. If you are in a position of leadership, then you are responsible for the growth
Link: https://www.pythonpodcast.com/effective-engineering-teams-jigar-desai-episode-380/
Your ability to build and maintain a software project is tempered by the strength of the team that you are working with. If you are in a position of leadership, then you are responsible for the growth
The Python Podcast.__init__
The Python Podcast.__init__: How And Why To Build Effective Teams As An Engineering Leader
An interview with Jigar Desai about his extensive experience building and scaling engineering teams and useful lessons that you can apply to your own work as an engineering leader.
Codementor: How to truncate/delete a database table from the AWS Glue job?
Link: https://www.codementor.io/rakeshkaswan/how-to-truncate-delete-database-table-from-aws-glue-job-1xy1ripn58
Truncating/Deleting a Mysql/MariaDB/Postgres table from AWS Glue using python
Link: https://www.codementor.io/rakeshkaswan/how-to-truncate-delete-database-table-from-aws-glue-job-1xy1ripn58
Truncating/Deleting a Mysql/MariaDB/Postgres table from AWS Glue using python
www.codementor.io
How to truncate/delete a database table from the AWS Glue job? | Codementor
Truncating/Deleting a Mysql/MariaDB/Postgres table from AWS Glue using python