Page 144 - PYTHON-12
P. 144

Practical Implementation–9


              Program to print the records in the form of comma separated values, instead of lists.











































              In the above program, we have used a new function join(). join() is a string method that joins all
              values of each row with comma separator. Thus, all the records are displayed as a string separated
              by a comma separator and not as a list and hence the output is so obtained.
              Practical Implementation–10

              Program to search the record of a particular student from CSV file on the basis of inputted name.





















                                                                                                                  Python Libraries







                                                                                                            4.15
   139   140   141   142   143   144   145   146   147   148   149