Sublime Forum

Trouble using the console in sublime 2 (beginner)

#1

i’m using sublime 2 to learn/practice python on a mac, but i’m having trouble using the console. i’m doing some exercises that require entering a string in the text editor (ie a = ‘this is a practice string’) and then i’m supposed to enter a in the console and it should show that string as a result, but this is what i get instead:

a
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘a’ is not defined

if i enter something like range(8) it works fine.

help is greatly appreciated. thanks!

0 Likes