r/Python • • Oct 17 '16

Python 201 Book is Free for 48 hours

1.3k Upvotes

I decided it would be fun to give my latest book away for free for 48 hours. So starting today, you can get Python 201: Intermediate Python free through Gumroad or Leanpub.

If you go with Gumroad, then you will need to use the following offer code: 201free. Note that if you want to receive updates to the book, you will want to create an account and add the book to your library.

I currently support the following digital formats: PDF, epub and mobi

You might also want to check out my blog which has lots of fun Python tutorials and links to my other books: http://www.blog.pythonlibrary.org/

Update 2016-10-17: For those of you who like numbers, I thought I'd share a bit of statistics with you. The number of people who used the Leanpub link to download the book hit 18,037 while approx. 6670 people used the Gumroad coupon. I don't have a simple way of checking who used both sites, so assuming that no one did, the total number of new readers is 24,707!

That's so awesome! Thanks so much for your interest. I hope you all enjoy the book!


r/Python • • Sep 25 '20

Discussion Automated My Job for the First Time

1.3k Upvotes

So this just happened today. I've been learning Python on and off for a long time. I had to take a couple of classes for my undergrad a couple years back, and after that, I never really needed to apply it in my job.

Fast forward to today, my manager was complaining about how many requests for test data the business team was giving him. He tasked me with helping him generate the data using Excel and advanced SQL logic.

I decided to dust off my rusty Python scripting knowledge and created a script that automated the entire process. It took many hours, a lot of googling and 2 mugs of coffee, but I accomplished what I set out to do. My script was able to generate nearly 5000 queries in less than a minute.

Needless to say, my boss was impressed by my initiative, and I've found out first hand how useful knowing Python is. I want to thank this subreddit for being so supportive and always promoting new learning resources. Automate the Boring Stuff is a gold mine of info and I am more motivated than ever before to expand my skills and knowledge!

Edit: Wow! I never really expected this post to blow up like it did. Thank you all for the awards. Never really gotten any of them before, as I mostly lurk and don't post. Yesterday was an anomaly because I just felt grateful for subs like this one. I just wanted to take the time to clarify some things.

To those people who are worried about my boss' reaction, don't be. I am extremely lucky to have a boss who cares for all his employees (even me, the part timer with very little IT experience). To give a bit of background, he and my father are friends, so he's taken me under his wing, teaching me how to handle myself in a professional environment and helping my career by exposing me to new opportunities within the project we 're working on. Needless to say, over the past few months, I've been assigned many different tasks on both the business and engineering side, learning a lot in the process that will be invaluable to my career in the future.

Regarding an increase in pay, I've put in the paperwork to go full time, and I gained his approval a few weeks back because of how much effort I put in to making sure I completed my tasks to the best of my abilities. I think this ensured that he would back me up 100% if anyone tried to object. Hopefully by the beginning of October, I'll be billing for 40 hours instead of 24.

I love the team and company I work for, as everyone is super friendly and willing to help me out. Also, part of the reason I automated this task was because it helps my boss politically. I'm not too well-versed in office politics, but he's been giving me lessons on how to handle it. By being able to provide thousands of data points for the business team, he now has them on the back foot and they have to work hard to fulfill their end of the testing, otherwise they're going to be the ones with egg on their face if the issue gets escalated to the executive levels.

I only had two mugs of coffee because my mom yelled at me for drinking coffee late at night and banned me from the kitchen. :D


r/Python • • May 18 '21

Resource PyCon US 2021 Notes

Thumbnail
benedat.com
1.3k Upvotes

r/Python • • Nov 12 '17

Python Fractal Landscape

Post image
1.3k Upvotes

r/Python • • Jul 22 '21

Resource Do not use mutable objects as default arguments in Python

Thumbnail
medium.com
1.3k Upvotes

r/Python • • Jan 12 '19

Alright, which one of you was this? Haha had to stop and take a pic

Thumbnail
imgur.com
1.3k Upvotes

r/Python • • Apr 16 '21

News Flask 2.0 is coming, please help us test

1.3k Upvotes

Hello,

Flask 2.0 is due for release soon, with a release candidate 2.0.0rc1 available now on PyPI. Please try this out and let us know if there are any issues.

pip install --pre flask

This major release of Flask is accompanied by major releases of Werkzeug, Jinja2, click, and itsdangerous which we'd also welcome and appreciate testing (their pre releases are installed with the Flask pre release).

Some highlights from Flask's Changelog,

  • Support Python 3.6+ (dropping Python 2.7 and 3.5 support)

  • Deprecate a number of features (see details).

  • Initial async-await support (optional install flask[async]), that allows for async route handlers, errorhandlers, before/after request, and teardown functions.

  • Short form route decorators e.g. @app.get, @app.post, etc...

  • Nested blueprints, blueprint.register_blueprint(another_blueprint).

  • Much more! (Please ask)


r/Python • • Feb 16 '21

Discussion 16 bytes of Python code compiles to 32 terabytes of bytecode

Thumbnail
codegolf.stackexchange.com
1.3k Upvotes

r/Python • • Jan 26 '21

News Twitter is opening up its full tweet archive to academic researchers for free

1.3k Upvotes

Opening up a public archive, monthly tweet volume cap is now 10 million (20x higher than previous 500,000). This definitely opens the door for new projects built using the Twitter API, especially in the field of sentiment analysis.

https://www.theverge.com/2021/1/26/22250203/twitter-academic-research-public-tweet-archive-free-access

https://blog.twitter.com/developer/en_us/topics/tips/2021/enabling-the-future-of-academic-research-with-the-twitter-api.html


r/Python • • May 12 '18

A month ago /u/AlSweigart asked for help reviewing his book. I delivered and so did he.

Post image
1.3k Upvotes

r/Python • • May 16 '18

I made this free tool for practicing Python (it's like Duolingo for learning to code)

Thumbnail
edabit.com
1.3k Upvotes

r/Python • • Jun 08 '20

I Made This First python project, it's a bit simple but feeling pretty good about it.

1.3k Upvotes

r/Python • • Apr 14 '20

I Made This I made a randomized binary tree (python, tkinter)

1.3k Upvotes

r/Python • • Nov 03 '21

Discussion I'm sorry r/Python

1.3k Upvotes

Last weekend I made a controversial comment about the use of the global variable. At the time, I was a young foolish absent-minded child with 0 awareness of the ways of Programmers who knew of this power and the threats it posed for decades. Now, I say before you fellow beings that I'm a child no more. I've learnt the arts of Classes and read The Zen, but I'm here to ask for just something more. Please do accept my sincere apologies for I hope that even my backup program corrupts the day I resort to using 'global' ever again. Thank you.


r/Python • • Oct 23 '20

News The youtube-dl GitHub repo has received a DMCA takedown request from the RIAA

Thumbnail
github.com
1.3k Upvotes

r/Python • • Nov 29 '19

I wrote a program to get the high score on a typing practice website

1.3k Upvotes

r/Python • • Sep 14 '19

Rolling Hills (Made with Python Processing)

Thumbnail
gfycat.com
1.3k Upvotes

r/Python • • Oct 02 '22

Intermediate Showcase I wrote a Python script which can generate any city from the real world in Minecraft

1.3k Upvotes

Hi there! Using this Python script, you can generate any city from the real world in Minecraft. I worked on that project for a few months and finally released it as open source. I appreciate any kind of feedback!

Youtube Devlog: https://www.youtube.com/watch?v=5tOvtZG0_6k

Github Repository: https://github.com/louis-e/arnis


r/Python • • Jun 16 '20

Testing I would like to share my first game! I did it all with pygame. I'm still learning so it's not so cool, but I want to improve it in the future: P

1.3k Upvotes

r/Python • • Mar 05 '20

I Made This My attempt at coding a GUI Maker (maybe helpful for beginners)

1.3k Upvotes

r/Python • • Dec 19 '19

A simple tool written in python to make pixel art from images using excel sheets (https://pix-to-xls.now.sh) repo: https://github.com/joelibaceta/pix-to-xls

1.3k Upvotes

r/Python • • Mar 13 '20

I Made This Coronavirus tweet locator real-time

1.3k Upvotes

r/Python • • Nov 14 '17

Senior Python Programmers, what tricks do you want to impart to us young guns?

1.3k Upvotes

Like basic looping, performance improvement, etc.


r/Python • • Jul 03 '20

I Made This I am not good at modelling so I used Blender in a way to visulaize data. This is my first project with Python and Blender. The progress so far. (Link of the repo is in the comments)

Post image
1.3k Upvotes