<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Jeremy<div><br></div><div>No, you cannot to that. There is no separate pf.py file. The code implementing the pf module is within pro Fit itself, and cannot be linked to from a Python script running outside pro Fit.</div><div><br></div><div>However, what you can do is call an external Python script from within a Python script running in pro Fit. In other words, you would start the script from within pro Fit, and it would pass its data to a py script outside pro Fit. Examples for that can e.g. be found under</div><div><br></div><div>Example Files/Python/callexternal... </div><div><br></div><div>in the pro Fit package.</div><div><br></div><div>Best regards</div><div><br></div><div>Kurt Sutter</div><div>QuantumSoft</div><div><br></div><div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><br class="webkit-block-placeholder"></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On 20. Jan 2011, at 18:27, Harbinson, Jeremy wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-GB" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; ">Hi,<o:p></o:p></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; ">I have been calling Profit from some python scripts using Applescript to not that elegantly use some features of Profit that are missing from Scipy. My question is whether it is possible to use the pf module in a Python script running outside the Profit environment? If it is possible, where is the pf.py file – I looked in a few places, but could not find it, otherwise I would I have just tried it.<o:p></o:p></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; ">Thanks,<o:p></o:p></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; ">All the best,<o:p></o:p></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; ">Jeremy Harbinson<o:p></o:p></div></div>_______________________________________________<br>proFit-list mailing list<br><a href="mailto:proFit-list@quantum-soft.com" style="color: blue; text-decoration: underline; ">proFit-list@quantum-soft.com</a><br><a href="http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com" style="color: blue; text-decoration: underline; ">http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com</a><br></div></span></blockquote></div><br></div></body></html>