Python Forum
python console executes a file that PyCharm cannot execute
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python console executes a file that PyCharm cannot execute
#4
I think you're confusing running a script vs. an interactive session. In an interactive session, the result of an expression will be echoed without you having to explicitly print it. Calling format() on a string does not print anything, and does not mutate the string.
Reply


Messages In This Thread
RE: python console executes a file that PyCharm cannot execute - by micseydel - Jun-09-2017, 04:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  updating pip, python - understanding terminal and pycharm. endlessnameless 0 194 Jun-24-2024, 05:48 AM
Last Post: endlessnameless
  In Console,Python anna17 0 321 Mar-23-2024, 08:24 PM
Last Post: anna17
  Failed to execute child process (No such file or directory) uriel 1 1,776 Sep-15-2022, 03:48 PM
Last Post: Gribouillis
  Can't update new python version on Pycharm GOKUUUU 6 4,218 Jul-23-2022, 09:24 PM
Last Post: GOKUUUU
  How To Set Up And Execute A Python File knight2000 4 2,165 May-31-2022, 10:02 AM
Last Post: Larz60+
  Python Flask Realtime system printout (console) ffmpeg jttolleson 3 3,187 Apr-18-2022, 06:39 PM
Last Post: jttolleson
  console pwd file kucingkembar 4 1,769 Jan-09-2022, 08:31 PM
Last Post: kucingkembar
  execute python script guy7200 1 1,689 Oct-25-2021, 09:55 PM
Last Post: Axel_Erfurt
  How to use GPU in Python or Pycharm? plumberpy 2 14,035 Oct-11-2021, 12:57 PM
Last Post: plumberpy
  Cannot install tensorflow, numpy etc in Pycharm with Python 3.10 plumberpy 2 3,573 Oct-07-2021, 05:33 AM
Last Post: plumberpy

Forum Jump:

User Panel Messages

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