Re: [Tutor] How to Create Webpage with Python

2014-07-25 Thread John Cast
Hey everyone, So against all of your better judgement I went ahead and implemented my server through the simpleHTTPServer in python and used win32com to hook up to excel to widen the existing excel columns and then call "SaveAs()" into .htm format (basically programmatically doing the "save as web

Re: [Tutor] Security and Reliability of Python

2014-07-25 Thread Dave Angel
Danny Yoo Wrote in message: > > Python is only as secure as the code *you* write. If you write code >> where you accept text from untrusted people over the Internet and then >> execute it as code using eval() or exec(), then your code is vulnerable >> to code injection attacks. The solution to thi

Re: [Tutor] Getting a directory listing with Python to MySQL

2014-07-25 Thread Steven D'Aprano
On Tue, Jul 22, 2014 at 06:32:43PM -0700, Eric Dannewitz wrote: > That's close. I have been playing from glob and os.walk but I'm at a > loss how to get the size, creation and modified date while running it. Did you look at the functions in os.path as suggested? Here are the docs: https://docs

Re: [Tutor] Error Handling in python

2014-07-25 Thread jitendra gupta
@All Thanks a lot, Yes "set -e" It work fine. This is what I am looking for but I got some extra things to learn :) . Thanks you again Thanks Jitendra On Thu, Jul 24, 2014 at 6:10 PM, Wolfgang Maier < wolfgang.ma...@biologie.uni-freiburg.de> wrote: > On 24.07.2014 14:37, Chris “Kwpolska” Warr

Re: [Tutor] Read a file, Load a dictionary

2014-07-25 Thread Steven D'Aprano
On Fri, Jul 25, 2014 at 07:15:38AM +0100, Alan Gauld wrote: > On 25/07/14 04:00, Steven D'Aprano wrote: > > >>3.5 is a dev version. Not for production nor for learning python > >> one gets it by fetching from the repository and doing their own > >> compile. > > > >Do you figure that many beginn