Tips for Python Users
[File Read and Write] For opening a file, we can use open and close functions similar to c programming cases. E.g., f = open( 'hello.txt', 'r') [For .. in ..] When we use for-in command, we must use : in the end of the line. E.g., for line in lines: [Operators] Python use similar operator with C [Boolean operation] In Python, we can use 'and', 'or' and 'not' directly for operation E.g., x or y [True and False] For Boolean variables, we can use True or False but not true or false [String.Split()] A string can be split to wrods in array form. my_split_words = my_phrase. split ( ) http://www.daniweb.com/software-development/python/threads/187010 [String.join()] An array can be joined into a string by the use of the join() method. >> sentence = ["there", "is", "no", "spoon"] >> string.join(sentence, " ") 'there is no spoon' [Slice for list an...