Δημοσιεύτηκε: 25 Αύγ 2012, 13:51
από Ilias95
Interactively εννοώ διαδραστικά.
Να μην χρειάζεται δηλαδή να γράφω κάτι σε κάποιο αρχείο, αλλά να αλληλεπιδρώ κατευθείαν με τον διερμηνευτή.

Παράδειγμα από τον interpreter της python:
Κώδικας: Επιλογή όλων
ilias@ilias-pc:~$ python3
Python 3.2.3 (default, May 3 2012, 15:51:42)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print('hello world')
hello world
>>> if 5 > 3:
... print("I'm in interactive mode.")
...
I'm in interactive mode.
>>> fasdgds
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'fasdgds' is not defined
>>> exit()
ilias@ilias-pc:~$