Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
Is there a way of inputing data into an excel spreadsheet from python?

I am trying to create a program for my school which would allows users to input the books they read, author, date finished etc and then have it stored into a personal spreadsheet. As someone who has little experience doing python how doable is this task? Manu Thanks.

/r/Python
https://redd.it/6zm0s7
Do all the databases work the same in django?

I think this is a stupid question but i have to ask. I'm a total noob and just started working on django. It keeps scaring by saying over and over again that we should use other databases for larger projects.

Honestly, i have no clue what this means. Moreover i don't have any experience with databases. I started learning python 3 months ago and now i'm thinking i should try django.

What i want to know is if the databases work the same in django? Like will sqlite3 and postgresql work the same or will i have to learn something before doing it? And should i learn databases before learning django or not? IT would help me alot if anyone could clear these things up for me.

/r/djangolearning
https://redd.it/6zlhs6
Security best practices for Javascript generated field.

I'm using flask_wtf FlaskForm. I would like to sanitize string user input for a JavaScript generated form field. Now there are plenty of external libraries to do this, but I was hoping to find a way within the existing libraries. Any ideas?



/r/flask
https://redd.it/6zngt3
Linking results to a notebook

In my work, I do a lot of 'misc' data analysis..and I often am in a situation where I send out results, then a month later, someone asks me to rerun or change something etc... what bugs me is not having to figure out which notebook produced a given results file. has anyone thought of a good system for this? I have thought of including the notebook name as part of the results filename..or maybe somehow including the notebook name in header data depending on the file type. I'd love to hear some recommendations.

/r/IPython
https://redd.it/6zpmbh
What's everyone working on this week?

Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.


/r/Python
https://redd.it/6zn6fy
Any IDE I can use to quickly create python GUIs

Simple question, does anyone know of any IDE I can use to quickly and easily create a GUI interface using python?

/r/Python
https://redd.it/6zre9p
This media is not supported in your browser
VIEW IN TELEGRAM
A new version of Wilson's uniform spanning tree algorithm and BFS search animation made with pure python

/r/Python
https://redd.it/6zsvt7
Code Review request

Would anyone be kind enough to review my project.

It's...rather large and most of it is in spanish (well, spanglish). Do have a readme that I think covers most of it.

https://github.com/DullBlade0/neo-sigia

/r/djangolearning
https://redd.it/6zf3vz
Hey I created my first web app with django and react, on this board you will find all videos, articles and tutorials I used to learn both frameworks
https://mindweb.network/board/build-a-webapp-with-django-and-reactjs

/r/Python
https://redd.it/6zuxbu
ValueError: Unhandled pending operations for models

ValueError: Unhandled pending operations for models:
lists.list (referred to by fields: items.Item.list)


I'm getting this error when I try to migrate. I realized that it recently started happening after I installed django tastypie and started using it to make my API. Not sure what the error is exactly I haven't really modified my models much since then.

/r/django
https://redd.it/6zy179
[D] openAI closing down gym toolkit website

If you go to https://gym.openai.com/ now it just redirects you to their github repo. There was no official statement about it, the site just went down out of the blue. Only source about it actually closing down right now is Greg Brockman's reply on twitter.

https://twitter.com/gdb/status/907855318591438848

> Yep, the Github repo has been the focus of the project for the past year. The Gym site looks cool but hasn't been maintained.


It is really sad news for me personally. The companion website was very useful, both as a benchmark and source of information on practical algo implementations and tricks via writeups. Greg mentioned lack of maintenance, but it I think it was good enough for what it offered.

Maybe if community lets openAI know website will be missed they'll reconsider?

/r/MachineLearning
https://redd.it/6zvlm2