Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 14th, 2018
86
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
headers = {}
with open(r"e:/test/header") as f:
s = f.read()
for i in s.split("\n"):
k = i.split(":")[0]
v = i.split(":")[1]
headers[k.strip()] = v.strip()
Add Comment
Please,
Sign In
to add comment
Public Pastes
input_reader.cpp
C++ | 44 min ago | 6.23 KB
Untitled
Python | 45 min ago | 10.75 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 52 min ago | 0.39 KB
CREATE TABLE R2
MySQL | 57 min ago | 0.26 KB
CREATE TABLE R3
MySQL | 58 min ago | 0.42 KB
Create Spline From Points
C# | 60 min ago | 2.31 KB
Forward conversation to email
JavaScript | 1 hour ago | 3.95 KB
Untitled
CSS | 1 hour ago | 0.44 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!