Attention: The EBRAINS drive will be unavailable for most of the weekend starting the 25th October. Although the Lab is availble while the Drive is down, files that are stored in the Drive will not be loaded and you will be unable to save documents directly on the Lab.


Changes for page Code description

Last modified by galluzziandrea on 2022/06/20 12:33

From version 4.1
edited by galluzziandrea
on 2021/12/09 14:38
Change comment: There is no comment for this version
To version 3.1
edited by galluzziandrea
on 2021/12/09 14:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,8 +1,10 @@
1 -== Introduction (path and modules) ==
1 +== Code Description: ==
2 2  
3 +=== Introduction (path and modules) ===
4 +
3 3  First of all we check the path and import the necessary modules .
4 4  
5 -=== Check where I am and place myself in the right folder : ===
7 +==== Check where I am and place myself in the right folder : ====
6 6  
7 7  {{code language="python"}}
8 8  # Import the os module
... ... @@ -18,7 +18,7 @@
18 18  print("Current working directory: {0}".format(os.getcwd()))
19 19  {{/code}}
20 20  
21 -=== import the modules necessary for the simulation ===
23 +==== import the modules necessary for the simulation ====
22 22  
23 23  {{code language="python"}}
24 24  import nest
... ... @@ -32,8 +32,8 @@
32 32  print('tempo di Inizio:',Inizio)
33 33  {{/code}}
34 34  
35 -=== ===
37 +=== ===
36 36  
37 -==== Results ====
39 +=== Results ===
38 38  
39 -==== ====
41 +==== ====