Eleven IPython keyboard tips/shortcuts to Move Around Easily. Ctrl-p or up-arrow: Access command history in backward Ctrl-n or down-arrow: Access command history in forward Ctrl-a: Move cursor to beginning of line Ctrl-e: Move cursor to end of line Ctrl-f: Move cursor forward one character Ctrl-b: Move cursor back one character Ctrl-l: Clear screen Ctrl-r: reverse history [...]
How To Paste Code in Python Interpreter? Hint: Use iPython
If you have formatted code block with proper indentation and want to test it by copying and pasting on a python interpretor, you will be frustrated at Python for complaining at you. iPython offers great solutions for copying and pasting the code right from the terminal interpreter. One useful command in iPython to play with [...]
How To Set PATH variable on Bash Shell?
The Great Dropbox Space Race: A way to get free Dropbox space for students
Dropbox announced the Great Dropbox Space Race for students that offers students free space of up to 25GB for two years. The way the Dropbox space Race works is as a student refers a classmates and professors to Dropbox, not only the students/professors earn free space, everyone from the school who were signed up of [...]
Three Ways to Write Text to a File in Python
How To Check If a File or Directory Exists Using Shell Script?
7 Tips to Play With File Names, Directory Names, and Paths Using Python OS.path Module
Python’s OS.path module have a lots of commands/methods that are greatly useful for all things files/directories/paths. Here is seven tips for playing with files, directories, and paths using using Python os.path. How To Check If a “Name” is a Directory? To make sure if a name is directory or not, one can use “os.path.dir” to [...]
How To Get Free Space From Dropbox?
Do you love Dropbox and want more space in Dropbox for your use? Well, you may know that referring to a friend gives you 500MB more space. The competition for cloud space is getting hotter and Dropbox wants to remain relevant to you. (Google Drive offers 5GB free space while starting and Dropbox just gives [...]
Getting Started with Sort in Python: Sorting Lists in-place
Let us starting simple and start with easy sort. Python has two sort functions; one function that sorts a list in-place and the other sort function “sorted” that creates a new sorted list. In this post, we will see examples of “in-place” sorting. Python’s in-place sorting As the name suggests the in-place sorting replaces the [...]
How To Install a R Package Locally and Load it Easily?
R has been one of the popular languages for anything to do with large amount of data. There are loads of useful packages that let you get started immediately in using a wide realm of statistical/computational tools. Installing an R package is easy. Typically, R Packages can be downloaded as “tar.gz” file for Mac OS [...]
