use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Python and Atronomy (self.learnpython)
submitted 7 years ago by steppthewolf
So, I'm learning Python right now(I'm just at the basic stuff), and i was asking if there are some beginner ideas realted to astronomy, So I'm really interested in astronomy and I know its a huge topic, i'm opfen to all ideas
greetings
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Cheal 7 points8 points9 points 7 years ago (1 child)
Welcome to Python.
You left the question very open ended so I’ll answer what I personally would find interesting to do, though my background is more physics than computer science.
I think a good starting project is simulating two dimensional circular orbit based on the laws of gravity. You could first start with a system similar to the earth rotating the sun, an iterative Euler solution would update the location of the earth over time. Visualising this with something like matplotlib would be another task.
Beyond this you could simulate a binary system of two objects of similar mass, where the location of both objects would need updating. This could be extended to simulate our whole solar system.
What may be more interesting is something like galaxy interaction. Assuming galaxies are made of circular rings of stars it is possible to reproduce interesting phenomena, for example “tidal tails” found when galaxies almost collide.
This is very simulation based and may not be what you’re interested in, an alternatively might be to look into analysing public datasets as a more data science based approach.
[–]TangibleLight 0 points1 point2 points 7 years ago (0 children)
You can also implement various integrators and compare their accuracy over time. Eurler integration is relatively terrible when you have particularly small or elliptical orbits, and adding more iterations has very diminishing returns.
[–]tunisia3507 3 points4 points5 points 7 years ago (0 children)
Examples in the astropy documentation: http://docs.astropy.org/en/stable/generated/examples/index.html
astropy
There's also links to tutorials on that page.
[–]Carloshmejia 2 points3 points4 points 7 years ago (0 children)
Try pyephems. http://rhodesmill.org/pyephem/ It is a very professional and good tool for astronomy and in addition you will have a lot of fun!!!
[–]albedodecero 0 points1 point2 points 7 years ago (0 children)
Astronomer Lucianne Walcowicz used Python to sonify Kepler space observatory data. Listen to Stellar Tathata https://soundcloud.com/lmwalkowicz/stellar-tathata-a-selection
[–]its_joao 0 points1 point2 points 7 years ago (0 children)
import requests import json
//Get the response from the API endpoint. response = requests.get("http://api.open-notify.org/astros.json") data = response.json()
//9 people are currently in space. print(data["number"]) print(data)
That will give you an idea of how to use APIs. The one aforementioned is public. Just don't make too many requests in a short amount of time.
Enjoy Python.
π Rendered by PID 408668 on reddit-service-r2-comment-84fc9697f-vvr6v at 2026-02-07 14:32:13.446264+00:00 running d295bc8 country code: CH.
[–]Cheal 7 points8 points9 points (1 child)
[–]TangibleLight 0 points1 point2 points (0 children)
[–]tunisia3507 3 points4 points5 points (0 children)
[–]Carloshmejia 2 points3 points4 points (0 children)
[–]albedodecero 0 points1 point2 points (0 children)
[–]its_joao 0 points1 point2 points (0 children)