Tutorial
I'm Learning Python (part 5)
I’m Learning Python (part 5) String Is Immutable? Last time I told you to try to change a specified character, you must have failed if you tried: >>> s[0] = ‘c’ The error you’d get is: TypeError: ‘str’ object does not support item assignment This means that strings are immutable, so are core-types, numbers and [...]
I'm Learning Python part 4
I’m Learning Python (part 4) Why Use Built-In Types? Most of the time in programming you’ll use lists, stacks, arrays, queues and dictionaries, so instead of constructing them, Python gives you a bunch of built-in types to use. The built-in types implement the semantic of the type ADT (Abstract Data Type), and they are fast, [...]
I'm Learning Python part 3
I'm Learning Python (part 3) What Is Interactive Mode? When you install Python on your platform you'll find an executable called 'python', when you run it you'll find a terminal and you'll see something like the following: Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" [...]
I’m Learning Python part 2
I’m Learning Python (part 2) Who Uses Python? In the world there are more than 1 million Python user, that’s because it’s open source, and because it is implemented for every platform, and it comes included within Linux distributions and Macintosh computers and more. Google uses Python in its web search system, and it employs [...]
I'm Learning Python part 1
I’m Learning Python I’ll start posting this series of blogs on WordPress and CSC, here I’ll write what I’m gonna learn on my way to learning Python. If you don’t know what Python is, or you’ve heard about it but you’re not sure what it is, my first blog will cover it for you. What [...]
