I am using the book "Learn Python In A Day" by Acodemy. It seems this book has several typos (though I think so). I have installed Selenium IDE, Python 2.7.10 and NotePad++ on my Windows 7 64-bit. So from the book I was seeing this code:
ls = ["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]
ls[2:4]
So, I typed only that code into NotePad++ saved it as an .py extension for python script/programming. I drag and drop this script into a command prompt window by changing the directory to C:\Python27 and I don't get any results.
What is it that I am doing wrong?
Also sometimes I try this: print(tp[2] + st[2]) this doesn't work either.
This is what I got in command prompt:
C:\python27
that is all even when I drag and dropped my python script into the command prompt.