python-confusing-things
Python zip() function

Have you seen an actual zip at work? When you close a zip, it takes in 2 teeth (1 from each side) and then locks them up together. The Python zip() function is very similar.
...Have you seen an actual zip at work? When you close a zip, it takes in 2 teeth (1 from each side) and then locks them up together. The Python zip() function is very similar.
...Sometimes, your program would need to work on data that is generated by some other program. Or you have some business report that has been exported to a CSV file and your program now needs to read or write to such CSV files.
...Assertions in Python are like quick “checkpoints”. The program either moves forward from there or terminates.
...Python allows you to connect a local host to an external server using HTTP (the hypertext transfer protocol) by hitting a particular URL.
...In a vast majority of programming languages, a block of codes are executed in the order starting from the first statement and Python programming is not an exception. When a function in a program is executed in Python, it is the same. The first statement is executed first, followed by the next one and so on.
...Comment writing is a good programming practice that can help you, other programmers or testers add clarity to the program. The following are the kinds of comments in Python.
...Tea has always been a hot topic on this blog. But tea can’t just be accepted – it must be criticized and reviewed.
...As you start programming in Python you will undoubtedly have to use a collection object. In case you don’t remember, collections class in Python provides access to various objects like (dictionaries, tupples etc). Besides the collections class, Python also supports lists, sets as built-ins. All of these provide you easier ways to store and manipulate data.
...This article explores some concepts of iteration in Python – specifically, the concepts of ‘iterables’, ‘generators’ and the keyword ‘yield’.
...Python’s an interesting language. Here are five of its quirkiest aspects.
...