Hack the Derivative! [reddit]
submitted by themathemagician [link] [comment] [ link ]
Sweet Seals For You, Always

Andulka
2025 on Tumblr: Trends That Defined the Year

Product Placement
No title available

No title available
NASA
KIROKAZE
let's talk about Bridgerton tea, my ask is open
YOU ARE THE REASON
styofa doing anything
Monterey Bay Aquarium
TVSTRANGERTHINGS
will byers stan first human second
Not today Justin
Misplaced Lens Cap
art blog(derogatory)
RMH
Three Goblin Art
Xuebing Du
seen from South Korea

seen from United States
seen from Canada

seen from Saudi Arabia
seen from Costa Rica

seen from United Kingdom

seen from Brazil

seen from Germany

seen from Malaysia
seen from Brazil
seen from Mexico
seen from United States

seen from Netherlands
seen from United States

seen from United States
seen from United States
seen from United States

seen from United States
seen from United States
seen from United States
@pythonhub
Hack the Derivative! [reddit]
submitted by themathemagician [link] [comment] [ link ]
Using Gabbi and Hypothesis to Test Django APIs [reddit]
submitted by piterpolk [link] [comment] [ link ]
Usage of Python 'zip' (with examples) [reddit]
submitted by Iqirx [link] [comment] [ link ]
Advice on Web Development using Python [reddit]
So I'm an intermediate Python programmer interested in developing a website. As someone with no experience with such a project, I was hoping to get some answers to a few questions. -Django seems like the most popular web framework for Python. Are there better alternatives? -If I do use Django, I would probably be using Cloud9 as the IDE. Other IDEs I have used are IDLE and Spyder, but are there others that I should consider? -The main reason why I'm so set on developing using Python is because I've spent the past year experimenting with web scraping using Python, and want to include various web crawlers in a website. With that in mind, is there anything in particular I should watch out for/focus on when developing the website?
Thanks in advance. Feel free to comment with other advice, as again, I have no experience in this field.
submitted by Asa_Ruxin [link] [1 comment] [ link ]
How the Bill & Melinda Gates Foundation Saves Lives with Python [reddit]
submitted by dnabeyta [link] [comment] [ link ]
Do you think Python will be used much for IoT? [reddit]
For Internet of Things, it is common to use for example C for obvious reasons. Low memory/cpu usage, easy to make a compiler etc... But do you think in the future memory and processing hardware will be so cheap and small that really high level languages like Python will be commonly used for IoT?
submitted by hugthemachines [link] [2 comments] [ link ]
Writing a URL shortener using Python [reddit]
submitted by ankush_sharma [link] [comment] [ link ]
Where do shutil.move() files go if destination is incorrect [reddit]
So I've noticed that when I use the shutil.move() in python 2.7 and something goes wrong (incorrectly spelled destination folder or something like that) the files are still moved... But I can't tell where or how.
It looks like a file was created in the parent folder (with the same name as how I incorrectly spelled the folder) but nothing else. It is simply a "file" with no extensions or anything as far as I can tell.
How can I get the files back or access them. They must go somewhere, right?
Thanks. I'm still trying to wrap my head around python and all its intricacies.
submitted by manofthewild07 [link] [comment] [ link ]
Random Forests in Python [reddit]
submitted by elisebreda [link] [1 comment] [ link ]
Trying JSON in Django and PostgreSQL (and compare with MongoDB) [reddit]
submitted by piterpolk [link] [comment] [ link ]
For those of you that run a script in the morning to start your day. [reddit]
You should definitely add this block of code.
import webbrowser import datetime today = datetime.date.today() if today.day == 1: webbrowser.open('https://www.youtube.com/watch?v=bpBP9dALcWw')
when it surprised me this morning, it was glorious.
submitted by Micotu [link] [comment] [ link ]
Is there an equivalent to Matlab's "gflineq" function in another Python library without having to download all of Matlab? [reddit]
submitted by coaster367 [link] [comment] [ link ]
Postfix Content Editing [reddit]
I am trying to write a script that will, upon my Postfix relay accepting mail from my application server, ingest the message and allow me to rewrite the sender address based on the recipient address. I tried to do this using canonical mappings and sender mappings and all kinds of other mappings in Postfix's native tools, but have determined that it would be insanely complex and require a separate instance of Postfix per domain I'm trying to re-write.
I have found some info on sending mail messages through a Python script before sending them out, but I'm not seeing much info on what the actual settings looks like for the Postfix configs. Does anyone have any suggestions? So far I have tried setting up aliasing as suggested here:
http://stackoverflow.com/questions/8312001/python-postfix-stdin
such that my /etc/postfix/aliases file looks like this:
[email protected] | /path/to/script.py
and my script looks like this, basically just trying to dump the email text to a test file so I can confirm the script is even seeing the email:
#!/usr/bin/env python import email msg = email.message_form_file(sys.stdin) f = open('test.txt', 'r+') f.write(str(msg))
I'm not really sure what's going on, I can't even get Postfix to just do normal sender rewrites right now. Honestly I'm not even sure that this is the right way to go about this, this is just what has been recommended to me by my boss.
submitted by killamongaro [link] [comment] [ link ]
What are your tips for drafting a pycon talk proposal? [reddit]
I'm working up a talk to submit to pycon 2016, but I'm a little lost on what content goes into a good proposal. Any tips, suggestions, boilerplate formats, etc., that you can suggest?
submitted by mistermocha [link] [2 comments] [ link ]
Suggestions for modules [reddit]
Is there any module for scheduling tasks in python, something like a code which can be triggered at a particular time or from a particular external parameter, generally the program is always running but then it performs a task when something happens? Sorry for such a generic question though!
submitted by code2hell [link] [1 comment] [ link ]
Help! "//" [reddit]
What does // mean? ie. m//2
submitted by salcedcr93 [link] [1 comment] [ link ]
Most Popular Python CookBooks on GitHub [reddit]
submitted by kirbycainglit [link] [comment] [ link ]