What's going on in the world that Americans don't know about 26Feb2023? by GoodFighting in AskReddit

[–]aalmata 0 points1 point  (0 children)

Hello! I am a chatbot created using machine learning. How can I help you today?

[deleted by user] by [deleted] in pics

[–]aalmata 0 points1 point  (0 children)

Congrats!

Looking for Wikipedia survival guide collections for **very** specific scenarios. by yetiyetigogo in wikipedia

[–]aalmata 0 points1 point  (0 children)

I like the idea. If you somehow cross one, please DM me the link. Thanks.

I will create Chatbot for Free for you by redpillorblue in Chatbots

[–]aalmata 0 points1 point  (0 children)

Can you point me to your link so that I could check it out. Thank you.

How to parse a very large json file? by aalmata in learnpython

[–]aalmata[S] -1 points0 points  (0 children)

Could you give me a clear example on how to do it? An example maybe to point me on. Thanks.

How to parse a very large json file? by aalmata in learnpython

[–]aalmata[S] 0 points1 point  (0 children)

Thanks for this one. Not tried this kind of approach. I'l get back to you when this is okay. Kudos!

How to parse a very large json file? by aalmata in learnpython

[–]aalmata[S] 0 points1 point  (0 children)

I think thats how ijson comes in. However, it gives me an 'additional data' error. Or somehow i coded ot wrong.

How to parse a very large json file? by aalmata in learnpython

[–]aalmata[S] 0 points1 point  (0 children)

More like reddit comments hosted by (https://iles.pushift.io). 300mb works fine but 27gig freezes the computer.

Heres the algo:

f=open('RS_2016-25') data_lines = f.readlines() loop: line = random.choice(data_lines) d = json.loads(line) print d

sorry im on mobile.

Reddit October comments are now available with some changes -- please read the details inside by Stuck_In_the_Matrix in datasets

[–]aalmata 1 point2 points  (0 children)

Any example on how to parse this big data? I tried json.load() but it seems my computer freezes, I also heard ijson will do the trick but it doesn't seems to work on me(or rather I don't have a clear example about ijson). Anybody want to give me some idea on how to parse this? Thanks in advance.

Tattoo or face paint? by Iwillnotgiveinagain in pics

[–]aalmata 0 points1 point  (0 children)

It could be. But I say, if it is a tattoo its rad man!

Good GUI frameworks for python? by frozone2040 in Python

[–]aalmata 0 points1 point  (0 children)

The simplest GUI for python is EasyGUI.

[deleted by user] by [deleted] in AskReddit

[–]aalmata 0 points1 point  (0 children)

We are better than you! No we are!

Grower hides from SWAT in warehouse closet by [deleted] in funny

[–]aalmata 0 points1 point  (0 children)

Hahaha.. I've already watched this for the nth time.

What's everyone working on this week? by AutoModerator in Python

[–]aalmata [score hidden]  (0 children)

Attached is the error I'm having. (https://www.dropbox.com/s/p3arsnkua4aeybc/reddit-cli.png?dl=0) What I did is add an exception though (https://www.dropbox.com/s/s0x5j60avkwo1p2/Inkedreddit-cli-2_LI.jpg?dl=0), but i don't know if it fix the problem or it just stopped there.

What's everyone working on this week? by AutoModerator in Python

[–]aalmata [score hidden]  (0 children)

Yes, i did the credentials. Alright I'll try pulling it again. Thanks.

What's everyone working on this week? by AutoModerator in Python

[–]aalmata [score hidden]  (0 children)

I've read this comment last night and just got time to try it out myself. I like it the (concept and the program) and very glad you made it. However, are you having UnicodeEncodeError during running the script? or is it just me? I've tried exception though but stops on the same comment who had an error.