Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ec6c2d38b7cace4ce8fa0c82ca665c1e
mooc-rr
Commits
a1d949ad
Commit
a1d949ad
authored
Dec 09, 2021
by
ec6c2d38b7cace4ce8fa0c82ca665c1e
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Version finale exercice 2
parent
59a7aec8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
toy_document_orgmode_python_fr.org
module2/exo1/toy_document_orgmode_python_fr.org
+7
-1
No files found.
module2/exo1/toy_document_orgmode_python_fr.org
View file @
a1d949ad
...
...
@@ -11,8 +11,14 @@ Mon ordinateur m'indique que \pi vaut approximativement :
(org-babel-do-load-languages
'org-babel-load-languages
'((python . t)))
(setq org-babel-python-command "python3.8")
#+end_src
# La config ne fonctionneme pas dans le fichier de configuration. J'ai decidé de l'importer dans le code
#+RESULTS:
: python3.8
#+begin_src python :results output :session :exports both
from math import *
pi
...
...
@@ -38,7 +44,7 @@ theta = np.random.uniform(size=N, low=0, high=pi/2)
#+RESULTS:
:
: >>> >>> >>> >>>
0
: >>> >>> >>> >>>
3.128911138923655
...
...
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