johnahartman / pytimecode Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/pytimecode
Automatically exported from code.google.com/p/pytimecode
The attached patch implements the comparison operators.
Regards,
Carlo
Original issue reported on code.google.com by [email protected]
on 27 Dec 2011 at 4:38
Attachments:
After applying the attached patch, your module will work with both Python 2 and
Python 3.
Merry Christmas!
Carlo
Original issue reported on code.google.com by [email protected]
on 25 Dec 2011 at 4:30
Attachments:
What steps will reproduce the problem?
Python 2.7.2+ (default, Dec 1 2011, 01:55:02)
[GCC 4.6.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytimecode
>>> code = pytimecode.PyTimeCode('24')
>>> print code
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pytimecode.py", line 222, in __repr__
return self.make_timecode()
File "pytimecode.py", line 119, in make_timecode
self.frames_to_tc()
File "pytimecode.py", line 55, in frames_to_tc
self.hrs = frames/(3600*self.int_framerate)
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
What is the expected output? What do you see instead?
The printing behaviour of the object; an exception.
What version of the product are you using? On what operating system?
pytimecode 0.1.0; Debian Wheezy
Original issue reported on code.google.com by [email protected]
on 25 Dec 2011 at 2:25
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.