In this post we’ll talk about the Atom editor which is, as they say, A hackable text editor for the 21st Century. It’s a really nice, open source and modern editor, with a broad community that provides different and new packages and functionalities. Have you tried it yet? Here, you’ll learn how to install it and how to…
Selenium Tutorial: Web Scraping with Selenium and Python
Imagine what would you do if you could automate all the repetitive and boring activities you perform using internet, like checking every day the first results of Google for a given keyword, or download a bunch of files from different websites. In this post you’ll learn to use Selenium with Python, a Web Scraping tool…
7 tips to Time Python scripts and control Memory & CPU usage
When running a complex Python program that takes quite a long time to execute, you might want to improve its execution time. But how? First of all, you need the tools to detect the bottlenecks of your code, i.e. which parts take longer to execute. This way, you can concentrate in speeding these parts first. And…
Use the Google Analytics API with Django
Google Analytics is a powerful tool that gives you useful insight about the traffic that arrives in your website. But together with Django, you will be able to retrieve data of your Analytics account and display it to the user, on demand. In this post you’ll learn how to put together Django, the oauth2 protocol and the…
From a Python script to a portable Mac application with py2app
Do you want to share a Python script to a friend that doesn’t have Python installed? In this post you’ll learn how 🙂 With the py2app package you can compile a Python script and create a portable Mac application. If you’re using windows, you can check py2exe.
13 WordPress Plugins to improve your Website
To manage this website, I changed from Blogger to WordPress because I wanted to convert my Blog into a Website. I liked the idea to have structured pages where people could navigate through, and at the same time, maintain the Blog in a subfolder. In this post, I want to share some WordPress plugins I installed…
How to correctly remove a Model or an App in Django
When you remove a Django Model or a full app in Django, you have to be careful in how you do it, and how the database will be affected. Thus, in this short post I’ll explain what I do when deleting a model or an app.
Use the Google Analytics API with Python
In this post you will learn to create a Python script that allows users to enter its Google Analytics account and get information from there. In order to do that, we will create a Project in the Google Developers Console and authorize it to use the Analytics API. Next, we will use the Oauth 2.0 protocol to…
Install WordPress locally and use Duplicator to clone your Local and Live websites
In this post, you will learn how to set up WordPress in your computer, so that you can develop and test your new features locally, before updating them into your live website. You will also learn how to clone your live WordPress website into your local server, and how to clone the local WordPress to…
Security on a Django app – HTTPS everywhere
Authentication credentials between your site and your end users must be secret. Is your site secure enough? One important step is to use HTTPS everywhere in your Django website, and in this post we will show you how to implement it. In particular, if you are deploying your App on Heroku, don’t miss this post 😉