Django,love for the first sight.

Posted on Mon 26 August 2019 in Programming

If you want to build a ship, don’t drum up the people to gather wood, divide the work, and give orders. Instead, teach them to yearn for the vast and endless sea.

-Antoine De Saint-Exupery, The Little Prince

python

To an outsider, art and programming couldn’t be more different. One seems rigid, with precise instructions that are read by an unyielding machine, and the other is open to interpretation by error prone, emotional humans.

But the process of writing software is the same thing as the process of creating art. In each, we experiment, copy, explore, and then share what we’ve made. Art and programming are both mediums for exploring our ideas, and then sharing those ideas for other people to play with.

Python is a programming language, but also a program that reads and runs programs. Python can load and run programs from files, or you can write code line by line, directly into it. Because Python reads your program line by line, it’s called an interpreter.

Finally, Python is a very easy programming language to read, compared to most languages. At first, looking at Python code might seem confusing, but there are very simple rules for Python code relative to other languages. It uses a lot of white spaces to designate what parts of the code belong to each other. This makes reading other people’s code easier, and gives plenty of other, open source code to look at if we get stuck.

Code blocks are preceded by an indent, three : symbols and the name of the language. All of the following code will be highlighted while the text is indented.

def do_twice(func):
    return func(*args, **kwargs).lower()
return wrapper_do_twice

@do_twice
def say_whee(some_text):
    print(some_text)

x = 'Whee!'
say_whee(x)

Once upon a time, I sat on a very huge tree was thinking what the purpose of life is. My mind was flying far far away but unlucky didn't find any answer. Did I desperate...? I am a Ninja, with great power comes with great responsibility and never rely the future on the social media such as Facebook, Instagram, etc ????.

By the way, lending the very nice quote from 'Deidara' I would say that 'Art is a Programming'.