Re: How security holes happen

2014-03-04 Thread sffjunkie
On Monday, 3 March 2014 22:55:32 UTC, Chris Kaynor wrote: You can go much simpler than that. Merely port Python to LISP, then write a LISP interpreter in Python. Done. http://blog.pault.ag/post/46982895940/heres-my-talk-from-pycon-2013-i-tried-to-queue --

Re: Python : parsing the command line options using optparse

2014-02-26 Thread sffjunkie
On Wednesday, 26 February 2014 09:30:21 UTC, Ganesh Pal wrote: Here is what is happening ( only short hand with -) # python-5.py -p=/ifs/1.txt -q=XOR  -f=1234 -n=1 -l Usage: python-5.py [options] python-5.py: error: option -q: invalid choice: '=XOR' (choose from 'XOR', 'ADD',  'SET',

Re: Python powerpoint automation using pywin32

2014-02-25 Thread sffjunkie
On Tuesday, 25 February 2014 03:52:29 UTC, Jaydeep Patil wrote: I need to use COM interface for PowerPoint generation. The following will get you started http://nbviewer.ipython.org/github/sanand0/ipython-notebooks/blob/master/Office.ipynb Then you'll need to interpret the Microsoft MSDN docs

Re: Install python 2 and 3 in the wrong order

2014-02-25 Thread sffjunkie
On Sunday, 16 February 2014 08:13:14 UTC, Nagy László Zsolt wrote: Though I don't see anything in the ActiveState builds (which are all I've ever used) to handle the #! type selection of the desired version. Just got done updating my 2.7, replacing 3.2 with 3.3, and then having to

Re: Functions help

2014-02-24 Thread sffjunkie
On Sunday, 23 February 2014 05:43:17 UTC, Scott W Dunning wrote: I had a question regarding functions. Is there a way to call a function multiple times without recalling it over and over. Meaning is there a way I can call a function and then add *5 or something like that? The following

Re: Functions help

2014-02-24 Thread sffjunkie
On Sunday, 23 February 2014 05:43:17 UTC, Scott W Dunning wrote: I had a question regarding functions. Is there a way to call a function multiple times without recalling it over and over. Meaning is there a way I can call a function and then add *5 or something like that? The following

Re: The sum of numbers in a line from a file

2014-02-24 Thread sffjunkie
On Thursday, 20 February 2014 16:22:00 UTC, kxjakkk wrote: Let's say I have a sample file like this: Name1 2 34 5 6 78 name1099-66-7871 A-FY100678159

Re: Python powerpoint automation using pywin32

2014-02-24 Thread sffjunkie
On Monday, 24 February 2014 11:35:08 UTC, Jaydeep Patil wrote: I need to create a new powerpoint presentation. I need to add images, paste some graphs, add texts, tables into powerpoint. Is any link or document available which help me to do this work more effectivey faster. Always

Re: The sum of numbers in a line from a file

2014-02-24 Thread sffjunkie
On Monday, 24 February 2014 11:48:23 UTC, sffj...@gmail.com wrote: split_points = [2, 4, 5] Change this to `split_points = [3, 5]` for your requirements --Simon Kennedy -- https://mail.python.org/mailman/listinfo/python-list