Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~4K People Reached
Favorite Forums
Favorite Tags
Member Avatar for PaulStat

Hi Folks, I have a set of csv files that I open and read the contents of a row into a DictReader, this works fine 99% of the time, but occasionally one of the fields in a record has an extra new line character. For example here's the format of …

Member Avatar for d5e5
0
2K
Member Avatar for PaulStat

I'm trying to use pythons logging.handlers.SMTPHandler with a configuration file (so that I don't have to have passwords etc. inside of the script) Now the guide I'm following is [URL="http://docs.python.org/library/logging.html#configuration-file-format"]here[/URL], now the RotatingFileHandler is working, but I never receive an email, or an error for the SMTPHandler. Anyway here's the …

Member Avatar for Gribouillis
0
1K
Member Avatar for PaulStat

I'm trying to use the [url=http://docs.python.org/library/logging.html]logging[/url] module for python (2.6), whenever I try to use one of the handlers however it claims it doesn't exist. For example [code] import logging.handlers.SMTPHandler [/code] Gives me the error [quote] Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module …

Member Avatar for PaulStat
0
62