• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar

Python and R Tips

Learn Data Science with Python and R

  • Home
  • Python
  • Pandas
    • Pandas 101
  • tidyverse
    • tidyverse 101
  • R
  • Linux
  • Conferences
  • Python Books
  • About
    • Privacy Policy

How to Download a File or Directory Using wget?

August 17, 2011 by cmdlinetips

If you are spending too much time on a terminal, there is a good chance that you would like to download a file or a directory from the web, but without really using a browser. You can use the command line utility “wget” to download a file or a directory right from your terminal. The […]

Filed Under: Linux Tips, Uncategorized, wget, wget Download a Directory, wget Download a File Tagged With: Linux Tips, Mac Os X Tips, wget, wget download

How to Find the List of Directories in a Directory in Linux/Mac OS X?

August 9, 2011 by cmdlinetips

ls -lt to list files and directories

Anyone who has used command line on a terminal must have used the linux command “ls” to list the files and directories in a directory. Simple use of “ls” command will list directory and files in a given directory. Often you might want to know only about the directories in a directory. One can use […]

Filed Under: Linux Tips, List Directories, Mac OS X Tips Tagged With: Linux Tips, List Directories, Mac Os X Tips

3 Ways to Read A Text File Line by Line in Python

August 7, 2011 by cmdlinetips

Python Read a Text File Line by Line

Opening a file and reading the content of a file is one of the common things you would do while doing data analysis. In this tutorial, we will see 3 examples of reading a text file in Python 3. One easy way to read a text file and parse each line is to use the […]

Filed Under: Python, python readline, python readlines, Python Tips, Read A Text File Tagged With: Python, Read a Text File, readline, readlines

How to Count the Number of lines, Words, and, Characters in a Text File from Terminal?

August 2, 2011 by cmdlinetips

word count in termimal

How can we get the number of lines or number of words in a file? The most easiest way to count the number of lines, words, and characters in text file is to use the Linux command “wc” in terminal. The command “wc” basically means “word count” and with different optional parameters one can use […]

Filed Under: Count Files, Count Lines, Linux Tips Tagged With: Count Files, Count Lines, Linux Tips, wc

How to Make Vim More Colorful? Hint: Use Color Scheme

July 30, 2011 by cmdlinetips

Vim Color Scheme Tips

Are you not satisfied with the colors you have on Vim? Vim has loads of options to make your Vim editing colorful and cheerful experience.  The basic command in Vim to switch on colors or switch off colors is “syntax”.  Just to try and see how the syntax command changes the colors on your Vim […]

Filed Under: Vim, Vim Color Scheme, Vim Color Syntax, Vim Tips Tagged With: Linux Tips, Vim, Vim Color Scheme Tips, Vim Color Schemes, Vim Color Syntax

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 63
  • Page 64
  • Page 65
  • Page 66
  • Go to Next Page »

Primary Sidebar

Subscribe to Python and R Tips and Learn Data Science

Learn Pandas in Python and Tidyverse in R

Tags

Altair Basic NumPy Book Review Data Science Data Science Books Data Science Resources Data Science Roundup Data Visualization Dimensionality Reduction Dropbox Dropbox Free Space Dropbox Tips Emacs Emacs Tips ggplot2 Linux Commands Linux Tips Mac Os X Tips Maximum Likelihood Estimation in R MLE in R NumPy Pandas Pandas 101 Pandas Dataframe Pandas Data Frame pandas groupby() Pandas select columns Pandas select_dtypes Python Python 3 Python Boxplot Python Tips R rstats R Tips Seaborn Seaborn Boxplot Seaborn Catplot Shell Scripting Sparse Matrix in Python tidy evaluation tidyverse tidyverse 101 Vim Vim Tips

RSS RSS

  • How to convert row names to a column in Pandas
  • How to resize an image with PyTorch
  • Fashion-MNIST data from PyTorch
  • Pandas case_when() with multiple examples
  • An Introduction to Statistical Learning: with Applications in Python Is Here
  • 10 Tips to customize ggplot2 title text
  • 8 Plot types with Matplotlib in Python
  • PCA on S&P 500 Stock Return Data
  • Linear Regression with Matrix Decomposition Methods
  • Numpy’s random choice() function

Copyright © 2025 · Lifestyle Pro on Genesis Framework · WordPress · Log in

Go to mobile version