2

Can I create a statement in python 2.7?

Something similar to the print statement, that it's like a function, but gets the parameters without parenthesis.

Daniel
  • 229
  • 1
  • 8
  • You can do something sort of like that by defining properties. See the [Descriptor HowTo Guide](https://docs.python.org/3/howto/descriptor.html)—although you can't pass arguments. – martineau Nov 02 '18 at 16:49
  • You can do that by forking a python interpreter, or writing your own. But it wouldn't be a python interpreter anymore. – Aran-Fey Nov 02 '18 at 16:50

0 Answers0