Python Forum
print(data) is suddenly invalid syntax
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
print(data) is suddenly invalid syntax
#5
thx for your patience Dean. At the moment and until I choose an IDE for future endeavors, this is what I am doing (i dont see how to attach pictures without a url in a reply) ...

1. in my search box i type py and i see the py run command which has a blue and yellow logo
2. clicking it, i get a python 3.11.4 command window prompt >>>>
3. i paste my script after that prompt, get a warning that there are multiple lines
4. i bypass the warning, often hit enter one more time and i see my results in the command window

i usually go directly to power bi after that and without the print command try the script out in a python connector to view how power bi will behave on the same script.
Reply


Messages In This Thread
RE: print(data) is suddenly invalid syntax - by db042190 - Jun-14-2023, 01:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  XML minidom "Pretty Print" Lost Data marksy95 2 285 Jun-15-2024, 11:09 AM
Last Post: Larz60+
Information subprocess.Popen() suddenly giving me grief? davecotter 3 828 Dec-13-2023, 10:49 PM
Last Post: davecotter
  Python debug suddenly got bad ben1122 3 1,236 Sep-03-2022, 06:20 AM
Last Post: ben1122
  SyntaxError: invalid syntax ?? korenron 15 6,287 Jan-25-2022, 11:46 AM
Last Post: korenron
  Invalid syntax with an f-string Mark17 7 8,475 Jan-14-2022, 04:44 PM
Last Post: Mark17
  invalid syntax in my class CompleteNewb 2 2,061 Dec-13-2021, 09:39 AM
Last Post: Larz60+
Exclamation Invalid syntax error(Predict Ethereum Price) lulu43366 2 3,337 Sep-24-2021, 01:24 PM
Last Post: lulu43366
  Unexplained Invalid syntax Error cybertooth 5 3,518 Aug-02-2021, 10:05 AM
Last Post: cybertooth
  string.format() suddenly causing errors with google drive API zwitrader 0 1,859 Jun-28-2021, 11:38 PM
Last Post: zwitrader
  [split] SyntaxError: invalid syntax Code_X 3 2,929 May-04-2021, 05:15 PM
Last Post: Yoriz

Forum Jump:

User Panel Messages

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