Comments (4)
Thanks, but this is actually the same that I am already displaying right?
The thing is that I don't want to print too much, but only "selected" info. In my use case, I wouldn't find the commit_hash that useful for example. But people are welcome to fork the magic script and make additions :)
from python_reference.
You don't show commit hash if it is a dev version of IPython for example, nor encoding which might be problematic on windows and for some benchmark on strings.
I'm just pointing out that it might be easy to get them from IPython.sys_info()
. Also using IPython.sys_info()
avoid code duplication like your def _get_pyversions(self):
... etc.
There are probably things where we can do a better job so PR welcome if you think we are doing some things wrong :-)
from python_reference.
I see, but actually there is not much code duplication via _get_pyversions(self)
. This is just a wrapper for
platform.python_implementation(),
platform.python_version(),
IPython.__version__
from python_reference.
Yes, sure I was just pointing out that we had similar logic somewhere if you add some of that at a later point ! Thanks.
from python_reference.
Related Issues (16)
- Wrong iteration test HOT 1
- Slight lambda-in-closures issue HOT 3
- Workaround for HTML Conversion in Table of Contents HOT 1
- Sentence in Example 3.1 "Here is Why" ends prematurely HOT 1
- Modifying a list while looping through it HOT 1
- old
- Broken link in SQLite3_howto README HOT 1
- Printing database summary HOT 3
- Bad generated html HOT 1
- Sorting Algorithms IPython nb link is bad. HOT 1
- python_reference
- python-reference
- Use header cell. HOT 3
- More difference between range@py3 and xrange@py2 HOT 3
- PyBuilder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python_reference.