What Is a Python Function? A Tutorial

Reading Time: 7 minutes
python functions

What is a Python Function? 

In this tutorial, we discuss one of the most useful attributes of Python: the function. Python functions are considered “First Class” objects. A First Class object can be assigned to variables, stored in data structures, passed as arguments to other functions, or even return values from other functions. Other examples of First Class objects in Python are integers, strings, and dictionaries.

Continue reading “What Is a Python Function? A Tutorial”

How to Install Jenkins on CentOS 8

Reading Time: 6 minutes

What is Jenkins?

Jenkins is an open-source software written in Java and Scala. This software allows users the ability to automate almost any task and, it saves significant time that can be better utilized addressing other issues. When automating tasks with Jenkins, users can optimize their workflow by quickly automating the jobs that servers cannot do themselves. In this tutorial, we will learn how to install Jenkins on CentOS 8. We will also explore what its purpose is and share several benefits that Jenkins offers. We will then configure it to run on our CentOS 8 server.

Continue reading “How to Install Jenkins on CentOS 8”

Which Installer is Better? Pip or Easy Install

Reading Time: 5 minutes
pypi logo

One of the most significant advantages of Python is how easy it is to reuse existing code. 

  • Need to talk to servers? Just import requests
  • Need to talk to a MySQL database? Import the mysql.connector software! 
  • Need to fly? Just import antigravity

Of course, these packages need to exist somewhere in your server, and installing them can be problematic without the right tools. Fortunately, that is a problem the Python developers have invested significant time investigating and correcting.

Continue reading “Which Installer is Better? Pip or Easy Install”

The Best Editors for Development 2021

Reading Time: 5 minutes

In this tutorial, we explore the top five IDEs or Integrated Development Environments in demand today, and why most developers prefer them. 

Continue reading “The Best Editors for Development 2021”

How to Install the Django Web Framework on Ubuntu 20.04

Reading Time: 5 minutes

What is Django?

Django is a Python-based web framework that is used for developing complex, database-driven websites. It also operated under an open-source license indicating it is free to use. Django is ultra-fast and encourages security, and it is exceptionally adaptable, which is the cause of its immense popularity.

Continue reading “How to Install the Django Web Framework on Ubuntu 20.04”

An Introduction to Ansible Playbooks

Reading Time: 4 minutes
Ansible_logo

Ansible is an open-source tool that uses playbooks to enable configuration management, software provisioning, and application deployment. It is primarily written in Python and was released in 2012. Ever since then, it has saved countless hours of often menial work of deploying and maintaining IT infrastructure. Overall, Ansible is very consistent, secure, reliable, and it requires a minimal learning curve. Simply put, Ansible is a powerful tool for automating apps and infrastructure. You can read more about general Ansible information in our recently published article.

Continue reading “An Introduction to Ansible Playbooks”

How to Install and Update Python to 3.9 in Ubuntu

Reading Time: 4 minutes

In this article, we will explore the newest methods to install or update to the latest version of Python on our Ubuntu system. 

What is Python?

python-logo

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. It’s high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development and use as a scripting or glue language to connect existing components together. Python’s simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse.

https://www.python.org/doc/essays/blurb/
Continue reading “How to Install and Update Python to 3.9 in Ubuntu”

How to Benchmark a Website Using Apache Bench

Reading Time: 5 minutes

What is Apache Bench? 

Apache Bench is a benchmarking tool that is included with the Apache web server software. It is designed to provide an impression of how our Apache installation will perform under different circumstances. Specifically, it shows us how many requests per second our Apache installation can serve.

Continue reading “How to Benchmark a Website Using Apache Bench”

DevOps: A New Perspective on Shared Automation

Reading Time: 9 minutes

What is DevOps?

DevOps is a set of various tools, practices, and ideals that combine software development (Dev) and IT Operations (Ops) into a single unifying force. It allows for better collaboration between developers, operations teams, system administrators, and system engineers. Their streamlined goal is to continually provide a high-value software product to the customer at high speed while monitoring and improving the overall process than using traditional software and infrastructure management. 

Continue reading “DevOps: A New Perspective on Shared Automation”

How to Install PyCharm on Ubuntu

Reading Time: 5 minutes

What is PyCharm?

PyCharm is an Integrated Development Environment (or IDE) for the Python programming language. It is a cross-platform development environment that is compatible with Windows, macOS, and Linux. It provides a tool that integrates code analysis, graphical debugging, unit testing, and an integrated terminal that supports development on remote hosts and virtual machines. 

Continue reading “How to Install PyCharm on Ubuntu”