News for hackers. Stuff that matters.

PolBaladas

Welcome,

We just launched Explorer - Your knowledge tool. Explore human knowledge visually.

Submit your story and send the link to your friends! They can continue writing it.
Well, i do have Python 3. But the fact is that if this package only works with python 3, you should specify such in the pip package info file. Otherwise, I’ll just pip install and try to run it with Python27 because pip for 2.7 installed it with no problems. Cheers
Re:The best question and the best answer on Saturday January 21, 2017 @05:53PM (#13452540)
Nice ;)
Hi there! Looks good, but something weird happened:

  $ lyricfetcher bob dylan "like a rolling stone"
   Traceback (most recent call last):
  File "/usr/local/bin/lyricfetcher", line 7, in <module>
    from lyricfetcher.main import main
  File "/usr/local/lib/python2.7/site-packages/lyricfetcher/__init__.py", line 1, in <module>
    from .main import get_lyrics
  File "/usr/local/lib/python2.7/site-packages/lyricfetcher/main.py", line 4, in <module>
    from lyricfetcher.sources import get_lyrics
  File "/usr/local/lib/python2.7/site-packages/lyricfetcher/sources/__init__.py", line 1, in <module>
    from lyricfetcher.sources.AZlyrics import AZlyrics
  File "/usr/local/lib/python2.7/site-packages/lyricfetcher/sources/AZlyrics.py", line 1, in <module>
    import urllib.request
ImportError: No module named request
Also, Feel free to contribute! Next step would be adding some extended styling with CSS rules (although that's not entirely portable) or read links in JSON and convert them to (name)[url] Markdown format.
Yes, you're right. Looks like Github Doesn't render the Markdown I'm generating properly. You can use http://dillinger.io/ (online markdown visualizer) to visualize markdown properly.

Thanks!

simply, pip install torsimany

JSON to Markdown converter - Generate Markdown from format independent JSON Edit

Re:Show HN: Top Movies by Genre on Thursday January 19, 2017 @07:44PM (#13440851)
Looks Cool! Scraping or API? (imdb’s i guess)
Nice! is this HTTPServer a standard, included python module? Does the “costumer you send the preview to” have to run ./zerve or the generated python script? Thanks!