| 1 | initial version |
Hi folks,
When I use this:
filename = os.path.basename(savecases)
I get something like "summerlight.sav"; the extension comes as well. Please, is there a python code to shorten it to "summerlight" only, I mean, to get rid of the extension ?
Thanks a lot, Andre
| 2 | code highlighting |
Hi folks,
When I use this:
filename = I get something like "summerlight.sav"; "summer_light.sav"; the extension comes as well. Please, is there a python code to shorten it to "summerlight" "summer_light" only, I mean, to get rid of the extension ?
Thanks a lot, Andre
| 3 | retagged |
Hi folks,
When I use this:
filename = os.path.basename(savecases)
I get something like "summer_light.sav"; the extension comes as well. Please, is there a python code to shorten it to "summer_light" only, I mean, to get rid of the extension ?
Thanks a lot, Andre
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.