cjl wrote:
> Thorsten:
>
> Thank you for your reply.
>
> > Setting environment variables has only effect on the process itself
> > and the subprocesses. This has nothing to do with Windows, it's the
> > same with Linux.
>
> True, and the changes to path and pythonpath are gone after I close the
> c
Thorsten:
Thank you for your reply.
> Setting environment variables has only effect on the process itself
> and the subprocesses. This has nothing to do with Windows, it's the
> same with Linux.
True, and the changes to path and pythonpath are gone after I close the
console window, but the resul
* cjl (2006-09-12 13:10 +0100)
> Jason:
>
> Thanks! That worked...in fact, almost everything is now working as
> expected (so far).
>
> Here is my batch file:
>
> echo "Making changes to path and file associations..."
> path =
> %PATH%;%CD%Python24;%CD%Python24\libs;%CD%Python24\Scripts;%CD%Pyth
| [cjl]
|
| | Any ideas about how to set file type associations without writing to
| | the registry?
|
[Tim Golden]
| Well, yes. Just the same as was in the article you pointed
| to... or have I missed something?
Ah, I see. Presumably the FTYPE / ASSOC commands write things
to the registry beh
[cjl]
| Any ideas about how to set file type associations without writing to
| the registry?
Well, yes. Just the same as was in the article you pointed
to... or have I missed something?
assoc .py=python.file
ftype python.file="c:\python24\python.exe" "%1" %*
(or whatever version of Python).
Ob
John:
> Congratulations. Now: how much time have you spent, and how much per
> hour are you worth? hours * dollars_per_hour < GBP_to_USD(4.99) ???
Since you mention it, I am currently earning about $200 an hour (when
I'm working), and I spent about 3 hours on this, so this cost me about
$600. I t
cjl wrote:
> Tim:
>
> > That would be because it's PATHEXT not PATHTEXT (it's sort
> > of like a PATH but for EXTensions).
>
> Doh.
>
> Me fail English? That's unpossible.
>
> Thanks, I think everything is working with my poor man's movable
> python.
> Last on my todo list is to restore the assoc
Tim:
> That would be because it's PATHEXT not PATHTEXT (it's sort
> of like a PATH but for EXTensions).
Doh.
Me fail English? That's unpossible.
Thanks, I think everything is working with my poor man's movable
python.
Last on my todo list is to restore the assoc and ftype settings when
I'm done
[cjl]
[... snip ...]
| set PATHTEXT=.py;%PATHTEXT%
| I'm still having a problem with setting PATHTEXT...
That would be because it's PATHEXT not PATHTEXT (it's sort
of like a PATH but for EXTensions).
TJG
This e-mail has
Jason:
Thanks! That worked...in fact, almost everything is now working as
expected (so far).
Here is my batch file:
echo "Making changes to path and file associations..."
path =
%PATH%;%CD%Python24;%CD%Python24\libs;%CD%Python24\Scripts;%CD%Python24\Lib\site-packages;%CD%Python24\DLLs
set PYTHON
cjl wrote:
> Hey all:
>
> It seems no matter what I do the %1 gets replaced by paramaters sent to
> the batch file...there must be some way of "escaping" this, but I can't
> find the answer (yet) with google. Anyone?
>
> -CJL
Use two percents in a row turn into a single percentage sign. So you'd
Hey all:
It seems no matter what I do the %1 gets replaced by paramaters sent to
the batch file...there must be some way of "escaping" this, but I can't
find the answer (yet) with google. Anyone?
-CJL
--
http://mail.python.org/mailman/listinfo/python-list
Hey all:
I'm getting closer. My startpython.bat file is now:
path=%PATH%;%CD%Python24;%CD%Python24\libs;%CD%Python24\Scripts;%CD%Python24\Lib\site-packages;%CD%Python24\DLLs
set PYTHONPATH=%CD%Python24
ASSOC .py=Python.File
ASSOC .pyc=Python.CompiledFile
ASSOC .pyo=Python.CompiledFile
ASSOC .pyw=
* Steve Holden (2006-09-12 01:30 +0100)
> Thorsten Kampe wrote:
>> * Steve Holden (2006-09-11 21:37 +0100)
>>>Uwe Hoffmann wrote:
cjl schrieb:
>I do set pythonpath, see above.
is pythonpath really case insensitive on windows ?
>>>
>>>Only because the Windows filesystem impleme
Thorsten Kampe wrote:
> * Steve Holden (2006-09-11 21:37 +0100)
>
>>Uwe Hoffmann wrote:
>>
>>>cjl schrieb:
>>>
I do set pythonpath, see above.
>>>
>>>is pythonpath really case insensitive on windows ?
>>
>>Only because the Windows filesystem implements case-insensitive
>>semantics. This is no
* Steve Holden (2006-09-11 21:37 +0100)
> Uwe Hoffmann wrote:
>> cjl schrieb:
>>>I do set pythonpath, see above.
>>
>> is pythonpath really case insensitive on windows ?
>
> Only because the Windows filesystem implements case-insensitive
> semantics. This is nothing to do with Python:
That's no
* cjl (2006-09-11 20:34 +0100)
>> Copying the Python24 directory is a good start, but doesn't include the
>> enormous number of registry keys that are included in the install and
>> are probably needed for the complete capabilites of python.
>
> Is the source of the windows python installer availa
Uwe Hoffmann wrote:
> Steve Holden schrieb:
>
>>Uwe Hoffmann wrote:
>>
>>
>>>cjl schrieb:
>>>
>>>
>>>
I do set pythonpath, see above.
>>>
>>>is pythonpath really case insensitive on windows ?
>>
>>
>>Only because the Windows filesystem implements case-insensitive
>>semantics. This is not
Uwe:
Thank you for your reply.
> is pythonpath really case insensitive on windows ?
I think so. After running my batch file, I can load the python
interpreter by typing 'python', and can then type 'import django'
without error. This lives in the site-packages directory, so it is
finding it.
How
Steve Holden schrieb:
> Uwe Hoffmann wrote:
>
>> cjl schrieb:
>>
>>
>>>
>>> I do set pythonpath, see above.
>>>
>>
>> is pythonpath really case insensitive on windows ?
>
>
> Only because the Windows filesystem implements case-insensitive
> semantics. This is nothing to do with Python:
no, i m
Uwe Hoffmann wrote:
> cjl schrieb:
>
>
>>
>>I do set pythonpath, see above.
>>
>
> is pythonpath really case insensitive on windows ?
Only because the Windows filesystem implements case-insensitive
semantics. This is nothing to do with Python:
C:\Steve\Projects\Python\dbimp>dir DB.py
Volume
cjl schrieb:
>
>
> I do set pythonpath, see above.
>
is pythonpath really case insensitive on windows ?
--
http://mail.python.org/mailman/listinfo/python-list
Jordan:
Thank you for your reply.
> If making a usb version of python was that easy, movable python would
> be open source.
I knew about movable python, but I'm not using it because it's not open
source. I guess those guys but some work into it, and feel like a small
fee is appropriate, but I gu
If making a usb version of python was that easy, movable python would
be open source. Check out http://www.voidspace.org.uk/python/movpy/ if
you need a portable usb version of python for work or something.
Copying the Python24 directory is a good start, but doesn't include the
enormous number of r
24 matches
Mail list logo