[Tutor] running or calling a module from the desktop

Alan Gauld alan.gauld at yahoo.co.uk
Thu Sep 21 05:01:57 EDT 2017


On 20/09/17 22:06, orpha.pen_j0 at outlook.com wrote:

> I would like to import, run or set path to desktop.  

OK, On Windows go to Windows Exploder and type in the address

%HOMEPATH%\Desktop

Go there and you should be able to see/figure out
the full path to your personal desktop folder.
Then add that path to your PYTHONPATH environment variable.

Python will then look in your desktop folder for
modules you try to import.

> So that I can use things there were I usually work > on new items, I know how the rest of you are different from that.

Yes because your desktop will get awfully messy very
quickly once you start working on bigger projects
with lots of files. Its much better to create a
folder for your code. But its your PC,
you do what you want! :-)

> I don't know if you could use the cloud as a 
> means to import items?  

I don;t think so, not yet anyway.

> HOW would I explain to python-chevron

I assume you mean the Python >>> prompt?
If not you'll need to explain what Pyhon chevron is.

If you do mean >>> then the above addition
to PYTHONPATH should do the trick.

>  Iron python capable, whatever that means.  

Its the version of Python that runs on .NET.
I've never used it but I think it pincludes a compiler
that can generate .NET code that can be used with C#,
VB.Net etc.

> the first time I heard SQL as an acronym.  I thought 
> they said Server-Query-Language.  

If they did, they were wrong. SQL has always stood
for Structured Query Language. It has nothing to do
with servers.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list