Code Monkey home page Code Monkey logo

Comments (3)

dbr avatar dbr commented on August 17, 2024

Not sure what is happening.. Could you try with the latest version (from this repository)? tvnamer.py is from the old version and has stopped being developed.

What interpreter is this with? I'm not too sure how Windows deals with running python files directly (since it doesn't use the shbang), I assume it's with the associated executable?

Also does it work if you run tvnamer on a file (not directories), or with a relative path? Might be something to do with the F:\ bit (although the os.path module should handle this fine)

If this is still an issue with tvnamer v2 I'll boot into Windows and have a look..

from tvnamer.

kay avatar kay commented on August 17, 2024

Version:

ActivePython 2.6.3.7 (ActiveState Software Inc.) based on
Python 2.6.3 (r263:75183, Oct  5 2009, 14:41:55) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

When you run any Windows file something called ShellExecute is called. This looks up in the registry for the associated executable to a particular filetype. Then Windows executes that binary with the filename as the argument. It has an impact however on the value of argv[0] to use C-style terminology.

Using a file it fails.

from tvnamer.

dbr avatar dbr commented on August 17, 2024

Closing old ticket. Installing via pip and running tvnamer [...] works correctly as per #188 which would be the supported means of running this on Windows

from tvnamer.

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.