Problem with python
Igor Korot
ikorot01 at gmail.com
Sat Sep 4 14:49:49 EDT 2021
Thx guys.
I submitted a bug report for the project that uses it.
On Sat, Sep 4, 2021 at 1:42 PM Joel Goldstick <joel.goldstick at gmail.com> wrote:
>
> On Sat, Sep 4, 2021 at 2:29 PM Igor Korot <ikorot01 at gmail.com> wrote:
> >
> > Hi, ALL,
> >
> > [code]
> > igor at WaylandGnome ~/bakefile $ python
> > Python 3.9.6 (default, Aug 8 2021, 17:26:32)
> > [GCC 10.3.0] on linux
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> from distutils import sysconfig
> > >>> print sysconfig.get_python_inc()
> > File "<stdin>", line 1
> > print sysconfig.get_python_inc()
>
> print( sysconfig.get_python_inc())
>
> Since python3 print is a function.
> > ^
> > SyntaxError: invalid syntax
> > >>>
> > [/code]
> >
> > What is the proper way to fix this?
> >
> > Thank you.
> > --
> > https://mail.python.org/mailman/listinfo/python-list
>
>
>
> --
> Joel Goldstick
> --
> https://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list