Python 2.5.1 (r251:54863, May 18 2007, 16:56:43)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> print repr(os.sep)
'/'
>>> print repr(os.altsep)
None
>>> print os.name
posix
>>>
But I installed an other instance of python and now:
C:\Python25>python
'import site' failed; use -v for traceback
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> print repr(os.sep)
'\\'
>>> print repr(os.altsep)
'/'
>>> print os.name
nt
>>> os.path.basename('C:\\jallib\\unvalidated\\include\\peripheral\\timer\\timer
0_isr_interval.jal')
'timer0_isr_interval.jal'
>>>
I just have to keep track of the right version!
Joep
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---