Home » Python (page 5)

Python

File Handling in Amazon S3 with Python Boto Library

1.Introduction Amazon Web Services (AWS) Simple Storage Service (S3) is a storage as a service provided by Amazon.  It a general purpose object store, the objects are grouped under a name space called as “buckets”.  The buckets are unique across entire AWS S3. Boto library is the official Python SDK for software development.  It provides APIs to work with AWS ...

Read More »

“Object Literals” in Python

This may come as a shock to my regular readers, but even as a Pythonista and Kotlinite, I’m a little jealous of JavaScript. That’s right; I – a JS hater – am jealous of JavaScript. More specifically, I’m jealous of JavaScript’s object literals (also full-featured function literals, but I don’t think I can do anything about that). Yes, in many ...

Read More »

The Yin and Yang of Python

It’s time that I got a bit more real with you guys. Pretty much ever since I learned Python, I’ve been touting it as a super amazing language. I’ve been doing the same with Kotlin, but this is about Python. Now, this doesn’t mean I’m going to be changing my tune from here on out; after this, I’m not really ...

Read More »

Best way to learn Python

In this article, we’ll talk about the most efficient way to learn Python. Of course, this article will be really subjective, as it is only based on my personal experience. I’ve started learning Python from it’s 3.4 version. I’ve never actually worked with previous versions, although I coded a little bit just to satisfy my curiosity. Still, the difficulty of ...

Read More »

Python Array Example

Let’s talk about arrays in Python 3.4. Arrays are a way of grouping basic values (characters, integers, floating point numbers), they are sequence types and behave almost like lists, except that all the items in an array must be of the same type. Also, arrays are mutable, ordered and indexed. 1. The Basics You probably know lists in Python, and ...

Read More »

Python Class Example

In this tutorial, we’ll talk about classes. By using Python 3.4, we will talk about what classes are, how do we use them and what can we do with them. Python is an object-oriented programming language, and as such it has a class mechanism. Classes are extensible templates for creating objects, providing initial values for state (variables) and implementation of ...

Read More »

Python Tutorial for Beginners

Let’s talk about Python. If you want to learn Python from scratch, this tutorial will be a good read for you. By using Python 3.4.3 (which you can download here), we’ll see the basics of this awesome language. This tutorial expects you to have some basic knowledge of programming. And knowing any other language will be a big plus. Table ...

Read More »