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
  not able to call the variable inside the if/elif function mareeswaran 3 489 Feb-09-2025, 04:27 PM
Last Post: mareeswaran
  sending strings to arduino over serial/accessing DLLs HeWhoHas 0 733 Nov-09-2024, 06:01 PM
Last Post: HeWhoHas
  Paste text with caret already positioned inside a placeholder; Wehaveall 1 808 Oct-15-2024, 10:28 AM
Last Post: menator01
  Variable being erased inside of if statement deusablutum 8 1,974 Jun-15-2024, 07:00 PM
Last Post: ndc85430
  Can you explain the strings in Python ebn852_pan 3 1,112 May-19-2024, 08:36 AM
Last Post: Pedroski55
Information Do regular expressions still need raw strings? bobmon 3 2,263 May-03-2024, 09:05 AM
Last Post: rishika24
  How to receive two passed cmdline parameters and access them inside a Python script? pstein 2 1,229 Feb-17-2024, 12:29 PM
Last Post: deanhystad
  [SOLVED] Pad strings to always get three-digit number? Winfried 2 1,199 Jan-27-2024, 05:23 PM
Last Post: Winfried
  Append inside for? johnywhy 10 2,659 Jan-15-2024, 11:08 PM
Last Post: johnywhy
  Tab Delimited Strings? johnywhy 7 1,977 Jan-13-2024, 10:34 PM
Last Post: sgrey

Forum Jump:

User Panel Messages

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