Back to Basics: Executing different commands using Command Line and Spyder

I. Introduction to the Command Prompt

  1. ACCESSING COMMAND PROMPT. On the search bar of your Start Menu, type cmd and click the Command Prompt to launch it
Accessing Command Prompt via search bar
Current working directory in Command Line and GUI
  • cd Documents
Moving to Documents directory
  • dir
List of files and directories on the current working directory
  • cd ..
Going back to previous directory
FTW in Documents
  • cd Documents\FTW
Accessing directories by writing the path
  • cd ../..
Going back two directories at once
  • mkdir medium\blog
  • ren hw Tableau
  • ren “9 tab 1.PNG” 9tab1.PNG
  • copy 9tab1.PNG 9tab1.JPEG
Hitting Tab to fill-in directory names
Successive hitting of tab will change the next directory name following alphabetical order
Hitting tab is a shortcut especially if you have long directory names
Navigating to the Root
  • help cd
  • print(“Welcome to Python Basics”)
  • x = 23
  • y = 45
  • z = x+y
  • import pandas as pd
  • df=pd.read_csv(‘survey_results_public.csv’)
  • df.shape

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Firewall Rule Detection & Provisioning using AppViewX

Let’s get started with Ethereum from scratch

Lean Program Management — An Evolving Practice

EC2-Instance ssh bad permission?

Why FlexBox?

Difference between Functional programming and Object-oriented programming

The Main Misconceptions About SCRUM Methodology

{UPDATE} Словодел - головоломки со слогами, игры в слова Hack Free Resources Generator

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Patcha Pangatungan

Patcha Pangatungan

More from Medium

Remove Connections, Gain Clarity

El Cap then El Nap

Book Summary and Review #2 For The End of Marketing By Carlos Gil