First, welcome.
Now that we're friends, click on "Cell" above and choose "Run all." You should see [*] (an asterisk in square brackets), which means the program is running. When it's done, a number will replace the asterisk.
Below the next code cell you should see a welcome message and today's date. If it isn't today's date, you're probably looking at old output.
In [1]:
import datetime
print('Welcome to Data Bootcamp!')
print('Today is: ', datetime.date.today())
Now the test:
If you get the message below "Program halted, old version of Python, etc," you need to go back and install Anaconda again, this time following the instructions EXACTLY! Yes, we know that's discouraging, but better to know now than run into problems later.
If you get the message "Congratulations etc," you're all set. Pat yourself on the back. You can close out the program and go back to whatever you were doing.
In [2]:
import sys
print('What version of Python are we running? \n', sys.version, '\n', sep='')
if float(sys.version_info[0]) < 3.0 :
raise Exception('Program halted, old version of Python. \n',
'Sorry, you need to install Anaconda again.')
else:
print('Congratulations, Python is up to date!')
This notebook was created by Dave Backus for the NYU course Data Bootcamp.