<p>Hi Mat</p>
<p>I was referring to the version running in my brain (I didn't realise numpty is a program in it's own right!)! :-0</p>
<p>Pulled all my hair out trying to work out how to launch my script. Eventually found out I had to import it & also reload it on subsequent iterations. Amazing how, with a little less enthusiasm & a bit more diligent reading of the ebook, you find the answer! I didn't realise that the imp (library??) isn't built-in on Python 3 so I had one more trip before going back to happy bunny mode!</p>
<p>Does numpty have a website?;-)</p>
<p>Mike</p>
<div class="gmail_quote">On 29 Feb 2012 13:35, "Mat Sutton" <<a href="mailto:mat@matsutton.co.uk">mat@matsutton.co.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Which version of numpty was that? I understand each release of numpty is better than the previous one.<br>
<br>
Mat<br>
<br>
-----Original Message----- From: <a href="mailto:watford-request@mailman.lug.org.uk" target="_blank">watford-request@mailman.lug.<u></u>org.uk</a><br>
Sent: Wednesday, February 29, 2012 12:00 PM<br>
To: <a href="mailto:watford@mailman.lug.org.uk" target="_blank">watford@mailman.lug.org.uk</a><br>
Subject: Watford Digest, Vol 203, Issue 3<br>
<br>
Send Watford mailing list submissions to<br>
<a href="mailto:watford@mailman.lug.org.uk" target="_blank">watford@mailman.lug.org.uk</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/watford" target="_blank">https://mailman.lug.org.uk/<u></u>mailman/listinfo/watford</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:watford-request@mailman.lug.org.uk" target="_blank">watford-request@mailman.lug.<u></u>org.uk</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:watford-owner@mailman.lug.org.uk" target="_blank">watford-owner@mailman.lug.org.<u></u>uk</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Watford digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Anyone with Portable Python experience? I am a<br>
newbie...... (M Fernandes)<br>
<br>
<br>
------------------------------<u></u>------------------------------<u></u>----------<br>
<br>
Message: 1<br>
Date: Tue, 28 Feb 2012 13:33:25 +0000<br>
From: M Fernandes <<a href="mailto:myitpartneruk@gmail.com" target="_blank">myitpartneruk@gmail.com</a>><br>
Subject: Re: [Watford] Anyone with Portable Python experience? I am a<br>
newbie......<br>
To: <a href="mailto:watford@mailman.lug.org.uk" target="_blank">watford@mailman.lug.org.uk</a><br>
Message-ID:<br>
<CAD_qgee_Cxer+CR__<u></u>x5JVCpXznDLgQyRdNqW=<a href="mailto:hoiwKgcWB7Z3g@mail.gmail.com" target="_blank">hoiwKgcWB7<u></u>Z3g@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
All,<br>
<br>
I managed to sort my problem out. Nothing to do with Portable<br>
Python... Everything to do with numpty! Happy bunny once again!! :-)<br>
<br>
Regards<br>
Mike<br>
<br>
On 27/02/2012, M Fernandes <<a href="mailto:myitpartneruk@gmail.com" target="_blank">myitpartneruk@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello everyone,<br>
<br>
I've got a problem which I have tried resolving myself, but, I haven't<br>
been successful. I am learning Python but, I'm learning on a Windows<br>
machine (XP). I cannot install Python onto this machine.<br>
Consequently, I'm forced to use Poratble Python.<br>
<br>
I've started the Python shell successfully (got ">>>" on-screen).<br>
I've created my HelloWorld.py script (located within subdirectory<br>
"e:/potable python <a href="http://3.2.1.1/scripts/HelloWorld.py" target="_blank">3.2.1.1/scripts/HelloWorld.py</a>"<u></u>)<br>
I've found out how to navigate within the shell using (in sequence)<br>
"import os" & "os.chdir("/path")" & "os.getcwd()" to check I am where<br>
I need to be.<br>
I've even taken the line of code from the script and typed it in<br>
manually at the prompt... successfully.<br>
<br>
However, can I get the script to launch?.....Nope! The book assumes<br>
the user/reader is on a Linux system and lauches the script via<br>
"pyhton HelloWorld.py". I have the added complication of running<br>
within a Windows environment. I think this has forced my knowledge<br>
aquisition to leap-frog the sequence he is following.....<br>
<br>
Can anyone help with the above? I'm grasping the nature of having to<br>
import modules necessary to work with, but I'll be damned if I can get<br>
the script to work! :-)<br>
<br>
Any help appreciated.<br>
<br>
Regards<br>
Mike<br>
<br>
On 27/02/2012, M Fernandes <<a href="mailto:myitpartneruk@gmail.com" target="_blank">myitpartneruk@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
<br>
------------------------------<br>
<br>
______________________________<u></u>_________________<br>
Watford mailing list<br>
<a href="mailto:Watford@mailman.lug.org.uk" target="_blank">Watford@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/watford" target="_blank">https://mailman.lug.org.uk/<u></u>mailman/listinfo/watford</a><br>
<br>
<br>
End of Watford Digest, Vol 203, Issue 3<br>
******************************<u></u>********* <br>
<br>
______________________________<u></u>_________________<br>
Watford mailing list<br>
<a href="mailto:Watford@mailman.lug.org.uk" target="_blank">Watford@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/watford" target="_blank">https://mailman.lug.org.uk/<u></u>mailman/listinfo/watford</a><br>
</blockquote></div>