Python Forum
using ' inside ''' quoted strings or " inside """ quoted strings
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
using ' inside ''' quoted strings or " inside """ quoted strings
#1
can i safely use ' inside ''' quoted strings or " inside """ quoted strings?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#2
Absolutely
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
seems to have troubles parsing when the solo quote is at the end of the string.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to receive two passed cmdline parameters and access them inside a Python script? pstein 2 321 Feb-17-2024, 12:29 PM
Last Post: deanhystad
  [SOLVED] Pad strings to always get three-digit number? Winfried 2 330 Jan-27-2024, 05:23 PM
Last Post: Winfried
  Append inside for? johnywhy 10 793 Jan-15-2024, 11:08 PM
Last Post: johnywhy
  Tab Delimited Strings? johnywhy 7 549 Jan-13-2024, 10:34 PM
Last Post: sgrey
  Variable definitions inside loop / could be better? gugarciap 2 420 Jan-09-2024, 11:11 PM
Last Post: deanhystad
Question [PyMuPDF] Grab all strings of a given size? Winfried 3 663 Dec-26-2023, 07:39 AM
Last Post: Pedroski55
  Python Alteryx QS-Passing pandas dataframe column inside SQL query where condition sanky1990 0 723 Dec-04-2023, 09:48 PM
Last Post: sanky1990
  How to create a variable only for use inside the scope of a while loop? Radical 10 1,667 Nov-07-2023, 09:49 AM
Last Post: buran
  Navigating file directories and paths inside Jupyter Notebook Mark17 5 676 Oct-29-2023, 12:40 PM
Last Post: Mark17
  How to read module/class from list of strings? popular_dog 1 467 Oct-04-2023, 03:08 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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