Skip to content

Marina Mele's site

Reflections on family, values, and personal growth

Menu
  • Home
  • About
Menu

Category: Python

3rd-grade & Karatsuba multiplication Algorithms

Posted on September 4, 2016June 1, 2023 by Marina Mele

In this post we’re going to study the third-grade algorithm to compute the product of two numbers, and we’re going to compare it with a much more efficient algorithm: The Karatsuba multiplication algorithm. Did you know that these two algorithms are the ones used in the built in Python multiplication? We will talk about the Order…

Read more

Install and Configure the Atom Editor for Python

Posted on June 7, 2015June 8, 2015 by Marina Mele

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…

Read more

Selenium Tutorial: Web Scraping with Selenium and Python

Posted on February 21, 2015 by Marina Mele

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…

Read more

7 tips to Time Python scripts and control Memory & CPU usage

Posted on November 20, 2014November 16, 2014 by Marina Mele

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…

Read more

From a Python script to a portable Mac application with py2app

Posted on November 13, 2014November 13, 2014 by Marina Mele

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. Marina MeleMarina Mele has experience in artificial intelligence…

Read more

Use the Google Analytics API with Python

Posted on October 7, 2014June 1, 2015 by Marina Mele

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…

Read more

Install Python 3 on Mac OS X and use virtualenv and virtualenvwrapper

Posted on July 12, 2014February 21, 2015 by Marina Mele

This post explains how to install Python 3 in a Mac OS X, both Mavericks and Yosemite. Check this post if you want to clean install Python 2.7. You can also install both! 🙂 It also shows how to use virtualenv and virtualenvwrapper with Python 3. Don’t miss it! Marina MeleMarina Mele has experience in…

Read more

Install Python 2.7, virtualenv and virtualenvwrapper on OS X Mavericks/Yosemite

Posted on May 1, 2014February 21, 2015 by Marina Mele

This post explains how to install a clean version of Python in a Mac OS X Mavericks/Yosemite. You’ll also learn to install and use the virtualenv and virtualenvwrapper tools to create virtual environments for your projects. Marina MeleMarina Mele has experience in artificial intelligence implementation and has led tech teams for over a decade. On…

Read more

Modifying the __add__ method of a Python Class

Posted on April 16, 2014September 26, 2014 by Marina Mele

Learn how you should modify the __add__ method of a Python class to be able to add two instances of a custom object. We also talk about the __radd__ method, necessary to sum a list of instances. Marina MeleMarina Mele has experience in artificial intelligence implementation and has led tech teams for over a decade….

Read more

13 useful tips about Python datetime objects

Posted on March 23, 2014June 19, 2015 by Marina Mele

The Python datetime library provides several useful objects to manipulate times and dates. I’ve been using them a lot lately, and I want to share some useful operations that might be useful to you as well 😉 You can find a video version of this post at the bottom of the page 🙂 Marina MeleMarina…

Read more

Posts navigation

  • 1
  • 2
  • Next

Categories

  • Personal Growth and Development
  • Artificial Intelligence
  • Mindful Parenting and Family Life
  • Productivity and Time Management
  • Mindfulness and Wellness
  • Values and Life Lessons
  • Posts en català
  • Other things to learn

Recent Posts

  • Understanding Frustration in Children
  • What is ChatGPT and how it compares to Bard and Claude
  • BlueSky Social – A Sneak Peek at the Future of Social Media
  • The Incredible Journey of AI Image Generation
  • AI and Fundamental Rights: How the AI Act Aims to Protect Individuals

RSS

  • Entries RSS
Follow @marina_mele
  • Cookie Policy
  • Privacy Policy
©2025 Marina Mele's site | Built using WordPress and Responsive Blogily theme by Superb
This website uses cookies to improve your experience. If you keep navigating through this website, we'll assume you're ok with this, but you can opt-out if you wish.Accept Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT