Skip to content

Commit 89b288e

Browse files
authored
Update README.md
1 parent 8145f1f commit 89b288e

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
# TNEL Python Tutorial
22

3-
Using python for neuroscience
3+
These first three steps will be a great starting point for anyone trying to learn python with a slight focus on neuroscience.
44

5-
## Step 1 (by yourself)
5+
This was created and is being updated by Mark Schatza <schat107@umn.edu>. Feel free to use/share this freely. Reach out if you have any questions!
6+
7+
## Step 1
68
### Setting up Python
7-
Only for windows. Mac and Linux are good to go already.
9+
Only for windows. Mac and Linux have python set up already. However I would still look into using anaconda as it is a very useful tool for dealing with packages.
810

911
Option 1) Install anaconda (has a bunch of very useful modules and programs built-in) (https://www.anaconda.com/distribution/)
1012

1113
Option 2) Install basic python (https://www.python.org/)
1214

1315
### Learn basic python
14-
This may take a bit depending on your experience programming. learnpython.org looks like a very good starting point. I would work through the "Learn the Basics" and "Data Science Tutorials" as a first step. Make sure you understand for loops, dictionaries, arithmetic, and if/else statements. If you want some more help there are lots of other options too. Youtube, w3schools (only up to file handling), etc. If you have no programming experience an hour a day for a week should get you more than ready for our first project on Thursday.
16+
This may take a bit depending on your experience programming. learnpython.org looks like a very good starting point. I would work through the "Learn the Basics" and "Data Science Tutorials" as a first step. Make sure you understand for loops, dictionaries, arithmetic, and if/else statements. If you want some more help there are lots of other options too. Youtube, w3schools (only up to file handling), etc. If you have no programming experience an hour a day for a week should get you more than ready for step 2.
1517

1618
There are also some phone apps that are really great if you're looking to learn while riding the bus!
1719

@@ -21,20 +23,20 @@ There are also some phone apps that are really great if you're looking to learn
2123
- If on windows or mac, download git (https://git-scm.com/downloads).
2224

2325
### Ensure Jupyter is installed
24-
Open a jupyter notebook and open something like a simple helloworld.py file.
26+
Open a jupyter notebook and make sure you can get to your documents folder (or wherever you will store your code).
2527

2628
If you can't open jupyter. Open a command line window and type "python pip install jupyter" and try again. If you're struggling I would advise to just install anaconda.
2729

2830
### Download data from google drive
2931
https://drive.google.com/drive/folders/1f4Ym9FUcWXKRRy745LZKMaqW3Pwtpzs2?usp=sharing
3032

31-
Contact me (schat107@umn.edu) if you are having trouble accessing.
33+
Contact me <schat107@umn.edu> if you are having trouble accessing.
3234

33-
## Step 2 (With us)
35+
## Step 2
3436
### Setting up GitHub
35-
- Open Git Bash
37+
- Open Git Bash (or terminal if Linux/Mac)
3638

37-
- Use commands "cd" (change directory) and "ls" (list) to change to where you want to save your files. i.e. "cd Documents"
39+
- Use commands "cd" (change directory) and "ls" (list) to change to where you want to save your files. i.e. "cd Documents". Look up a "bash command tutorial" for more information.
3840

3941
- Create a new folder for GitHub "mkdir GitHub" (make directory), and go into it "cd GitHub".
4042

@@ -45,7 +47,7 @@ Contact me (schat107@umn.edu) if you are having trouble accessing.
4547
- Back to git bash and type "git clone https://github.com/CHANGETOYOURUSERNAME/learning-python". This creates a local copy for yourself.
4648

4749
### Move data into working folder
48-
Create a folder called data in learning-python folder. Copy folder Sample_Data into here.
50+
Create a folder called data in learning-python folder. Copy folder Sample_Data (from google drive) into here.
4951

5052
### Open Main in juypter (in cmd line type: "jupyter notebook". You should then see it open in your browser)
5153
Start a juypter notebook and open up the main.ipynb file which is located in the folder that you cloned from github.

0 commit comments

Comments
 (0)