Programming languages#

Which language should you learn?

  • Just as choosing which language you will use for your foreign language requirement is based on your research question, there are multiple programming languages you can choose to learn.

  • How much of the language do you need to learn?

  • Does your project require basic fluency or only reading comprehension?

In data science and digital humanities, R and Python are the most common. Most ‘introduction to a programming language’ sessions will focus on one or the other.

R vs. Python#

Tutorials (online notebooks)#

When you see language referring to interactive tutorials they are referring to online notebooks (such as Google Colab or Jupyter notebooks) that combine executable code and rich text in a single document.

These allow instructors to have text explanations alongside sections with executable code (code that you can run and modify to see how it works) in the same document.

There is an introductory tutorial to ‘Getting Started with Jupyter Notebooks’ available through JSTOR Constellate Tutorials.

Python#

  • You have access to Python tutorials with your SMU log-in in Constellate

  • To access JSTOR Constellate Tutorials, log in to Constellate and navigate to the tutorials section on your dashboard. From there, you can explore their growing library of interactive tutorials covering a wide range of text analysis topics.

    • Beginner Python Tutorials: Get started with Jupyter notebooks with an introduction to the Python Programming language for absolute beginners.

    • Python intermediate Tutorials: Expand your Python skills learning to work with files, comprehensions, and object-oriented programming.

Additional Python lessons

We highly recommend working though these tutorials or attending some workshops in order to become familiar with some basic python terminology such as: operators, expressions, data types, variables, basic functions.

Installing packages#

As you are learning python, installing a a package to help manage packages will be useful.

Anaconda#

Anaconda is a distribution of the Python and R programming languages that aims to simplify package management and deployment. It allows you to install, update, and manage libraries. Anaconda includes Jupyter Notebooks, and allows you to create separate environments for different projects.

  • Anaconda Distribution ” A downloadable, open-source, high-performance, optimized Python and R distribution with 250+ packages automatically included. Anaconda Distribution provides the option to easily install an additional 7,500+ open-source packages for data science, including advanced and scientific analytics. Anaconda Distribution includes the anaconda package, Anaconda Navigator, and the conda package and environment manager. Anaconda Distribution is available for Windows, macOS, and Linux.

  • Installing Anaconda

Additional coding & technology lessons#

You also have access to online courses through LinkedIn Learning & to O’Reilly Learning Platform for Higher Education Tech with your SMU logon.


Attribution#

Creative Commons License When sharing this material or derivative works, preserve this paragraph, changing only the title of the derivative work, or provide comparable attribution.