Looking for standalone Python

2006-01-17 Thread Twig
Hello,

I have a need to have python on intranet server for other users to 
create a common tool base for working community (SW). So that workers 
can take it in use just by mapping the drive adding dirs to paths.

Need to have all standard modules at the same place, so there would not 
be any local installations required.

Is this possible? Easy?

Any ideas.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Looking for standalone Python

2006-01-17 Thread Twig
Szabolcs Nagy wrote:
>>Is this possible?
> 
> yes: movable python
> http://www.voidspace.org.uk/python/movpy/introduction.html
> 

Thanks! Also found this:

http://arctrix.com/nas/python/standalone.html
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: simple pythonpath query

2006-01-20 Thread Twig

"Tim Golden" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
| [EMAIL PROTECTED]
|
|| I've downloaded the hypertext module and put it in the
| c:\python24\lib
|| folder.  I would have thought that since the lib directory is in the
|| Pythonpath,I would be able to import python scripts from
|| C:\Python24\Lib\HyperText.  I also tried including
|| C:\Python24\Lib\HyperText to
|| HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.4\PythonPath but no
|| joy.  Am I missing something very simple here?  Thanks, Marc
|
| I take it that's Andy Dustman's HyperText package? One thing
| to bear in mind (given that you haven't said what happened
| when you tried) is that the package itself offers little --
| ie if you do "import HyperText" you won't get much; you
| need to do something like "from HyperText import HTML".
|
| That said, I have it installed under site-packages
| (ie c:\python24\lib\site-packages) which is more designed
| for external modules/packages. The lib directory itself
| is rather for Python-supplied modules.
|
| Not sure if that all helps, but if you want to offer
| a traceback or error message, we might see some more.
|
| TJG
|

Hello,

How is installation of modules done? Is it just copying files to 
\lib\site-packages directory or is there something centralized db 
involved?
This is for self made libs, of course.

Can I use any directory if just update path or some python specific env 
var?



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Looking for standalone Python

2006-01-20 Thread Twig

"Twig" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
| Szabolcs Nagy wrote:
| >>Is this possible?
| >
| > yes: movable python
| > http://www.voidspace.org.uk/python/movpy/introduction.html
| >
|
| Thanks! Also found this:
|
| http://arctrix.com/nas/python/standalone.html


BTW,

Would it work if I just install Python locally (yes, Win..) and copy the 
files to shared dir/drive?
What should I do to make it work? Path append?! Special variables?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Looking for standalone Python

2006-01-20 Thread Twig

"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
| Twig wrote:
|
| > Would it work if I just install Python locally (yes, Win..) and copy 
the
| > files to shared dir/drive?
|
| absolutely.
|
| 1) do a local install to, say, c:\python24
|
| 2) check if the python DLL (python24.dll) was installed along the
| python.exe file in that directory.
|
| if not, copy it from \windows\system32 (or \winnt\system32, etc)
| to c:\python24
|
| 3) copy the entire python24 tree to suitable shared directory
|
| 4) add the shared python24 directory to the path.
|
| 
|
|
|

It is simple if you know it:) This makes my life much easier..
I thank you!

With python24.dll I found files

pythoncom24.dll
pythonw.exe (this is ok)
PYTHONW.EXE-3A9BB115.pf

from system dir. Should they be copied too?




-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Is Python a Zen language?

2006-02-25 Thread Twig
What is "zen"?

Is it something eatible (I'm hungry now)?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Is Python a Zen language?

2006-02-25 Thread Twig
Kent Johnson wrote:
> 
> Expanding on what Alex said :-)
*snip*
> 
> Python is an excellent tool language, it is very pragmatic and powerful 
*snip*
> 
> Kent

"It's a good axe", Muddy waters said about his guitar when asked by some 
heavy-mega guitar hero.

Python is practical tool for practical problems. But if problem isn't 
practical, it is misdefined.
-- 
http://mail.python.org/mailman/listinfo/python-list