This shows you the differences between two versions of the page.
software_carpentry [2013/06/01 14:13] sandeep |
software_carpentry [2018/03/24 11:13] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Basic===== | ||
- | =====Editors==== | ||
- | - Create a file using cat with all the names of your friends. | ||
- | - Concatenate the file with some other names | ||
- | - Search for a name in the file using sed | ||
- | - Replace a name with another using sed. Redirect it to another file name. | ||
- | - Search for the name in the file using Nano | ||
- | - Write a Hello world program in emacs | ||
- | - Split the windows in emacs | ||
- | - Find out copy and paste in emacs. Also, about M-x increase-left-margin | ||
- | |||
- | =====Python===== | ||
- | - Find out the area of a rectangle with length = 10 and breadth = 20 | ||
- | - Find the maximum number in [1,30,99,43,21] | ||
- | - Check what max(list) does | ||
- | - Implement Linear search using lists | ||
- | - Take a list, implement a loop such that the program prints the index of a particular item in the list. | ||
- | - Take a string using raw_input and replace all a's in the string with b's | ||
- | - Take a string using raw_input and check if it is a palindrome | ||
- | - Check [[python_reference#string_reverse|reversed]] | ||
- | - Make an English to telugu dictionary with 10 english words as the keys and telugu words as values. Now, make some strings with the dictionary | ||
- | - Print this | ||
- | <code> | ||
- | P | ||
- | Py | ||
- | Pyt | ||
- | Pyth | ||
- | Pytho | ||
- | Python | ||
- | </code> | ||
- | |||