Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie on Python syntax
#1
Hi guys,

Can you suggest a better documentation/site that can help me on syntax?
currently I have this issue where on windows its working but when I tried to run it on linux based I'm getting the syntax issue on this piece of code..

msg = f'| {pbar} {i*b_size}/{seq_len*b_size}| '
Python Version: 3.7.4
Full error:
Quote: File "main.py", line 3
msg = f'| {pbar} {i*b_size}/{seq_len*b_size}| '
^
SyntaxError: invalid syntax

TIA
Reply


Messages In This Thread
Newbie on Python syntax - by rud0lp20 - Apr-21-2020, 03:59 PM
RE: Newbie on Python syntax - by bowlofred - Apr-21-2020, 04:03 PM
RE: Newbie on Python syntax - by rud0lp20 - Apr-21-2020, 04:06 PM
RE: Newbie on Python syntax - by deanhystad - Apr-21-2020, 04:16 PM
RE: Newbie on Python syntax - by rud0lp20 - Apr-21-2020, 04:20 PM
RE: Newbie on Python syntax - by deanhystad - Apr-21-2020, 04:24 PM
RE: Newbie on Python syntax - by jefsummers - Apr-21-2020, 04:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python newbie laleebee 2 1,360 May-24-2022, 01:39 PM
Last Post: laleebee
  python newbie marcush929 2 2,637 Jan-01-2020, 08:06 AM
Last Post: marcush929
Smile Help needed. Python Newbie!, it will be fun. knightdea 3 2,666 Oct-13-2019, 08:50 AM
Last Post: perfringo
  Python Linting (newbie) LieveHeer 2 2,656 Jan-24-2019, 05:36 PM
Last Post: LieveHeer
  Python newbie is asking Marcus_Gondwe 4 3,456 Apr-04-2018, 11:08 AM
Last Post: Marcus_Gondwe
  Newbie ? Python 3 Input() jlgrunr 1 2,479 Feb-17-2018, 10:26 PM
Last Post: Gribouillis
  Python Newbie phylon 1 34,355 Jan-09-2018, 10:46 AM
Last Post: Gribouillis
  NEWBIE error regarding syntax rohitn12 1 2,353 Dec-19-2017, 10:19 PM
Last Post: micseydel
  NEWBIE HELP: How to tell Python when to use a function BoaVenom18 4 5,470 Dec-17-2016, 09:00 PM
Last Post: j.crater

Forum Jump:

User Panel Messages

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