Hi, everyone!
For those of you who are new to all this, welcome to GitHub! GitHub is a place where people, sometimes from all corners of the world, come together and collaborate on programming projects. Here in this repository, are Jupyter Notebooks that can be launched through Binder. All of this is open source, and can be accessible almost anywhere, anytime.
The Notebooks will give you a brief tutorial into Python, designed for physics undergrads that have little to no experience in programming. Just press the Binder link and let it launch. Learn, enjoy, explore!
Notebook | Open | Contributor |
---|---|---|
Intro To Python | Afiq Azraei | |
Basketball Shot Kinematics | Zaim Hakimie | |
Random Walk | Harith Zulfaizal | |
Simple Harmonic Motion | Yao Feng |
Some of the notes from the previous Python Code Camp are available in the CodeCampNotes directory. They offer more details on the stuff you learnt in the Jupyter Notebooks.
One can either use a proper UNIX machine, a dual boot for a Linux OS, a virtual machine or even the Windows Linux subsystem built into Windows 10. Find one that suits your needs.
Follow the steps here:
https://docs.anaconda.com/anaconda/install/linux/
and here:
Check your .bashrc file for the following script, if non-existent then paste this:
export DISPLAY=localhost:0.0
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/afyqazraei/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/afyqazraei/anaconda3/etc/profile.d/conda.sh" ]; then
. "/home/afyqazraei/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/home/afyqazraei/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
When done, source the file:
source .bashrc
git clone git@github.com:afyqazraei/IntroToPythonPERFUM.git
jupyter-notebook IntroToPythonPERFUM/
When initialized, copy the localhost link and paste it in a web browser. Then, you are all set and ready to go!