Python Forum
Open source project that a beginner could contribute to?
Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open source project that a beginner could contribute to?
#1
I'm an experienced programmer but I'm new to python. I'd like to get more experience in Python by working on an open source project, particularly one related to urban planning or maps since that interests me. Does anyone know any active projects that would be a good fit for me?
Reply
#2
You could start at GitHub
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#3
(Apr-02-2017, 04:14 PM)sparkz_alot Wrote: You could start at GitHub

That's a good start. I see there's only two projects there that have been updated recently though. It's important that I find a currently active project so I can get feedback from other developers.
Reply
#4
(Apr-03-2017, 03:17 PM)JJJame Wrote:
(Apr-02-2017, 04:14 PM)sparkz_alot Wrote: You could start at GitHub

That's a good start. I see there's only two projects there that have been updated recently though. It's important that I find a currently active project so I can get feedback from other developers.

I don't think you will get much feedback other than "keep off the code" from developers of active OSS projects until you have reached an acceptable level... Until then self-criticism is your best friend. Read other people's code and compare with yours.
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply
#5
Suggest you try solving some computer puzzles: http://sixrevisions.com/resources/10-puz...ng-skills/
Reply
#6
(Apr-03-2017, 10:09 PM)Larz60+ Wrote: Suggest you try solving some computer puzzles: http://sixrevisions.com/resources/10-puz...ng-skills/

Sweet thanks for the site
Reply
#7
You could help me with my project. If you have experience with other languages, but are just new to python you could help me solve my logic puzzle that im facing. Maybe i will publish the code to github later, so you can help work on it easier. It is to help a local foodbank, so it is towards a good cause. here is the link: https://python-forum.io/Thread-Help-on-a...-the-needy
Reply
#8
(Apr-09-2017, 01:49 AM)teenspirit Wrote: You could help me with my project. If you have experience with other languages, but are just new to python you could help me solve my logic puzzle that im facing. Maybe i will publish the code to github later, so you can help work on it easier. It is to help a local foodbank, so it is towards a good cause. here is the link: https://python-forum.io/Thread-Help-on-a...-the-needy
Sure thing, let me know when you put it on GitHub!
Reply
#9
Here is the Github Repo on that project: https://github.com/dariankbrown/The-5000 You should probably read through the forum post about it and the changes and updates it needs in the forum thread here: https://python-forum.io/Thread-Help-on-a...-the-needy Thanks in advance.
Reply
#10
(Apr-10-2017, 02:51 AM)teenspirit Wrote: Here is the Github Repo on that project: https://github.com/dariankbrown/The-5000 You should probably read through the forum post about it and the changes and updates it needs in the forum thread here: https://python-forum.io/Thread-Help-on-a...-the-needy Thanks in advance.

May I make a suggestion? I know this is simple and silly but I've learned to try to avoid even the simplest of bugs. In blocks of code such as:

def main():
    # Declaring the necessary variables and dictionary.
    large, small = 0, 0
    items = {}
    while True:
        # The following is our main menu that the user will see.
        userin = input(
            "Type 'i' to enter new items, 'r' to begin registering new families, or 't' to get currnet total and stats, e is to exit: ")
        if userin == 'i':
            food_items(items)
        elif userin == 'r':
            large, small = one_or_two(large, small)
        elif userin == 't':
            total(large, small, items)
        elif userin == 'e':
            total(large, small, items)
            final_total(large, small, items)
            break
        else:
            print('An unknown option: ', userin, ' has been entered. Please try the last entry again.')
When entering the string value, if a user enters it in capital letters it will give this traceback:

Error:
/usr/bin/python3.5 "/root/PythonProjects/External_Teachings/The 5000/the_5000.py" Type 'i' to enter new items, 'r' to begin registering new families, or 't' to get currnet total and stats, e is to exit: I An unknown option:  I  has been entered. Please try the last entry again. Type 'i' to enter new items, 'r' to begin registering new families, or 't' to get currnet total and stats, e is to exit
This is how I normally avoid this:

def main():
    # Declaring the necessary variables and dictionary.
    large, small = 0, 0
    items = {}
    while True:
        # The following is our main menu that the user will see.
        userin = input(
            "Type 'i' to enter new items, 'r' to begin registering new families, or 't' to get currnet total and stats, e is to exit: ")
        if userin.lower() == 'i':
            food_items(items)
        elif userin.lower() == 'r':
            large, small = one_or_two(large, small)
        elif userin.lower() == 't':
            total(large, small, items)
        elif userin.lower() == 'e':
            total(large, small, items)
            final_total(large, small, items)
            break
        else:
            print('An unknown option: ', userin, ' has been entered. Please try the last entry again.')
Or you can add an 'or' statement to the string saying...:

if userin == 'i' or 'I':
    food_items(items)
You can also avoid ValueErrors silently and still give the else statement that you used by using a try/except/else block so that it makes sure that the correct value must be entered in order to move forward... I guess it's doing this now but I find try/except/else blocks more efficient. Correct me if I am wrong?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  My first project as a beginner lil_e 4 1,067 Feb-27-2023, 08:19 AM
Last Post: lil_e
  How do I open the Source code of a library? JaneTan 1 2,227 Aug-18-2021, 02:12 AM
Last Post: Larz60+
  Open for Python project(s) Python_User 8 3,198 Sep-10-2020, 07:45 PM
Last Post: Python_User
  Need help with this project / Beginner kurwa97 2 1,755 Nov-13-2019, 11:11 PM
Last Post: kurwa97
  Visual Studio Python 2.2 Source Project bobosamma 5 3,099 Oct-14-2019, 11:19 AM
Last Post: snippsat
  how to contribute our code/improvements to python pandas df..?? saikumarcheethirala 2 1,974 Jul-18-2019, 01:06 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020