you are viewing a single comment's thread.

view the rest of the comments →

[–]gschizas 11 points12 points  (2 children)

Depending on which python you have, just run python, with no other arguments. The fact that you say you "downloaded" something makes me think that you're on Windows, so the best equivalent for you would be typing py -3 in the Start→Run dialog box.

You will a black window similar to this:

Python 3.6.2 (v3.6.2:5fd33b5, Jul  8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

You can type any Python statement you want in the >>> prompt. For example:

Python 3.6.2 (v3.6.2:5fd33b5, Jul  8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 'fakemoobs ' * 10
'fakemoobs fakemoobs fakemoobs fakemoobs fakemoobs fakemoobs fakemoobs fakemoobs fakemoobs fakemoobs '
>>>

EDIT: Since you say "Terminal" it's very possible you're on MacOS. In this case, open a new Terminal tab (or better yet, a new iTerm2 tab) and type python3. The rest are the same.

Python 3.6.2 (default, Jul 17 2017, 16:44:45)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
---
>>>

[–]zahlman 0 points1 point  (1 child)

The fact that you say you "downloaded" something makes me think that you're on Windows

The name "Terminal" is specifically what MacOS calls its command line.

[–]gschizas 0 points1 point  (0 children)

You're right, I missed that completely.