combine lines from 2 prints to single line and insert into mysql database
Posted
by bleomycin
on Stack Overflow
See other posts from Stack Overflow
or by bleomycin
Published on 2010-05-22T10:13:01Z
Indexed on
2010/05/22
10:20 UTC
Read the original article
Hit count: 235
Hello everyone i currently have this:
import feedparser
d = feedparser.parse('http://store.steampowered.com/feeds/news.xml')
for i in range(10):
print d.entries[i].title
print d.entries[i].date
How would i go about making it so that the title and date are on the same line? Also it doesn't need to print i just have that in there for testing, i would like to dump this output into a mysql db with the title and date, any help is greatly appreciated!
© Stack Overflow or respective owner