moddus / tldr-python-dash-docset Goto Github PK
View Code? Open in Web Editor NEWtldr-pages Python Dash Docset Generator
License: Apache License 2.0
tldr-pages Python Dash Docset Generator
License: Apache License 2.0
This line of code use os.mkdir
to create sub-directory.
try: os.mkdir(sub_path)
except OSError as e:
print("Could not create dir " + e.strerror)
raise SystemExit
It prompts error on my environment because os.mkdir
doesn't make all intermediate-level directories needed to contain the leaf directory, as stated in the Python official documentation. Changing to os.makedirs
solves my problem.
The author of this project has been unresponsive for some time. I maintain an active fork here:
https://github.com/cvn/tldr-python-dash-docset
I have been using my fork to update the docset periodically.
On OS X 10.11.2 I'm getting this error.
$ python generator.py
Traceback (most recent call last):
File "generator.py", line 59, in <module>
html.write(doc)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2026' in position 708: ordinal not in range(128)
$ python --version
Python 2.7.10
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.