Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the broken-link-checker domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/drcprod/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the bunyad domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/drcprod/public_html/wp-includes/functions.php on line 6114

Warning: Cannot modify header information - headers already sent by (output started at /home/drcprod/public_html/wp-includes/functions.php:6114) in /home/drcprod/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/drcprod/public_html/wp-includes/functions.php:6114) in /home/drcprod/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/drcprod/public_html/wp-includes/functions.php:6114) in /home/drcprod/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/drcprod/public_html/wp-includes/functions.php:6114) in /home/drcprod/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/drcprod/public_html/wp-includes/functions.php:6114) in /home/drcprod/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/drcprod/public_html/wp-includes/functions.php:6114) in /home/drcprod/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/drcprod/public_html/wp-includes/functions.php:6114) in /home/drcprod/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893

Warning: Cannot modify header information - headers already sent by (output started at /home/drcprod/public_html/wp-includes/functions.php:6114) in /home/drcprod/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1893
{"id":20499,"date":"2023-11-08T10:11:00","date_gmt":"2023-11-08T15:11:00","guid":{"rendered":"https:\/\/www.digitalrhetoriccollaborative.org\/?p=20499"},"modified":"2024-02-15T13:16:51","modified_gmt":"2024-02-15T18:16:51","slug":"introduction-to-anuj-gupta","status":"publish","type":"post","link":"https:\/\/www.digitalrhetoriccollaborative.org\/2023\/11\/08\/introduction-to-anuj-gupta\/","title":{"rendered":"Introduction to Anuj Gupta"},"content":{"rendered":"\r\n

I still remember the first time I got a Python computer program that I wrote to work. I was auditing an Introduction to Python class in the second year of my PhD at the University of Arizona. While I am in the Rhetoric and Composition program there, I\u2019ve always been fascinated with computer programming and computation, and thus over the span of my PhD, I\u2019ve audited lots of classes in statistics, data science, and programming in Python. In one of these very first classes, I remember the immense joy I felt after hours of painstakingly write code to create very simple text-based visual graphics using a Python library called \u201cturtle\u201d. Using this library, one can define what movements they want their turtle (or their cursor) to make on a virtual canvas. For example, if one wanted to write the letter \u201cI\u201d, one would write instructions in Python to define how they would want their cursor to systematically move and write each individual edge or element that makes up the alphabet \u201cI\u201d. What you see below is a code snippet that does exactly this. Some of lines in this code give directions to move on the screen (like left, right etc.), while others tell it to start or stop writing (like pendown or penup etc.). The output would be a big alphabet \u201cI\u201d on a computer screen.\u00a0<\/p>\r\n\r\n\r\n\r\n

\r\n

def drawI(turtle, size):<\/p>\r\n\r\n\r\n\r\n

turtle.pendown()<\/p>\r\n\r\n\r\n\r\n

turtle.left(90)<\/p>\r\n\r\n\r\n\r\n

turtle.forward(100)<\/p>\r\n\r\n\r\n\r\n

turtle.right(90)<\/p>\r\n\r\n\r\n\r\n

turtle.forward(50)<\/p>\r\n\r\n\r\n\r\n

turtle.backward(100)<\/p>\r\n\r\n\r\n\r\n

turtle.forward(50)<\/p>\r\n\r\n\r\n\r\n

turtle.right(90)<\/p>\r\n\r\n\r\n\r\n

turtle.forward(100)<\/p>\r\n\r\n\r\n\r\n

turtle.right(90)<\/p>\r\n\r\n\r\n\r\n

turtleforward(50)<\/p>\r\n\r\n\r\n\r\n

turtle.backward(100)<\/p>\r\n\r\n\r\n\r\n

turtle.right(180)<\/p>\r\n\r\n\r\n\r\n

turtle.penup()<\/p>\r\n<\/blockquote>\r\n\r\n\r\n\r\n\r\n\r\n