#๐ Anyone got any good python ideas for beginners
22 messages ยท Page 1 of 1 (latest)
@noble charm
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
!kin
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
^ is this what you are referring to?
Alrighty - check them out and see what resonates with you :)
Feel free to ask any other questions you might have
I've been on build your own X but all of the projects seem complex
Try some of the Koans then - or the challenges sections
My code is looking like uh
import webbrowser
# List of URLS
urls = {
"Youtube": "https://www.youtube.com/",
"Ebay": "https://www.ebay.co.uk/",
"ChatGPT": "https://chat.openai.com/"
}
print("Hello, welcome to the shortcut app!\n")
print("Before we start, would you like to add a custom link?")
custom = input("Yes or no: \n")
if custom.lower() == "yes":
custom_name = input("Enter the name you would like us to refer to the site as: ")
custom_url = input("Enter the URL of the site: ")
urls[custom_name] = custom_url
print(f"Custom link {custom_name} added.\n")
else:
print("Okay!")
# Ask the user what link they want to open?
print("Choose from the following options: -")
for url in urls.keys():
print(f"\t {url}")
choice = input("Enter your choice: ")
print(f"you have chosen: {choice}")
if choice.lower() == "all":
for url in urls.values():
webbrowser.open(url)
else:
keyFound = False
for urlKey in urls.keys():
if choice.lower() == urlKey.lower():
print(f"opening url [{urls.get(urlKey)}]")
webbrowser.open(urls.get(urlKey))
keyFound = True
print(f"Opening choice: {choice}")
if not keyFound:
print(f"Could not find option [{choice}] ")
if that gives you han idea of where I am at
are you having any issue?
no just giving you an idea of where I am at so I can find the best uh project
but I dont know how defonitons work...
:warning: The owner of this post is no longer in the server.
Weird. Very well
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.