-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
many fixing to make it work on my computer (Win7 + LO4.4) #1
base: python3
Are you sure you want to change the base?
Conversation
import winreg instead _winreg (for Python3) fixed save_as() method (ods format is default) added save() method removed spaces after the print function
Thank you for helping 👍 I've activated the issue service, so feel free to add issues there. But I can't promise I'll do anything with it for now... sorry. 1 ) What I'm trying to do here is to put this code base in a state where it can be run both in python 2.7 and python 3.x. In python 2.7 the module is called _winreg and in 3.x winreg but, fortunately, there is an automatic conversion tool distributed with python called 2to3 that knows that(and a lot more) and convert 2.7 code directly to 3.x code. So what I want to do is to find out every change that the 2to3 tool cannot do by itself, and add to this branch so that running this lib under python3.x is only a matter of running 2to3 on it.
Sorry for my english, but I expect that it was at least understandable... |
Oh, if you could make an better commit message with more descriptive title and add some description of why you changed the "_file_url" method(even splitting it in another commit if it is not related to the save_as change) it would be greatly appreciated. |
thank for your reply.
LO4.4) (#1)
I'll try to do my best, but this is the first time I really try using git, Giacomo -- Sponsor: |
[email protected]
I recently discovered another project (I never tryed it but I red its code
Immediately before the open parenthesis that starts the argument list of
Thanks. -- Sponsor: |
import winreg instead _winreg (for Python3)
fixed save_as() method (ods format is default)
added save() method
removed spaces after the print function (just programming style)
notes for Fernando: