Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr-ressources
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Learning Lab
mooc-rr-ressources
Commits
fac29a0a
Commit
fac29a0a
authored
Sep 23, 2018
by
Arnaud Legrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add info on how to get sys info from Python
parent
7e1d8436
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
resources.org
module4/ressources/resources.org
+10
-0
No files found.
module4/ressources/resources.org
View file @
fac29a0a
...
@@ -204,6 +204,16 @@ this cell, hence the output of this final command (with the new git
...
@@ -204,6 +204,16 @@ this cell, hence the output of this final command (with the new git
hash
)
will
not
be
stored
in
the
cell
.
This
is
not
really
a
problem
and
hash
)
will
not
be
stored
in
the
cell
.
This
is
not
really
a
problem
and
is
the
price
to
pay
for
running
git
from
within
the
notebook
itself
.
is
the
price
to
pay
for
running
git
from
within
the
notebook
itself
.
**
Getting
information
about
Python
(
3
)
libraries
**
Getting
information
about
Python
(
3
)
libraries
***
Getting
information
about
your
system
This
topic
is
discussed
on
[[
https
://
stackoverflow
.
com
/
questions
/
3103178
/
how
-
to
-
get
-
the
-
system
-
info
-
with
-
python
][
StackOverflow
]].
#+
begin_src
python
:
results
output
:
exports
both
import
platform
print
(
platform
.
uname
())
#+
end_src
#+
RESULTS
:
:
uname_result
(
system
=
'Linux'
,
node
=
'icarus'
,
release
=
'4.15.0-2-amd64'
,
version
=
'#1 SMP Debian 4.15.11-1 (2018-03-20)'
,
machine
=
'x86_64'
,
processor
=
''
)
***
Getting
the
list
of
installed
packages
and
their
version
***
Getting
the
list
of
installed
packages
and
their
version
This
topic
is
discussed
on
[[
https
://
stackoverflow
.
com
/
questions
/
20180543
/
how
-
to
-
check
-
version
-
of
-
python
-
modules
][
StackOverflow
]].
When
using
=
pip
=
(
the
Python
This
topic
is
discussed
on
[[
https
://
stackoverflow
.
com
/
questions
/
20180543
/
how
-
to
-
check
-
version
-
of
-
python
-
modules
][
StackOverflow
]].
When
using
=
pip
=
(
the
Python
package
installer
)
within
a
shell
command
,
it
is
easy
to
query
the
package
installer
)
within
a
shell
command
,
it
is
easy
to
query
the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment