Python
Articles tagged with python or related to a Python technology.
Python Programming Idioms And Conventions - Part 2
As a follow-up to the previous article, let's discuss other idioms, or simply good practices, that Python developers use on a daily basis for their projects.
Python Programming Idioms And Conventions - Part 1
One reason I like using Python is that it's easy to share good practices within your team, once you have learned them yourself.
A Happy New Year 2020 To All
We are clearly in the new year now! Most of us are already busy again with our daily tasks and thinking about projects we have at hand, and the "how" questions related to those projects and deliveries.
How To Install Python Libraries Using Wheels
Most of the time, for your Python project, you need libraries which call in your code, after the installation of the required add-on packages.
You install add-on packages nowadays by just running pip install <name_of_package>
and it works fine. In most cases, this is because, among other things, the package has releases published (by its author) on the Python Package Index (the PyPI).
New Book: Mastering Python Design Patterns
Over the last 7 or 8 months, I have been working with Packt Publishing on the 2nd edition of a book about design patterns: Mastering Python Design Patterns. It has been out for a month now, and I started mentioning it here and there.
Python Lists For Your Scripts And Algorithms
One specific tool every programmer uses everyday is what, in Python, we call Lists. And Python lists are relatively simple to use.
Python, Selenium, And ChromeDriver: Automating Web Interactions - Part 2
Let's continue our exploration of possibilities and tricks using Selenium and ChromeDriver via Python. In the 2nd installment of this series, I will touch upon useful techniques to interact with the specific elements you need in the web page or user interface.
Python, Selenium, And ChromeDriver: Automating Web Interactions - Part 1
This article starts a series where we are going to discuss how to use Selenium, from Python, for automating website navigation and doing visual data scraping.
Automating Tasks Using Python For The Lean Entrepreneur
As you may know, many powerful and smart pieces of software are written in Python. Based on that, how I approach things (and my clients too) is: Just leverage these tools!
4 Python Modules I Have Been Using More Recently
Back to more coding! Here are 4 Python modules I have been using more recently for building solutions to actual problems.
Introduction To Programming Using Python Workshop At University Of Ghana
This is a guest post from the Python Ghana community that organized the UG Python Workshop 2017. It provides a report about the event and was written by Gameli Adzaho.
How To Manage Domains Using The DNSimple API - Part 2
After the first part on managing domains using the DNSimple API, here is the follow-up where we will see how to do domain registration operations using the sandbox version of the API.
How To Manage Domains Using The DNSimple API - Part 1
Following my previous articles discussing DNSimple for domains and DNS management and HTTPie to interact with APIs in the command line, today I am starting a post series on using DNSimple's API.
Getting Started With HTTPie To Interact With APIs
HTTPie is an HTTP client and an alternative to the famous cURL. Its goal is to make it easy to interact with HTTP servers, using a simple and natural syntax. This post will show how to quickly start using those benefits to test APIs.
Manage Your Python Virtual Environments With Pyenv
Virtualenv is the tool for creating a Python virtual environment, a folder on your computer system that
embarks its own copy of the Python interpreter and the site-packages
subfolder where the code for the installed third-party modules is placed.
Use Multiple Python Versions And Environments With Pyenv
When using different Python-based tools, frameworks or applications, you need to install all the corresponding compatible versions of Python and easily switch between them. Assuming, you are running on Linux, you will enjoy using pyenv. It is one popular tool to manage several versions of Python, and even environments dedicated to projects.
Automating Requests To Websites Using Python
Need to automate HTTP requests using Python? One popular way, and also my preferred one, is to use the requests module. Let's have a quick look.
6 Techniques I Learned To Use While Working More With Python
These last months, I learned more about many Python features and how to write Pythonic code that really uses those features. That happened naturally. I wanted to get better at programming with Python for my projects, and I started watching Pycon talks on a daily basis or reading the documentation and online resources. Also, in current projects, I am mostly using Python 3.
Installing software on my MacBook for more productivity - Part 2
Here are my notes on installing Python and related packages useful for my web development with Plone and web frameworks such as Pyramid, or for pure scripting work.
Start using a website monitoring service
Monitoring is important these days, to help you improve the response time of your web apps, and give you insights on how they are used. Subscription-based services lower the barrier of entry by not requiring you to install and manage your own monitoring infrastructure. And they are generally free for developers.
Reboot of my Plone activities
The first months of this year have seen more activities on the Plone front in my realm, and there are signs of a regain of energy for future work and collaborations. Let me share some information here.
How I follow Plone 5 development
The Plone developers have been working hard over the last years to build the next major release of Plone. It's now around the corner, and it's going to shine in CMS land. The first thing I am doing is testing its features for the end user, and since I am impatient, I use the core developers buildout and try to keep up with the development builds.
Productivity tips for Web Developers and Product Launchers
So much to do and only so many hours in a day! If this is where you're at, you're not alone.
How to upgrade an old Plone site
I have migrated several sites from Plone 4.1 to Plone 4.3.3 this week. I am in the fortunate position where I help maintain many Plone sites, most of them being more than 6 years old. Fortunate because it helps learn a lot, over the years, on the good and the bad in terms of content management practices.
Why not simplify?
I work on projects using Plone, and I love working with its framework. I just worked an hour for my current project, and once again I enjoyed the fact that I can write stuff in a clean way. I can expose logic or behavior where and how I want it, using interfaces and components mechanisms provided by Zope libraries under the hood. It's got even better now that we have an elegant API.