Blog Detail

learn python

learn python

http://www.pythonlearning.blogspot.com

its all about python

subscribe Recent Posts

  • Strings

    Posted on Monday February 11th, 2008 at 04:53 in python

    Besides numbers, Python can also manipulate strings, which can be expressed in several ways. They can be enclosed in single quotes or double quotes: >>> 'spam eggs''spam eggs'>>> 'doesn\'t'"doesn't">>> "doesn't""doesn't">>> '"Yes," he said.''"Yes," ...

  • Using Python as a Calculator - Numbers

    Posted on Monday February 11th, 2008 at 04:52 in python

    The interpreter acts as a simple calculator: you can type an expression at it and it will write the value. Expression syntax is straightforward: the operators +, -, * and / work just like in most other languages (for example, Pascal or C); parenth...

  • An Informal Introduction to Python

    Posted on Monday February 11th, 2008 at 04:51 in python

    In the following examples, input and output are distinguished by the presence or absence of prompts (>>> and ...): to repeat the example, you must type everything after the prompt, when the prompt appears; lines that do not begin with a prompt are...

  • The Interactive Startup File

    Posted on Monday February 11th, 2008 at 04:50 in python

    When you use Python interactively, it is frequently handy to have some standard commands executed every time the interpreter is started. You can do this by setting an environment variable named PYTHONSTARTUP to the name of a file containing your s...

  • Source Code Encoding

    Posted on Monday February 11th, 2008 at 04:49 in python

    By default, Python source files are treated as encoded in UTF-8. In that encoding, characters of most languages in the world can be used simultaneously in string literals, identifiers and comments — although the standard library only uses ASCII ...

  • Executable Python Scripts

    Posted on Monday February 11th, 2008 at 04:49 in python

    On BSD’ish Unix systems, Python scripts can be made directly executable, like shell scripts, by putting the line #! /usr/bin/env python (assuming that the interpreter is on the user’s PATH) at the beginning of the script and giving the file an...

Comments & Reviews

There is no rating for this blog because there are no comments yet.

Post A Comment/Review

* Your IP is being logged.
* Your e-mail address is used only for verification purposes only and will not be sold, or shown publicly.
* No HTML tags allowed
* DO NOT use the Comments/Reviews to promote your own site.

Name: or Login
E-mail:
Rating:
Verify: Spam Protection: sum of 1 + 4
Comment:
  Remember Information
 
  •  

  • Rate This Blog

  • Related Blogs

    • Devador

      Yazılımlar ve programlama konusundaki kişisel deneyimler ile günlük hayatı…

    • Blog de Marcelo Ramos

      What I do, what i\'m interested in, what catches my eye

    • Programming and Energy

      In the coming days I would be posting on programming topics related to python, z…

  • Tag Cloud

  • view moreRecent Viewers

    • epicRelic
    • namibnat
    • dubbagol
    • pylover