Python Forum
get string how it is defined
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get string how it is defined
#3
Ah, that doesn't help me. What I'm trying to do is combine that string in previous string. For eg.

str = "{a:"
str += "some \" quoted value'foo"
str += "}"
Which should result in:

# {a:"some \" quoted value'foo"}
# But not:
# {a:"some " quoted value\'foo"}
So, what I want is what user has inputed exactly.
Reply


Messages In This Thread
get string how it is defined - by bhojendra - Apr-29-2019, 05:58 AM
RE: get string how it is defined - by Gribouillis - Apr-29-2019, 07:06 AM
RE: get string how it is defined - by bhojendra - Apr-29-2019, 07:12 AM
RE: get string how it is defined - by perfringo - Apr-29-2019, 07:14 AM
RE: get string how it is defined - by Gribouillis - Apr-29-2019, 07:16 AM
RE: get string how it is defined - by bhojendra - Apr-29-2019, 07:24 AM
RE: get string how it is defined - by buran - Apr-29-2019, 07:37 AM
RE: get string how it is defined - by perfringo - Apr-29-2019, 07:39 AM
RE: get string how it is defined - by buran - Apr-29-2019, 07:41 AM
RE: get string how it is defined - by bhojendra - Apr-29-2019, 07:59 AM
RE: get string how it is defined - by buran - Apr-29-2019, 08:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python library not defined in user defined function johnEmScott 2 5,205 May-30-2020, 04:14 AM
Last Post: DT2000
  string name is not defined listingpython 2 3,452 Jan-17-2019, 09:44 AM
Last Post: listingpython

Forum Jump:

User Panel Messages

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