Python Forum
Will not print in command prompt
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Will not print in command prompt
#1
Hello,

My instructor has us write a simple code using Atom to run in command prompt. When the instructor ran his code in the video it displayed the intended text. When I replicated it and attempted to run the code using command prompt it did not do print the text.

The code was simply
print('I am learning python')

The instructors command prompt displayed the text I am learning python.
When I ran mine it did not display the text, just showed the file location again.

Would anyone know why this is or how to trouble shoot it? So far I reset command prompt and Atom.

Thank you
Reply


Messages In This Thread
Will not print in command prompt - by PandaCode - May-05-2020, 03:50 AM
RE: Will not print in command prompt - by tonytech - May-05-2020, 04:36 AM
RE: Will not print in command prompt - by buran - May-05-2020, 08:06 AM
RE: Will not print in command prompt - by PandaCode - May-06-2020, 02:20 AM
RE: Will not print in command prompt - by tonytech - May-06-2020, 02:27 AM
RE: Will not print in command prompt - by menator01 - May-05-2020, 08:53 AM
RE: Will not print in command prompt - by buran - May-06-2020, 02:44 AM
RE: Will not print in command prompt - by menator01 - May-06-2020, 03:04 AM
RE: Will not print in command prompt - by PandaCode - May-06-2020, 03:26 AM
RE: Will not print in command prompt - by buran - May-06-2020, 03:11 AM
RE: Will not print in command prompt - by buran - May-06-2020, 03:43 AM
RE: Will not print in command prompt - by PandaCode - May-06-2020, 03:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Randomly Print a Quote From a Text File When User Types a Command on Main Menu BillKochman 13 1,149 Apr-24-2024, 05:47 AM
Last Post: Bronjer
  problem with print command in super() akbarza 5 686 Feb-01-2024, 12:25 PM
Last Post: deanhystad
  What is the difference between Command Prompt and Sublimes yaoyao22 1 681 Jul-09-2023, 02:56 PM
Last Post: snippsat
  Python VS Code: using print command twice but not getting output from terminal kdx264 4 1,169 Jan-16-2023, 07:38 PM
Last Post: Skaperen
  Facing Problem while opening a file through command prompt vlearner 4 1,982 Jan-30-2022, 08:10 AM
Last Post: snippsat
  Why does absence of print command outputs quotes in function? Mark17 2 1,437 Jan-04-2022, 07:08 PM
Last Post: ndc85430
  Using print command to send command to rasberry pi terminal MondazeBear 2 1,901 Aug-02-2021, 03:15 PM
Last Post: Larz60+
  Noob warning: trying to use pip to install pytest and pep8 in Command Prompt adifrank 4 5,438 Dec-20-2020, 04:23 AM
Last Post: adifrank
  Running Python in Command Prompt Anwar 3 3,151 Nov-15-2020, 03:15 PM
Last Post: snippsat
  starting python from windows command prompt MaartenRo 4 2,894 Sep-04-2020, 12:25 PM
Last Post: MaartenRo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020