To use Python like this, you need to first fun the python command, and get a >>> prompt :
C:\Users\Lumep>python
Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print ("Hello, Python!");
Hello Python
>>>
What you were trying was to run the Windows O/S print command which by default prints a named file to the PRN device - which is not what you wanted at al.
------ Original Message ------
From: "Rplpolo" <rplpolo@gmail.com>
To: docs@python.org
Sent: Sunday, 31 Mar, 24 At 19:21
Subject: [docs] Tutorial for Python-3.12.2 for windowsHi,I am trying to teach myself python. Could you please help identify a pdf document with tutorials to set up python and start programming. I think I have installed it properly but the commands are not recognised. For example:C:\Users\Lumep>print ("Hello, Python!");
Unable to initialize device PRNThank youG Vera
_______________________________________________
docs mailing list -- docs@python.org
To unsubscribe send an email to docs-leave@python.org
https://mail.python.org/mailman3/lists/docs.python.org/
Member address: anthony.flury@btinternet.com