Oh and in answer to your second question. I'm asooming your using windows and yes there are a couple of programs to make a stand-alone executable for python code. The salution I use is called py2exe and you can get it from http://www.py2exe.org.
Nick Stockton----- Original Message ----- From: <james.homme@xxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Monday, December 08, 2008 11:53 AM Subject: Re: Perl : Question About Performing Subroutines
Hi Richard, Do you happen to have a Python sample I can look at, and can I make a self-executable file in Python? Thanks. Jim James D Homme, Usability Engineering, Highmark Inc., james.homme@xxxxxxxxxxxx, 412-544-1810 "The difference between those who get what they wish for and those who don't is action. Therefore, every action you take is a complete success,regardless of the results." -- Jerrold Mundis Highmark internal only: For usability and accessibility: http://highwire.highmark.com/sites/iwov/hwt093/ "Richard Dinger" <rrdinger@xxxxxxxxxx> Sent by: programmingblind-bounce@xxxxxxxxxxxxx 12/08/2008 11:45 AM Please respond to programmingblind@xxxxxxxxxxxxx To programmingblind@xxxxxxxxxxxxx cc Subject Re: Perl : Question About Performing Subroutines Hello Jim, Well if you can't do it in PERL, you can always use Python. But, of course, you will have to put up with that dificult indenting (smile). Richard----- Original Message ----- From: james.homme@xxxxxxxxxxxxTo: programmingblind@xxxxxxxxxxxxx Sent: Monday, December 08, 2008 8:13 AM Subject: Perl : Question About Performing Subroutines Hi, The first thing I want to know is this. Is there a way to make a self-executable Perl program that I can just give to someone and they can run it without needing to install the Perl interpreter? The second thing is this. Can I do this. Can I have a hash whose keys are a set of values and whose values are the functions in my program I want to perform. For example, I don't want to say if key is this, perform this function, elseif key is this, perform that function. I simply want to look up a key and perform whatever function is in the value for that entry in the hash. Can I do this? If so, how? Thanks. Jim James D Homme, Usability Engineering, Highmark Inc., james.homme@xxxxxxxxxxxx, 412-544-1810 "The difference between those who get what they wish for and those who don't is action. Therefore, every action you take is a complete success,regardless of the results." -- Jerrold Mundis Highmark internal only: For usability and accessibility: http://highwire.highmark.com/sites/iwov/hwt093/__________ Information from ESET Smart Security, version of virus signature database 3669 (20081207) __________The message was checked by ESET Smart Security. http://www.eset.com
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind