Code Monkey home page Code Monkey logo

pytimecode's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @johnahartman
  • ๐Ÿ‘€ Iโ€™m interested in XR development and story worlds.
  • ๐ŸŒฑ Iโ€™m currently looking to learning best practices using LLM, ML, and other evolving Ai models.
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on Story Atlas, PRAXI, THE CODA SPACE and other bridges to web3.
  • ๐Ÿ“ซ How to reach me - https://www.johnanthonyhartman.com www.praxivision.com

pytimecode's People

Watchers

 avatar

pytimecode's Issues

unsupported operand types for /

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

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.