python


Python: How to store and read ini file with key having value containing = and semicolon


I have an .ini file. Many keys in the file have values containing special characters like equalto(=), semicolon(;), comma(,). Sample .ini file:
[TestKey]
Key1=a=b=c
The key Key1 value is a=test;b=test. The key value pair looks distorted. To resolve this, I enclosed the value in single quotes. The file structure looks fine but on trying to read the value of the key it gives 'a=test;b=test' . The single quotes gets added as part of the key value. So the value is incorrect

Related Links

2sum performance improvement
how to store yield request responses on scrapy
python sklearn non linear svm penalty
builtins.TypeError: __init__() missing 2 required positional arguments: 'height' and 'radius'
How to do a reverse operation to tf.nn.embedding_lookup?
django complex query for interdependant tables
Is there a more efficient and elegant way to filter pandas index by date?
How do I temporarily use Python 3.6 in terminal Mac?
Difference between pre-trained word embedding and training word embedding in keras
AttributeError: module 'xlwings' has no attribute 'save'
Images broadcast over UDP socket (Python)
Index class as list and as dictionary
Python “will the arrow fly straight program”
Processing an eventlog with Pandas - find next match in DataFrame
Intellij python plugin debugging the script copied under the target directory
Create a list with repeated values with list comprehension

Categories

HOME
swift
jsf
cntk
semantic-ui
rotation
wildcard
ncurses
google-contacts
angular2-routing
formal-verification
google-sheets-api
ubuntu-12.04
codeeffects
phonegap-cli
value
proguard
actionscript-2
dropbox
cakephp-2.9
lagom
cosmicmind
sign
pdo
titan
ssms-2016
google-openid
tree-traversal
koa
google-maps-android-api-2
spring-ws
novnc
tampermonkey
cep
devforce
ivy
vegan
ioc-container
android-vpn-service
strophe
outsystems
pycparser
mmdrawercontroller
vsts-package-management
active-model-serializers
wcf-security
intellilock
wsadmin
android-maps-v2
excel-interop
lftp
catia
walmart-electrode
persistent
ticker
fontconfig
httplib2
laravel-query-builder
pdfkit
project-template
ebtables
windows-azure-pack
pax-web
inotifypropertychanged
mongoskin
contour
mongo-c-driver
freefem++
proxygen
acm
insertion-sort
plone-3.x
direct3d12
function-fitting
wikitext
sourcegear-vault
unity5.3
retro-computing
built-in
pyrocms
ipojo
divide-by-zero
mdm-zinc
google-plus-one
named-ranges
grunt-contrib-concat
node-inspector
csplit
code-testing
config-files
xenocode
roxygen
real-time-updates
vertical-rhythm
dynamics-ax-2009
snapjs
gdataxml
socketstream
scrollto
plone-funnelweb
responsetext
isolatedstorage
separation-of-concerns
driving-directions
viewdidload
scraperwiki
audiostreamer
delegatecommand
linfu
mvvm-foundation
graph-layout
winsnmp
gears

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html