Re: [Pythonmac-SIG] Escaping commandline strings

2011-01-04 Thread Cameron Simpson
7; You can play games with strings that are safe to not quote, etc but the above is very simple and reliable. Something like (untested): "'"+s.replace("'", "'\\''")+"'" Cheers, -- Cameron Simpson DoD#743 http://www.cskk.

Re: [Pythonmac-SIG] Fink vs MacPorts vs Framework

2009-06-30 Thread Cameron Simpson
uot;package" == "python module", yes? I believe he means "packge" == "app install", a MacPorts or Fink level "package"; you can install python 2.5 and/or python 2.6 with MacPorts and use each as needed. That said, I use python out of Mac