newbie: write new file (from a server)

2012-07-29 Thread tokauf
Hi, I have a client. He sends file content (as bytes) to my server. The server receives this content as bytes and decodes it to string. Then the server opens a file (filename comes from client) try to write the file-content to the new file. It works but there are parts of the client file conten

sqlite3 scrapy

2016-07-07 Thread tokauf
Hi, I have a little scrapy-script: scrapy gets the links from a webpage; this works fine. Then I want to write these links in a sqlite3-table. There is no error-note. But in the database are not any records. What is the problem here? My code: # -*- coding: utf-8 -*- 2 3 import scrapy 4