Git Product home page Git Product logo

Comments (12)

ianare avatar ianare commented on May 26, 2024

Sure, send it over and I'll create a py3 branch with it.

ianare AT gmail DOT com

from exif-py.

v-python avatar v-python commented on May 26, 2024

On 12/19/2012 4:18 PM, ianaré sévi wrote:

Sure, send it over and I'll create a py3 branch with it.

I think I tossed a version number at the top, but you might have your
own technique.

The stuff after main, and the import of pprint can probably be removed,
I just used pprint for debugging, I think.

New features are the py3 functionality... once you see the differences,
you may choose to encapsulate them in a way that would not require a
branch. I'd be glad to help test anything if, for some reason, you don't
have py3 available.

Also, I added GPS support, and if win32 extensions are available, it
tosses its GPS output on the clipboard. Handy but if you strip it out,
I'll move that code into a different utility program that imports
EXIF.py so I can track your updates over time.

This was a "Quick, get the job done" port, but the pressure is off now.

Glenn

from exif-py.

ianare avatar ianare commented on May 26, 2024

Can you send the file as an attachment? The whitespace got all corrupted.

from exif-py.

ianare avatar ianare commented on May 26, 2024

I think I tossed a version number at the top, but you might have your
own technique.

I don't really have a technique, I just put it the header.

The stuff after main, and the import of pprint can probably be removed,
I just used pprint for debugging, I think.

OK

New features are the py3 functionality... once you see the differences,
you may choose to encapsulate them in a way that would not require a
branch. I'd be glad to help test anything if, for some reason, you don't
have py3 available.

This would be good, but the first step is having a branch to allow
merging any improvements made to the py2 version.

Also, I added GPS support, and if win32 extensions are available, it
tosses its GPS output on the clipboard. Handy but if you strip it out,
I'll move that code into a different utility program that imports
EXIF.py so I can track your updates over time.

There can't be any platform specific code.

This was a "Quick, get the job done" port, but the pressure is off now.

Thanks for the contribution. You should consider forking the repo for
any future work as it would make things much easier.

  • ianaré sévi

from exif-py.

v-python avatar v-python commented on May 26, 2024

On 12/19/2012 4:31 PM, ianaré sévi wrote:

Can you send the file as an attachment? The whitespace got all corrupted.


Reply to this email directly or view it on GitHub
#7 (comment).

I did... but maybe your mail client also displayed it inline, and
corrupted it on the display?

Or do I have different editor settings, and it is a tab versus space
issue? If so, what tab settings do you use?

from exif-py.

ianare avatar ianare commented on May 26, 2024

I did... but maybe your mail client also displayed it inline, and

corrupted it on the display?

Or do I have different editor settings, and it is a tab versus space
issue? If so, what tab settings do you use?

Not an editor setting, looks like a problem with email. Just send me an
email directly without going through github.

  • ianaré sévi

from exif-py.

v-python avatar v-python commented on May 26, 2024

On 12/19/2012 4:42 PM, ianaré sévi wrote:

I did... but maybe your mail client also displayed it inline, and

corrupted it on the display?

Or do I have different editor settings, and it is a tab versus space
issue? If so, what tab settings do you use?

Not an editor setting, looks like a problem with email. Just send me an
email directly without going through github.

  • ianaré sévi


Reply to this email directly or view it on GitHub
#7 (comment).

And your email address? Github is hidnig it from me.

from exif-py.

ianare avatar ianare commented on May 26, 2024

ianare AT gmail DOT com

  • ianaré sévi

2012/12/20 v-python [email protected]

On 12/19/2012 4:42 PM, ianaré sévi wrote:

I did... but maybe your mail client also displayed it inline, and

corrupted it on the display?

Or do I have different editor settings, and it is a tab versus space
issue? If so, what tab settings do you use?

Not an editor setting, looks like a problem with email. Just send me an
email directly without going through github.

  • ianaré sévi


Reply to this email directly or view it on GitHub
#7 (comment).

And your email address? Github is hidnig it from me.


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-11555844.

from exif-py.

v-python avatar v-python commented on May 26, 2024

On 12/19/2012 4:38 PM, ianaré sévi wrote:

I think I tossed a version number at the top, but you might have your
own technique.

I don't really have a technique, I just put it the header.

The stuff after main, and the import of pprint can probably be removed,
I just used pprint for debugging, I think.

OK

New features are the py3 functionality... once you see the differences,
you may choose to encapsulate them in a way that would not require a
branch. I'd be glad to help test anything if, for some reason, you
don't
have py3 available.

This would be good, but the first step is having a branch to allow
merging any improvements made to the py2 version.

Also, I added GPS support, and if win32 extensions are available, it
tosses its GPS output on the clipboard. Handy but if you strip it out,
I'll move that code into a different utility program that imports
EXIF.py so I can track your updates over time.

There can't be any platform specific code.

It's in a try block, so it doesn't happen if it isn't there, regardless
of platform. But no problem if you strip that out, regardless.

This was a "Quick, get the job done" port, but the pressure is off now.

Thanks for the contribution. You should consider forking the repo for
any future work as it would make things much easier.

Yeah, I've used source control, and it works great in companies, or for
cooperative projects. But there are too many different ones for me to
learn them all, and to want to reinstall them all when I switch
computers, or for a one-time contribution. It already takes a week to
install software on a new computer...

Happily, I was able to find the link on github to download the source
file without installing git client.

  • ianaré sévi


Reply to this email directly or view it on GitHub
#7 (comment).

from exif-py.

ianare avatar ianare commented on May 26, 2024

OK got the file, it looks like you modified an older version, there was a recent addition of several bug fixes and extra debugging info which your version is missing.

from exif-py.

v-python avatar v-python commented on May 26, 2024

On 12/19/2012 6:01 PM, ianaré sévi wrote:

OK got the file, it looks like you modified an older version, there
was a recent addition of several bug fixes and extra debugging info
which your version is missing.

I had downloaded it in November... when the issue first came up, but
other projects intervened. Then the day came when it was needed yesterday :)

Four basic changes:

single byte slices changed from [ 4 ] to [ 4:5 ] so they stay bytes
instead of turning into ints, for comparisons.

Exception syntax

'\xff' => '\xff'

print syntax

Glenn

from exif-py.

odinho avatar odinho commented on May 26, 2024

With so small changes it should be very well possible to support both py3 and py2 in one codebase without any ugliness, as far as I can see :-)

from exif-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.