Spyder IDE and Basic Command Prompt

Gizelle Nacor
3 min readSep 18, 2020

--

Spyder at your service.

Spyder is an open source cross-platform integrated development environment (IDE) for scientific programming in the Python language. Spyder integrates with a number of prominent packages in the scientific Python stack, including NumPy, SciPy, Matplotlib, pandas, IPython, SymPy and Cython, as well as other open source software.

How to do this? Follow the guidelines.

Launch the Sypder IDE to the windows search bar and click to open.

This is what you will see

This is “Code Block” where we do the coding

This is the “Current Working Directory” where you can find the data sets you want to import and you change and navigate it.

This is where you can find the “Files” which shows the files available on you working directory and the “Variable Explorer” which presents the variables.

Now, let’s do the coding.

In the Code Block, input print(“Hello World”) then Control + Enter

Then create variables such as G = 7, O = 8 and D = G * O

Control + Enter

When you run this, the variables will appear and will look like this

Then input print(D) and the variable D will appear on Python Console

Now let’s try to import file.

Input import pandas as pd

Input df = pd.read_csv(‘FILE NAME’) to load the dataset.

How about we change are theme, Go to Preferences

Then Click editor, where you can explore and change themes based on how you want it to be

As for me, I change my Syntax Highlighting Theme to PASTEL

And this is how it looks like.

Command Prompt

Launch the Command Prompt, to the windows search bar type CMD and click to open.

It should look this

To change your directory input ‘cd’ and the folder which is Desktop then ENTER

To go back to the previous folder, input ‘cd ..’ then ENTER

To move from folder in multiples steps, input cd Folder A/Folder B

To move back multiple steps, input ‘cd ../..

And that’s it.

--

--