GithubHelp home page GithubHelp logo

Comments (5)

skorokithakis avatar skorokithakis commented on July 27, 2024

Hmm, I can't reproduce this:

16:53:35 $ python -m tbvaccine tox.ini 
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/tmp/tbvaccine/tbvaccine/__main__.py", line 23, in <module>
>   code = compile(script_file.read(), script_path, 'exec')
|     __builtins__ = <module '__builtin__' (built-in)>
|     __doc__      = None
|     __file__     = /tmp/tbvaccine/tbvaccine/__main__.py
|     __loader__   = <pkgutil.ImpLoader instance at 0x7f57adb82e60>
|     __name__     = __main__
|     __package__  = tbvaccine
|     os           = <module 'os' from '/usr/lib/python2.7/os.pyc'>
|     script_file  = <closed file 'tox.ini', mode 'r' at 0x7f57adb1e030>
|     script_path  = tox.ini
|     sys          = <module 'sys' (built-in)>
|     tbvaccine    = <module 'tbvaccine' from 'tbvaccine/__init__.pyc'>
SyntaxError: invalid syntax (tox.ini, line 5)

from tbvaccine.

szabolcsdombi avatar szabolcsdombi commented on July 27, 2024

I am using windows it seems colors don't work on windows :(

from tbvaccine.

szabolcsdombi avatar szabolcsdombi commented on July 27, 2024

Colorama works on windows. It changes the cmd.exe settings runtime by calling some winpai functions, here is a link.

from tbvaccine.

skorokithakis avatar skorokithakis commented on July 27, 2024

Ah, I see. Unfortunately I don't have a Windows set up, but I'd be grateful if you wanted to submit a PR for this.

from tbvaccine.

szabolcsdombi avatar szabolcsdombi commented on July 27, 2024

I give it a try.

from tbvaccine.

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.