r/learnpython • • Dec 23 '19

What are some creative small programs that you have coded using Python?

I am a beginner at coding with Python, so I am curious about learning what small programs or projects you all have created. I am hoping to develop my skills using Python, so I figured looking at actual code for various programs would greatly help.

Please include a short description of what the program does and the code itself in the comments below. Thank you!

348 Upvotes

224 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Dec 31 '19

I created an empty credentials.json and now I get this error

raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

What am I suppose to put in credentials.json?

Thanks for your help btw.

1

u/DemDim1 Dec 31 '19

You need to get credentials for your google account, you can download them as a json (and they will be encrypted)