-
Notifications
You must be signed in to change notification settings - Fork 57
Content on how to run Python #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🚀 📚 Preview for git commit SHA: ca10a3e at: https://608b26ed78acaf85831058d6--pythia-foundations.netlify.app |
$ conda activate pythia_foundations | ||
``` | ||
|
||
2. Create a directory to store our work. Let's call it `pythia-foundations`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In our workshops, we had issues with novice users getting the directory with their stuff confused with the python environment, so we renamed one to make it easier for them to keep them as separate concepts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's a subtle difference (one has an underscore and one a backslash) - I'll make it more obvious. We had the same concern in the Xdev seminar series.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is now pythia_foundations_env
for the environment and pythia-foundations
for the directory.
🚀 📚 Preview for git commit SHA: e52aeee at: https://6091c5bad5946b0c94159969--pythia-foundations.netlify.app |
I understand if we want to wait to merge this to see if it should be altered to match the upcoming page template. I also think it could be reasonable for the spin-up content to take on a slightly different form than the package specific pages. |
Very nice, @jukent . Before I post some specific edits and comments, I'm wondering if for text-centric content, such as this specific document, there might be an easier way than Github pull requests and forks to contribute stylistic changes as well as more content-related edits. I think I'll bring this up at tomorrow's IWG session. |
I think that's a great topic for tomorrow. |
added to hack md
added to hack md
Changed image links to imgur instead of local paths
I have linked this to hackmd, but am not yet sure how to make it appear on Github. The links in this PR are: |
🚀 📚 Preview for git commit SHA: 9650ba2 at: https://609443fea4abf900950243f1--pythia-foundations.netlify.app |
The first two links seem to be broken (404). I was able to access the third and successfully fixed a typo and added a test comment. A few questions:
|
The three links work for me. Weird. |
@clyne can you try again on clicking the links? All the links work for both @kmpaul and myself. In a previous edit the links did not work - so I wonder if it is cached somehow.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made some edits to the text in several documents over on hackmd
foundations/jupyter.md
Outdated
|
||
1. With your Conda environment activated and Jupyter session launched (see above),create a directory to store our work. Let's call it `pythia-foundations`. | ||
|
||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the screenshot if you get rid of nb_conda_kernels
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm my Jupyter terminal doesn't look any differently. Perhaps I have nb_conda_kernels installed at base. What is the easiest way to make Jupyter appear as if it were a brand new install?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we discussed at today's EWG, it's probably as you said because you have nb_conda_kernels
in base.
I took a new screenshot and dropped it into 2240de3
|
||
 | ||
|
||
**Congratulations!** You have just set up your first Python environment and run your first Python code in a Jupyter notebook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we include some instructions for how to save the notebook and shut down the lab session?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a section heading for this in 2240de3
🚀 📚 Preview for git commit SHA: 64b8c1e at: https://609d550acbf9700d12fa8516--pythia-foundations.netlify.app |
🚀 📚 Preview for git commit SHA: 4d04bd9 at: https://609d57e0dc6ffa05168879e2--pythia-foundations.netlify.app |
🚀 📚 Preview for git commit SHA: 2240de3 at: https://609d7f2a64f4cc0b4e5a1941--pythia-foundations.netlify.app |
Let me try that again, because I don't see the updated screenshot in the rendered version. |
Ok, I see that the markdown file didn't actually link to the images in the repo at all but pointed to imgur links. I replaced those so the new screenshot should show up this time. |
The markdown file used the images before, but HackMD doesn't seem to be able to see them - hence the imgur links. This is perhaps another pain point of HackMD. Thanks for grabbing that screenshot! |
Yeah, maybe HackMD is not quite the right tool for this job. |
🚀 📚 Preview for git commit SHA: 8b9856a at: https://609d86ab00847819628e4841--pythia-foundations.netlify.app |
🚀 📚 Preview for git commit SHA: 89f6e44 at: https://609ec4f80bc7ad173be7190c--pythia-foundations.netlify.app |
🚀 📚 Preview for git commit SHA: 259faa5 at: https://60afc5cc4758a400aacbb8c9--pythia-foundations.netlify.app |
🚀 📚 Preview for git commit SHA: 12ac475 at: https://60afcc4d9c8ae20d72ae5f3a--pythia-foundations.netlify.app |
We should close this since all the content has been merged into #50 which is still getting reviewed. |
This is out of date now and the new content has been merged in #50. Closing this. |
This content has information on how to select a Python platform and the basic knowledge needed to install and execute Python code on that platform.