Hi! I'm already very comfortable with Python basics, and networking basics. ​ I'm looking for courses/books/videos...
Posted by u/trogne in r/Python
1 messages · Page 10 of 1
Hi! I'm already very comfortable with Python basics, and networking basics. ​ I'm looking for courses/books/videos...
Hello! So recently I've gotten into learning Python (3.7) and I've decided to write my own bot that takes post from a sub and...
Hi All, Hopefully don't want to spam too much here, but basically Im the hiring manager and we are expanding our team out...
I understand what does "Everything is an object" means for python, just wondering how is other object oriented language...
I’m having issues installing PIP with a fresh 2.7 install. When I download the get-pip.py script and run it I get the below...
numbers /> even |> fizzbuzz where (number=*, fizz="fizz", buzz="buzz") |> printer The "Pipelines" compiler will...
Hello /r/Python! A little background on myself. I work as a GIS Analyst in the utilities...
I am still learning python but when i first started i installed it on a HDD and would like to move it to an SSD. So is there...
I'm sure developers have seen this comic strip, they also have the GIT princess...
Hey guys. I'm trying to execute commands, and for a few reasons I'd like to rather do them in python, but it doesn't seem to...
Hello, ​ My group in class has project for my python class but my instructor is very unhelpful. He also hasn't...
My CS teacher thinks that you shouldn't know how the code you import works, but is there an extent as to whether or not you...
Hi all, ​ I am importing a large file with multiple tabs and roughly 600,000 rows. My ultimate goal is to extract...
I've been doing Python exercises on Hackerrank for the past week or so after getting into Python. Two to three weeks ago I...
Really beginner Python programmer here.... since I begun learning python back in January, I have been using a PDF of "Learn...
I'm running a Ubuntu with two interfaces, one for internal network and another for external. I have to pass incoming data...
I created an animated, ASCII-art aquarium that runs in the terminal....
Hi, i'm actually pretty new in creating user interfaces for my apps(Normally i use them by console), but i started to want to...
Hello guys, ​ I want to develope an application using Python, and I think that the best option for a GUI is the...
I want to be able to surround the result of the subsitution performed with str.format() with curly braces. Namely, this is...
Hi guys, I need to try to extract keywords or tags from a piece of text and I'd like to see what is out there in terms of...
Just started learning python and i am trying to create a mini calculator program. I want to be able to put a simple math...
A. Create a series of snowball poems that are at least five words long (each word should grow in the number of characters as...
I am doing a hangman project and I need to get a single key press as a guess. I don’t know if I am not searching for the...
Does anyone have experience with django-channels and real-time game experiences? What I’m working on will probably send a...
It has to terminate eventually, and I'm not counting whitespace as characters.
On forums people say they can create django projects, but in jetbrains website they specifically state: ​...
( list of ALL crypto and blockchain projects built mainly on python would be very appreciated if manteined and updated...
I am trying to install Pyrebase, but I keep getting an error that I believe is caused by setup.py for pycryptodome. 'Failed...
Hi all, ​ is Anaconda just a Python distribution that uses cPython or does it bring its own implementation of...
I am trying to make my boyfriend an e-card by sending him the code (He's a computer programmer). I am awful at coding and...
​ https://i.redd.it/9yu17xpjabg21.png this is a simple gui i created to plot graphs with matplotlib i have one...
Hi there, I was trying py2exe on a simple script; if I'm correct, the command I have to use in the console to start building...
Hello there, ​ In these last few months, the idea of writing a book about programming is blazing in my mind. A bit...
Hi, i'm struggling to get a TOTP ([Time-based One-time Password](https://de.wikipedia.org/wiki/Time-based_One-...
https://imgur.com/a/sBpTTwM Hi guys! I last posted my Python project quite long back. It was a project where I looked through...
I am looking to use Python to generate a basic infographic. Something that would essentially look like a single slide in a...
Does anybody have any idea about this?...
Hi, ​ I got an assignment from work, and not sure what libraries/frameworks to use. I want to write a script that...
So I'm new and tried to make something that tells you in which year you will become 100 years old. What is the difference...
I came across this blog post about exceptions, and...
import time DayBool = 0 NightBool = 0 time.sleep(5) DayBool = 1 if DayBool == 1: GM = str(input("Good morning!")) if GM ==...
Hi all! As an AI and machine learning guy I’m often asked how you get into AI coding. So I decided to start up a free...
I have been playing with the python programming language for about a year. I just can't get over the amount and types of web...
So it's 2019 I'm trying to retrieve one line of status text from a URL that starts with https. It works great on Linux and...
​ https://i.redd.it/wucmh6w7vdg21.png Hello guys, ​ I'm trying to generate and APK using Buildozer. I...
I am working on an ai that will follow a certain ideology. Right now in my code I have a bunch of links talking about that...
Hi, Are there any built in functions that replaces a certain element in a list
I was wondering if Hyde has been declared dead or not. The GitHub page seems to be abandoned,...
which one has better branch coverage, which one is faster? (they're both extremely slow though)
I did a code with the turtle import thingy, its super easy to do but just wanted to share it cuz i am proud of it...
I've been learning Python lately and wanted to code a super simple AI/ML program. I do know Java and a few other languages...
I'm messing around with pygame and made a simple game with a player and a couple platforms to jump on. For gravity, each...
What are some good modules or libraries to know for a Systems Admin? I’m thinking basic manipulation, getting IP address,...
How difficult would it be to make an IDE that was more gui focused in terms of commands being passed via the IDE gui? Want to...
I created an airflow project template for those looking to...
does anyone know how to properly install pygame on macOS 10.14.3? any answer is helpful!
I'm researching on some books to maybe read a day, preferably one that helps area independent (like Fluent Python). There is...
Edit an Image using Color Editor by Samuel Muiruri https://link.medium.com/58jiWwrVhU
Hi, everyone! ​ I made a video on how to scrape Ebay.com (a demand research) with Python, BeautifulSoup, Requests...
Will be working on a project soon in which I will need to do this in Python. I have always done spreadsheet optimization...
Is there any possible way to import a video into python.
Can someone look at my project, its pretty much finished and I might update it later? the project is at...
I dowloaded python like 3 days ago, i've been learning since then, i roughfly know the basics of the programm, what should be...
Hi all, I'm currently getting into the swing of things with Python for a machine learning class. I was just curious if anyone...
Hey guys, I'm a huge NBA fan who also loves python, writing and teaching. I'm working on a pandas tutorial using real NBA...
Hello guys I installed kali Linux on my razor and working perfectly only for the keyboard light that needs to be sets, I have...
Hey! Towards the end of last year I spent a bit of time writing an async OOP wrapper for the Spotify API to see what I...
Hello all, my name is Victor! I’m looking to start a discord group chat for beginner-level coders. Encouragement, sharing...
Hey everyone, I am a college undergraduate and have been learning python for six months. I have learnt its fundamentals and...
Hello everyone, I have installed python last week and tried everything i found on google but all in vain. Python shell opens...
Hello everyone ! I'm learning Python and i had the idea to write a small code that generates random youtube links and it...
Hi. I work as junior developer in small private company. Recently my colleagues decided what framework will they use for...
Hello, I'm a Python newbie and Im using it for work. I have pretty big original data in DataFrame (4939200 rows, 26 columns)...
Let's consider this very simple code: async def process_json(rest_url): json = await read_json(rest_url) process_json(json)...
Did Python save the day in any of your projects, make something possible or vastly easier, help you meet a deadline that...
Hi all! I've got an interesting conundrum with a machine at work that I think I can solve with some clever python and a...
I’m fairly new to programming but I work in finance and I’m using python for data analysis a lot. As I’m trying become a...
Talking about Valentines day with my coworkers Me: I don't celebrate Valentines day. My Boss: Why's that? Me: Cause I'm...
Link to source code on Github I've been writing a small python program which...
We needed a Python interpreter that can be shipped everywhere. You won’t believe what happened next! [“When I said I...
Can anyone help me with a simple script to pull FedEx tracking numbers out of a text document? I've looked around but not...
I have decided to make Python my weapon of choice, and as a first real-world project, I have decided to port my personal...
Okay so I'm switching to python, and literally started tearing into the learning curve this morning. I'm gonna go ahead and...
Hi all, ​ I'm a final year computer science student in the UK, currently working on my dissertation project. My...
...considering that I took a class in Java in college (don't remember much of it though). Totally different language I know...
Hi I have a limited selection of laptops available to me to choose from. I'm totally new to python and I'm starting on a...
Ok so i'm taking a udemy course and i'm trying to program this network scanner. And it works fine in Kali Linux, But when I...
Hello. Please look at the following code: >>> a=[1,2,3,4,5] >>> b=a >>> b [1, 2, 3, 4, 5]...
Where the background is black and all the text is white/greyish? Sort of like a terminal. If you have one, please let me know.
How can I auto-populate an input so the user can either hit enter or delete to replace? Say I wanted to ask for a username...
In my program, I want to keep asking a user for negative or positive values using an integer input. However, I want the user...
I'd also appreciate knowing whether you thought those challenges accurately accessed the coding skills you needed to do your...
I have a background in Java, so the IDE (Eclipse) will tell you what a method or constructor requires as you're writing it,...
Hi all, ​ I am trying to loop through a folder of excel documents. Unfortunately these excel documents are wild...
For the uninitiated, Tree Shaking is a concept that has been floating around in the world of NodeJS webdev for about a year...
Hello, I'm trying to install themes for jupyter notebook but no commands work at all. I tried python -m jupyterthemes and...
I wrote a barebones subprocess alternative. It is much faster than the built in library. ​ I'd like some community...
In most programming languages, integers with leading zeros are perfectly valid. However, in Python, expressions like x = 032...
I currently have some python code that I plan on running 24/7. I'm looking for an easy, simple database that I can upload...
https://github.com/ankitsejwal/Lyndor ​ I need to download a load of...
Hello everyone this is my first time here and i would love to learn Python after a series of dropped languages.. So the thing...
Hello everyone this is my first time here and i would love to learn Python after a series of dropped languages.. So the thing...
Hello, I am very new to python and data science in general, so bare with me if I'm being stupid. I have been trying to import...
bank=# \d banks Table "public.banks" Column | Type | Modifiers --------+-----------------------+----------- name | character...
Basically, I'm trying to create a sentiment analysis program that can analyze tweets in order to get a grasp at what people...
I recently decided to continue development of my rogue-like RPG and discovered that the convenient Console module...
​ https://i.redd.it/85pf7leytpg21.png
Hello! I have old project that I want to update. Is an API wrapper for steam. Old Project:...
I applied kmeans clustering to some of the Pollock's paintings. The idea was to track the artist's usage of #colors through...
Not obviously, python is popular for being a good back end code but I was curious how far somebody could strech tkinter or...
This is a sample from a real application I started on a...
Let's say that I want to create a simple app consisting of two parts: * A user interface with the alert() method * A timer...
I am working in a project with SQL Alchemy and I have a transaction like this using a unit of work pattern: with...
I'm trying to solve the classic problem of pulling data from Location A, B, C, etc and normalizing it into MyOwnSchema. I...
I wrote a little guide for using Python to manipulate your file system: **10 Python File System Methods You Should Know -...
Hello! I am attempting to expand a list of random numbers I generated last year (all 8 digits long) to generate an additional...
What strategies do you use to log your ETL scripts? What do you try to capture in your logs? I usually just dump a log file...
I don't know the first thing about using an API. I do some ABS-Scripting at work (Automating the Boring Stuff, hehe) and I...
Can i use the designer in this version?????
Hello, ​ I try to learn web development but not really enjoying it. I plan to study back-end of web development....
I'm starting learning about this and have some questions. Linux (Ubuntu) system is mandatory? Or I can use Window 10 / High...
...and are they ever going to fix it? I'm talking about really basic stuff, like the page on signals and slots:...
I am in the process of creating a CLI similar to Metasploit/Powershell Empire. I have used CMD2 and built part of it with...
Hi, ​ I am a developer for a company. I use PyDev and Anaconda to create simple scripts that connect to a database...
​ https://i.redd.it/0wptu5ps3sg21.png
I have 10 different functions that poll various things and log the results to influxdb. Currently, I am running these with...
I'm trying to use property testing and contracts on simple problems from py.checkio.org. I've...
I frequently see mentions of "notebooks", jupyter in particular but nothing I see tells me what exactly they are or why I'd...
Thanks for any tips and tricks in advance. :)
Hello! Me and a few friends have created a facebook post since 2013 where we just...talk. It is currently at about 380,000...
So, I was asked by a friend about a light weight screen recorder that could be used with little programming knowledge. I put...
It displays trophies/achievements, Puzzle solutions, and safe/locker combinations! :) very good if you are doing a speed run...
Has anyone played the Taiko Master before? I made an autoplayer script, maybe someone interested in it, and make the script...
My first post was only on Rust subreddit and no one suggested me using this wonderful...
Hey guys, I’m in the process of doing a lab assignment in my Python for GIS course and I am getting hung up on 2 parts of...
Hi, so I though of something cool for Reddit. I want to compare real things in real life but in code. Can someone solve this...
And furthermore, why are there an odd amount libraries that only with with 2.7? I'm not complaining or anything, I'm just...
I've taken a ton of web server access logs and they're basically in the format: <datetime> <server access...
PySimpleGUI has taken the leap from the desktop and into the browser. And it can run without having Python installed on the...
Hi all I want something that will run a load of basic Python bits (a telegram bot that checks bus times, an rss reader etc)...
Should I use answer = 0 - var or is answer = -var enough? For those of you familiar with finance: I have the term S from...
Here's my take on Conway's game of life. Let me know what you think! (You can obviously copy the code and run it yourself)...
Exploring Python Basics is a collection of chapters from several different Manning books, blended together to give you a...
Hi guys, ​ Do you know how it is possible to generate many random variables at once (coming from whatever...
Hi, I developed a random chat application with Python, which I named Chit-Chat. After a lot of hard work and dealing with...
Hello, ​ I am trying to learn socket programming and following a few tutorials I now have a socket server running...
So, I have a pretty good amount of base knowledge of python after having taken a course. My current method of learning is to...
Hi guys & girls, so, I am currently in the process of learning python through one or Udemy’s boot camps and I am really...
Call me crazy but I could swear there was a built-in module called Cryptography. I'd type: help("module") into the...
Hi everyone, I would like to share with you all a project which I have been working on this week. It's called the **UFC MMA...
I was reading about Locust this week. Thought of sharing my learnings with the community. Read at...
I wanted to know how to Accelerate my code using Cuda, without any libraries. I understand that python needs an interface to...
Hey guys, just built an asynchronous pusher client for python, since I noticed I wasn't able to find an implementation that...
Hey there! I'm relatively new to Python and programing in general and I'm wondering if there's a site like CodeAcademy for...
Hi, so I'm new to coding, and I heard Python was easy to learn, so I decided to try it. I looked up a tutorial...
Hi Everyone, I am trying to convert Editable PDF(from which text can be copy-pasted) and Non-Editable PDF(from which text...
Dear Redditors, ​ I hope you can give me some guidance. I work for a company in the construction field (garden)...
Was doing an exercise out of the Sams Yourself Python in 24 hours book. It asks to create a single line of code that would...
is there any substitute for in_fp.eof()? from abc import ABC, abstractmethod import os import sys charClass = 0 lexeme = ""...
Recently I've been working on a Twitter bot written in Python and would really appreciate any points for improvement in my...
Hi, I'm currently going through a python book and I have a question. I'm using Python's idle shell and I'm having an issue...
Am i able to code a program to put into my startup folder so when a specific event occurs a animation is played without...
Going to part time work for a few months anyone working on something interesting that needs another dev? I have experience...
Hi everyone, of I want to view a specific image or datasets distribution, how should I go about it? Does simply writing...
I want to learn more about what people have been able to do with Python! Personally, I feel reasonably comfortable with...
Any library or tutorials will be helpful.
Hello everyone, I'm getting data for my deep learning project, since the AI will have to process all the data i left aside...
I haven't been doing python for years. Now a days I've mainly been doing Spring development with Java. However I've recently...
I want to practice solve a problems by python from beginner level to advanced I really confused Hackerrank and Codewars are...
I'm not sure if anyone has experience with this. I'm looking at binary classification using graphs as my source of data....
I am trying Heroku for the first time with a reddit bot, and have found a working buildpack to use for tesseract-ocr but...
I'm not sure if anyone has experience with this. I'm looking at binary classification using graphs as my source of data....
I've been writing a short series of articles about magic functions in IPython. In the previous parts, I've explained how the...
I've tried everything to fix it but I can seem to find the problem is it because I'm on a mac? Help Please This is the error...
So for example i have this list, how can i get 2-digit integers from it like ['22', '25', '26', '23', '52', '55', '56',...
Hello everyone, ​ Does anyone know the answer to this?, Which Statement is False for the following code: aList =...
i have to store continuous data for 1 week for designing Machine learning model.But since i am going to use Amazon RDS,i need...
I am interested in learning more about mining social media. Trying to use tweepy to gather some data and run some stats on,...
Suppose if I had the follow inheritance hierarchy: class Parent: # Implementation left out class Subclass(Parent): #...
When using super() for multiple inheritance, the...
I'm trying to split an integer, but I can't find a way online to do so without first converting it into a string. I've tried...
​ ​ Hello! I am trying to run this GitHub program: [https://github.com/ElectionAuditWare/audit-...
Basically I have been writing notes for everything I learn in python, I want to do tkinter but I'm just finished Turtle and...
As the title says, this made my learning process much faster and I think this will help everybody ranging from beginners to...
Hello, I was wondering if anyone knows of a tool to start / load a python project from a checkpoint? For example lets say I...
In short it allows you to do something like this: from matchlib import matches user = { 'id': 42, 'name': 'John Doe',...
hi folks, can i get some help WHAT I'M TRYING TO DO... I'm looking for a way to take a list of variable length and have a 1%...
Hi, my Python abilities are extremely primitive but, I was wondering if anyone would know how to grab data to input into...
I am currently on the challenge 'Lif Off!' on Grok learning and can't figure out why my while statement isn't working? The...
I've begun using the Blender Game Engine which is compatible with Python, and I want to take advantage of that, but I have no...
Has anyone figured out the best way to fit a lognormal distribution to your data using scipy.lognorm and then plot the data...
Hi all, so I work in a pretty standard office job and I end up spending a fair amount of time going through folders in...
This week's top r/Python posts have arrived!
Just noticed that the code in "Ralph Breaks the Internet" is...
| 1137 upvotes | 99 comments | u/rishirk | r/Python |
A line follower robot my classmade and i made with python for...
| 1059 upvotes | 47 comments | u/Marc_B7 | r/Python |
Here we go
| 1023 upvotes | 197 comments | u/TylerJWhit | r/Python |
We're not that bad
| 789 upvotes | 64 comments | u/ducksucg | r/Python |
Prototype of Python-powered IoT device, gets how many subs...
| 783 upvotes | 57 comments | u/blinka_friendlysnake | r/Python |
Hi everyone! TL;DR: I have this program where it requires me to draw 10 squares in a loop, with different color values each...
Hey Guys, ​ This is the first time I have ever posted on this forum before, I didn't see any similar posts/answers...
**Python is one of the world's most popular, in-demand programming languages. Here, I’ve made an attempt at sharing some of...
Anyone know how to read a pdf in python to grab information from a table in the pdf? Any input would be much appreciated!
I'm trying to render 3d objects to use in an opencv window. I can load an obj model if they do not have any textures, but I...
So I'm trying to get 128 hex numbers from a MCU and seperate them into a numpy array (so I can then graph it with pyqtgraph)....
Sorry for probably more of a philosophical question, but it's one of the things I'm trying to figure out and understand where...
Hi guys, I'm an EE student that applied for QA co-op position involving web development automation using Selenium. I had my...
So, my title may not make sense, so maybe an example will make more since: column 1 | column 2 1.1.1.1 5 1.1.1.1 5 1.1.1.1 7...
I am planning to make a python of interactive sort.Any ideas?I am open for any/all suggestions
For one of my recent projects, needed to have a plugin-architecture, where adding a new feature to existing program would be...
Hey everyone, I've been playing around a bit with ARM servers and seeing how well they compare to x86 options for web...
hey guys , what is a good module or api etc to edit videos in python? my main objetive is to mix a song and a picture, i want...
Hi lovely people of Python. I thought it's awesome how versitle Python is with dynamically loading other python sources and...
Hey, could use some help! I'm doing a fun little challenge (overthewire’s Natas web security challenges) where I have to do...
Hi there - I am fairly experienced with python but have only used it for data analysis/machine learning projects. I was...
Looking for someone that has a good knowlegde in python and a.i. Whom will help me get a task done. The task is to solve a...
Hi There! Work side I am encouraged to use jupyter notebook for data work but I also want to learn to build scrapers and web...
how can i create a gui to upload a file to some directory? ​
I want to make Vector class by subclassing array from array module to partially mimick the numpy interface. I can see that...
Hey, anyone can suggest me a book, which have real life case studies on Data Analysis using Python..
What is the fastest way to a convert an input video to frames? Code will be helpful, if feasible.
I have always loved nested functions, they help to keep the code well-structured and provide natural segmentation of the...
script_1.py and script_2.py both have if __name__ == '__main__'. script_1.py has a variable called list, which...
Pyscripter says that it can't load a python engine but i downloaded python 3.7.2. I've tried adding to my path but it still...
I want to configure hierarchical rules such as - Rules --------------- dimension_1: * dimension_2: * value: val1 dimension_1:...
I am new to the subprocess module. Can anyone suggest how to run an external .exe file and give (control) one by one command...
​ Graph Generated **This script Generates a Csv record file of students...
I recently started learning code (python specifically), and even as I use various apps, including Reddit, I'm already talking...
Hi, I want to create a script to automatically sign up for gym classes that will run on my Ubuntu server. There is no captcha...
I help to lead data science projects at big companies and startups, and one of the questions I get the most is how to keep...
# iterates a half inning of at bats ​ outs = 0 runs = 0 first = 0 second = 0 third = 0 home = 0 import random x =...
Hello I’ve been learning for a year several programming languages. At last I found Python mostly fitted to me. Could you...
Eagle is a simple CLI TODO tool which I hope will help you organize your tasks. Handles one...
Client's request is to take an input from a microsoft word's table, create a table with the input and write it in a document...
Hi, very new to python and grinding my way through a web scraping project I decided to try and tackle. I am trying to get...
Is there a way to customize the button in Plot.ly's headers? I would need to translate the message when hovering over them....
If you're familiar with Perl Poetry, you'll know what I'm talking about. Because of the large number of English words in the...
There's a discussion on the bug tracker about changing the behaviour of the...
So I am trying to work with multiple .py files, how can I make it so I don't have to change the script path every time I want...
Teen crypto billionaire Chris Kelsey explains how Kelsey Coin is completely revolutizing the world's banking system. He...
Wtf, idk why but the random thing is broken, you see it says that random has no attribute "randint" ​ I did this...
Recently, I forked a repository on Github to modify to use with a program I am working on. It is an object based file - I...
I don't understand why would someone use flask? It's just another layer of python over html/css. Am I missing the point? From...
import os os.system('clear') alph = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" number = "1234567890" Grid = [] Bottom = "" #Board def...
I installed Anaconda3 then later on i discovered Python3, is there a difference or am i still good to go? I’m about to start...
Hey guys I'm currently in the beginner stages of Python, and I need your help. (sorry if it is not clean or it can be...
Howdy, got assigned something for school, finished it reasonably quickly but I'm wondering if there's any way to make it...
I recently started getting into Google Cloud Platform, and decided to use google cloud functions to scrape some content from...
One of my first mini projects, pretty happy with how this turned out. Hoping to implement lower case letters, numbers and...
Hello guys, need some help in web scraping I've already wasted few hours on this. soup=''' <h3>first header</h3>...
This post shows how to use the "key" parameter in Python to help get the key associated with the maximum value in a...
Both languages offer something unique to the table. While they have their unique technical differences, they're essentially...
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
I just finished up v0.2.1 of my open-source project ezpq, which wraps around...
Stupid question but I can’t seem to figure it out nor find an answer online. I’m not new to Python but haven’t coded it in...
[1, 2] > [2, 3] False [1, 2] < [2, 3] True [1, 3] < [2, 2] True ​ ​
I mean I know it's programming language. But realistically what are the machines/program that run using python? I'm a...
So I've got a class SomeClass which has method method_x which needs to run in a different process and is call in another...
I am looking to use dash for personal use and the current tutorial ([https://dash.plot.ly/getting-...
I have a template class in C++ that I want to bind/wrap to Python for data science. Potentially open to porting the code as...
Hello there, First of all, I would like to thank this community for all efforts put into helping others. I am currently...
I was working with TCP packets for a project, and decided that an object view with serialization would be nice to have. This...
I have started working on my first project, creating a binary code translator. The main issue I am facing is turning the...
TLDR. I'm attempting to build something that I cant reasonably build based on my current skills, starting off I'm trying to...
hey guys, i don't know if i'm posting this in the right spot, but i'm working on a project for school and I have to build a...
I'm looking for a current process or tool that will decompress / extract / unpack Windows .exe files into the python...
I deal with ip addresses quite a bit and am wondering how best to get a list of CIDRs given the original starting subnet and...
I am trying to come up with a schedule for a league for Magic the Gathering but i am having trouble coming up with how to...
Hello, I am working on creating a bot that can send an email with a question that user types in. The functionality was...
Okay so to start off, I am totally new, expect a car-crash of a script. Yesterday I had an idea for my first project, I had...
Hey folks - I just created a new blog post, please check it out and let me know what you think:...
Right now I'm going through the w3schools coverage of python. I took Java in college so I am fairly familiar with most of the...
For example, I want to make a food-recognition program. So, I want to train a set of images of food (custom images) and then...
How can I take three functions and implement them to a main function and store them in a dictionary and have the dictionary...
Learn about common algorithm concepts in Python and how to solve algorithm challenges you may encounter in an interview:...
Trying to create rock, paper scissors game without import of any kind. Any sort of help would be greatly appreciated!
Honestly mine is IDLE but I'm not even sure that counts. Also I know thats controversial to say in public.
is anyone still into them? its basically all i write, but its fun! curious if anyone actually plays them still, at least if...
Instead of having to explicitly mark async calls with await, they could be awaited by default and another keyword could be...
I was wondering how to get a game to respond to 'fake' keyboard inputs from a python program. I've tried using pynput to...
First message of Guido releasing python was the 20 February 1991 on alt.sources. What would you like to wish for the 28y of...
Hello, I can't understand why my flask python app on a vps with 1GB RAM can't run while on aws t3.nano vps (512MB RAM) it...
hi there , i've just written a very simple python script that creates some folders and subfolders - rename some files and...
Trying to make breakout with pygame atm. Currently stuck on one part. And that is the fact that i cant seem to get the ball...
Hi there, Just your regular newbie here. I started to my school program which will teach me the basics of python. I've been...
Hey guys, Sorry to post a bit off-topic, and apologies in advance if you've seen my thread in another reddit. I'm just trying...
Hi guys, ​ I've been with this problem for a couple of hours and I don't get it. Please help!...
Hi, Everyone I have created rock paper scissor game in python. Currently, I have launched version 1.3 on GitHub. Please...
I built a backwards compatible Py3 script recently that deals with lots of hash() objects and lookups in sets and...
With average computer knowledge and basic knowledge of the language ?
Hey everyone, I recently watched this video: https://youtu.be/r428O_CMcpI And was immediately hooked. I know a few languages...
I was wondering if this is already a thing, a platform where a student signs up with her school name and finds ongoing...
So i made this little kind off alarm whit a PIR sensor an a RPI Zero W and i wanted to share the code to see what you guys...
So i made this little kind off alarm whit a PIR sensor an a RPI Zero W and i wanted to share the code to see what you guys...
Gran curso gratis en desarrollar la habilidad de pensar lógica y secuencialmente, para empezar a desarrollar programas en...
Hey there. ​ I want to be able to control my tv through a Raspberry Pi with an Infrared LED, using Python-LIRC. I...
Hey there guys/girls I was looking towards improving the code I have written as I want to make it easier to read and more...
i have no expierence with coding or anything whatsoever but this would seem like a fun thing to do. where do i start?
Hey guys, I have this code and I was wondering if there was a way to repeat this experiment many times, and retrieve the data...
I have a script that prints a statement with every iteration, but there are thousands of iterations and the console does not...
I’ve always seen posts about AI and how it’s going to be the future of programming, but I really don’t get it. Can anyone...
I am trying to create an ETL micro-service to read data using the cloud provider API's (e.g. aws ec2 describe-instances),...
Has anyone used PyVue or any other JS front end wrapper? What are your thoughts/experiences building a front-end using such...
Hey, I just succesfully wrote an entire program that aborts itself as soon as you start it. I haven't documented it quite...
The place I’m interning has a survey that we send out every year and ask people different questions, and the question I’ll...
Question is self explanatory. I want to create a fullscreen slideshow that scales the photo to cover the entire screen. But...
What is the easiest way to implement a Rest Microservice in Python ? I known Python for traditional scripting but not yet for...
Hey, I’m trying to parse an ini-file with ConfigParser. There’s a specific string I need and it contains a path to a file....
Hello online friends ! I want to edit existing videos by taking out frames at specific places and save them back as videos. I...
Hey, I'm developing a Python Reddit API Wrapper right now, where the user has to log in with his reddit account, how can I...
Hey, I wanted to play around with the RedditAPI and I wondered if it is possible to navigate trough reddit via terminal with...
I am learning Python and trying to find assignments and tasks to challenge myself, now I have found my match. So I found a...
I try to pip install Python library ``atmospheric'' but it shows me **Could not find a version that satisfies the...
Hi all, ​ I know how to insert elements into a binary search tree and make sure that they get sorted during...
Hey all, So I know Python 3 to a relatively advanced level, and I'm looking to build my profile as a programmer. I'm looking...
So, I hate JSON with a passion. Let's get that out of the way. ​ Ok. So. No proper API for me. However, using...
A few people have seemed to find this useful, and I've just finally got on Reddit after years of being contrarian, so I...
Hello I made this. I made YouTube and porn integrations for discord...
My university final year project is Stock Market Prediction using Machine Learning and my final year supervisor had suggested...
What are y'all's power combos for web scaping/data collection?
Hello everyone , I have just started learning Python(since last 4 months), I am a student . I have completed CS50 and also a...
I have been able to login to google calendar via IDLE. For some reason, when running shell, the program doesnt work. (using a...
sorry if this is a stupid question, I can't seem to find them anywhere ​...
Just wondering if any pros out there had any good projects for beginners or websites that helped with learning!
Gran curso en desarrollar la habilidad de pensar lógica y secuencialmente, para empezar a desarrollar programas en Python ....
Hi, there, I have an charging_station.py class which is imported to "district_connections.py" which i can use all my...
I need to be able to point some program or script to a folder of files, and generate a text file with a custom file extension...
Hey guy, ​ I have started my course with python. Very new to python, LOL very new to programming itself. Had...
Does anyone have gift ideas I could ask for my birthday as an aspiring data Scientist who wants to expand his toolset? Books,...
It got almost all the way through, and then, right at the end, said "seg fault." Anyone else had this issue and is there a...
Just a quick post. In my spare time I'm planning to gradually get into and learn more about programming, in particular Python...
I am a senior in high school and a TA for my school's AP Computer Science Principles course. A large group of students cheat,...
Hey guys, ​ Python newb here. ​ I've been working on this problem for about a week and finding it quite...
is there a difference in regex patterns between python’s re.sub(expression) and R’s gsub(expression)? I’m working on...
What would be the best practices to write safe code in python?
I’m starting to get into using Algorithms. Is there a better way to search a uo-list that has 2000 String entries(Names)?I’ve...
I'm packaging a python project with setuptools and want that the execution file gets installed under /usr/local/bin or...
Hi guys, I've been learning python for a while and I think it's time to go for real practice. I want to start a project to...
Assuming you're using Anaconda and you want to install a package that you already have all the prerequisites installed for...
Half of the posts are keyloggers, questionable scrapers, social media bots and auto-clickers, replacement programs for LONG...
Hello I've a text, a plain text I'd like to use a parser in order to get word for sentimental analysis. ​ for...
Hey guys hope someone can help me out, I'm a bit new to python. I'm trying to download 1000 zip files which i have a list of....
In my first attempt to use urwid, I created a simple json beautifying app. I have to say that urwid reference is quite...
I have an assignment that requires us to do the following. Note that this is one function out of 4. My problem here is that I...
I work in big data and write many scripts to extract data, analyze data and create tables in databases. I’ve been following...
I was wondering what are some good python certifications that are recognized by companies and that would also help me...
This has been very frustrating for me. Basicallly I've been trying all the various ways I've read/thought of to pass...
import csv maxval=0 with open("input1.csv", 'r') as input1, open("input2.csv", 'r') as input2, open("outputfile.csv", 'w',...
This week's top r/Python posts have arrived!
You can generate wall paper fractal images with python and...
| 1250 upvotes | 64 comments | u/neozhaoliang | r/Python |
Animated Dijkstra, sidewinder maze, pillow and imageio (xpost...
| 1273 upvotes | 83 comments | u/madducks | r/Python |
My implementation of YOLO - You only look once (ver 2) for...
| 853 upvotes | 106 comments | u/1991viet | r/Python |
Today is python birthday, what do you wish?
First message of Guido releasing python was the 20 February 1991 on alt.sources. What would you like to wish for the 28y of...
| 687 upvotes | 312 comments | u/lerrigatto | r/Python |
y’all are so are so advanced with you project but this is my...
| 484 upvotes | 184 comments | u/BigTastyy6969 | r/Python |
I am working on a data-set using motion data from car sensors( accelerations and angular accelerations) and I am trying to...
I'm looking for something that can create new instances of a python script based off of the available resources on the...
def calc_square(numbers): for n in numbers: print(n2) def calc_cube(numbers): for n in numbers: print(n3) if name ==...
Hi ​ I want to extract likers of a facebook page. ​ I know you can visit...
Hello, I wanted to learn about reddit scrapping using praw, so I made a GUI app using PyQt which will browse a given...
Hello there, ​ First opf all: I am new to posting on Reddit. But after googling my problem as stated below I...
Is it possible to monitor (and possibly catch) signals on behalf of a subprocess in python? I am trying to create a multi...
I much prefer Youtube Music to Google Play Music in terms of playlist quality and general layout and since there is not...
So i am doing a small project for a Project Expo in my college for encryption and decryption of files. The script is working...
The firewall on my work computer is a huge pain point for me. I can barely download anything and I can't even access the...
This topic might be a bit off-topic here, but the micropython-themed subs are dead. Has the project failed or something? Has...
I am trying to save objects in spatialite but I keep encountering this error. According to...
There are lots of answers about gui libraries and more questions, there is a high demand for a easy to use, powerful and open...
I am creating an IoT Python app that takes in accelerometer data from many nodes that all send data after x minutes depending...
Hi, everyone! ​ I made 4 videos on how to make a CoinMarketCap Telegram bot with Python/Flask. The bot takes...
import tweepy import json import csv import re access_token='' access_token_secret='' consumer_key='"...
I’m looking for a book or a PDF, where i can study Python basics
I apologize in advance if my question isn't clear as I don't have a full understanding of how the command-line console works...
I'm making a while loop that will let the user mark assignment marks for each of their 4 modules. But I'm not sure how to get...
I am writing a program that reads sensors on a Beagle Bone Black. The output of those sensors is stored in a sqlite database...
Hello everyone, I am fairly new to using python 2.7.15, I am using PyCharm, when I try to do type(32) for example it doesnt...
Hi everyone, I have a numpy array thats shape [1.5m, 5]. Its a complied list from multiple simulations and every [251, 5]...
I'm setting up a ML classifier and have seen that python is only using a small part of the CPU headroom. A little Googling...
Im at an intermediate level with python i just started using tkinter for GUI but i wonder if you could create your own gui...
Anybody knows about this? Among other things from orator?
I'm trying to run this: https://github.com/ProGamerGov/neural-style-pt I have installed python 3.7, Anaconda and Pytorch,...
There are many python libraries around now. Post your favorite one with reason and let's help each other.
Hi, everyone! I'm in the early stages of developing a sudoku app (yeah, I know) for e-ink Android devices, like the Onyx Boox...
Just published Build Your First Open Source Python Project: A step-by-step guide to a working package. Hopefully you find it...
This may seem like a really dumb question to most of you but I recently picked up Python and I'm really enjoying it, however...
Hello everyone, I am a computer engineering student currently taking classes for c++. I am wanting to learn Python for my...
A little bit o context for ya. I'm trying to write a program that is able to go into a zip file and return all of the names...
So, let's say I have a simple function. pastebin Is there any reason why this gives me a syntax...
This is actually about Code Academy though. Did Codeacademy change its policies? They used to be free, but now I can't seem...
I have this code joint_name = cmds.ls(sl=1)[0] circle_name = cmds.circle(name = joint_name + "_CTL", nr=(1, 0, 0) )...
Is there any way to make a computer ignore user input while a script is running?
I've finished university in EE/CE, and have been developing my python skills as of late. I have a high level understanding of...
Hey guys, We're two friend who met in college and learned Python together, we co-created a package which can provide an...
I know very little python (I have coded in lua and C a little) but I feel like python might be the most beginner friendly way...
I was working on some python data visualization code from a tutorial working with the "seaborn" library: g =...
How to convert python to exe file on ubuntu 18.04
This is one code that I am having quite a hard time understanding: ​ n, bins, patches =...
I have been working on an experimental module TypeNet and am looking for feedback. The...
If not allowed in /python I will remove, also in /learnpython Hi everyone, Im curious to know if anyone lurking around here...
I wanted to try coding with python and watched some tutorials. But for some reason, I just can't get my simple Hello World...
Challenge Make a constant in Python ​ [Supported...
I am looking for the preferred syntax for isolated asyncio code (e.g. embedded in a larger, otherwise sync codebase). Let's...
I am trying to obtain random position values of numbers in a list. However, there are only two types, 0 and 1. How can I...
In this video, I have tried to explain how you can harness the power of AWS Rekognition API...
i am trying to fetch data over serial communication and create substrings from it thus import serial ser =...
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:...
Looking to use python to do the machine learning portion of my AI problem. I have data, I even understand Random Forest...
for work automation i googled and wrote a script to convert all excels in dir to pdf. but only 1st sheet of workbooks are...
I want to create an alert to my phone for when I receive a particular email. The caveat is that I only want to receive it if...
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
Python noob here, this script isn't mine but I am trying to make it work. I have water molecules around a protein and those...
Hey folks; I'm working on a GIS degree and one of the courses for my major is in programming. I emailed the professor and she...
Hey All, [Build a Data Analysis Library from Scratch in Python](https://www.youtube.com/playlist?list=PLVyhfExBT1XDTu-...
I have a list with many duplicate items. I want to remove duplicates but add specified values together to the entry I keep. I...
Fatal error in launcher: Unable to create process using '"' Is the error I am getting. Only 1 person on google also...
Hi everyone, As the title reads, I’m a beginner in python and would like to get some simple starter project ideas to...
I would like to be able to interact with different sessions easily. Right now each different connection is on a different...
Python tutorials for beginners https://hackr.io/tutorial/python-tutorials
This file has worked every time I've run it every day until today. Based on the error, here's what I think is the relevant...
Hello guys i hope this post is welcome here, ive been learning python for a while but am not good enough to make this myself...
Hey guys, I've been working with powershell for two years and I feel really comfortable using it. Lately I've been tasked...
I'm making a program and I get integer input from the user and save it to a file. This is my code below for saving. I get...
The Error keeps saying that Line21 (Not line, It's a variable) is invalid Syntax. Plz help ​ Here's the script:...
Here is some background why I made it. https://medium.com/automation-generation/throwinggoodmoney-manual-trading-with-alpaca-...
Hello guys, I'm just trying to get some data from National ID images ( Arabic letters and numbers) but I'm kinda of confused...
So I'm still somewhat new to Python, though I have experience in C, C++, and PIC assembly programming. I've dabbled in Python...
Hey guys, minimal programming experience here. But wondering if there's a way to create a real time tracker that would grab a...
I tried googling but couldn’t find a definite answer. Thanks!
Hi folks I believe many of you - just like me - use Spotify and their desktop app. It works quite well but I'm missing the...
Scenario: I have two excel reports that have been exported from two different two different pieces of software. Each export...
been doing the code academy course and just cannot understand functions, like what do it put in the brackets and how can i...
Ok so I have created 2 functions one is Def create_numbers() : Import random For number in range (11): Number = random....
Sharing this [blog pos](https://medium.com/quick-code/https-medium-com-quick-code-how-to-learn-coding-in-python-like-a-...
Hello, I'm trying to create a website that can help people with shopping. I've made a list of "features" that I want to make...
I was checking out Greg Egan's site and found it to be fascinating, filled with physics simulations. For example:...
hi, i'm tasked to provide a 45 min presentation next week on the subject: **why should our company invest in Python...
I'm a 28 year old Male, I work in construction, and I've been trying to teach myself python for the last 6-7 months, I've...
Hi, i. have a question about my Macbook. It came with python version 2.x by default. I check the version by writing Python in...
https://github.com/dotpot/Soon comments/issues are welcome
I have to turn these reddit comments into argument diagrams, and have been looking at ways to draw graphs with python, and...
Hello everyone!! I know you all are really expert at python and have done some remarkable work in it!! But i am new to it!! i...
I have an input string and I want to look for the word "orang". But I want to check for that and all the cases of it with...
I am currently working on a system of functions and equations solver, but last week I was working on making the Undertale...
I'm doing an assignment for my python class where we have to calculate the price of a phone bill for multiple customers. At...
Hello, so recently I've been spending a lot of time with Python and Flask. ​ This has been cutting into my use of...
Regular Expressions are a very powerful tool for text processing. But, they can be a bit intimidating for beginners. That's...
class Dog: def bark(self): print("Woof!") tommy=Dog() tommy.bark() ​ compiles correctly whereas the...
I've downloaded and installed ExchangeLib to pull emails from Exchange. My end goal is to be able to pull the email name, who...
although we don't use it directly some of other libraries didn't have the version pegged. the new version didn't pass PEP...
I'm learning python, but from this example code, what is .format(year) ? all_years = [] for year in range(1880,...
I am a non-user. I have basic to minimal knowledge and I need some help in writing code. Hence I will list down every fact I...
Hey guys, I'm looking to scrape some data from a website using Selenium and Beautiful Soup but I can't quite figure out the...
Is there a module that can read the sdtid token so I can input my code and python can generate the key? If not how can I...
New job, will use Excel and will have to create macro. I would like to learn Python for personnal project. Should I skip VBA...
I am starting an online course and I will be learning Python, I have my reservations on how brilliant the course will be and...
Looking to convert 50 lines of Python code to C#. If interested, DM Me. PayPal US.
I’m an new learning in python and would like some help regarding basic level dictionaries. If you can help me out, talking in...
Automation topic is everywhere. And some parts are pretty well covered, I'm sure a lot of parts. I watched few tutorials on...
So I whipped this up in an hour or two. It is the (sort of) popular game, Mancala (Google it if you want). I am a Java...
So, I have a function for listing prime numbers up to i. While being a generator, I'll call this version "strict" since...
say I have 2 notebooks ​ 1) main Machine Learning code, filename is main 2) function code ( i.e data cleaning...
My main language is C#, I'm relearning Python for a possible job soon. In C# every file has to have a class of some sort and...
I need to finish this code. The assignment is to have a user type five integers greater than 1 and then the program should...
Do they all do different things? Do they work together to automate more complex really? Or are they all very similar just...
I'm planning on using stub files to be able to parse out the docstrings of C extensions, but all of the reading I've done on...
Python is a general purpose programming language. Hence, you can use the programming language for developing both desktop and...
Does anyone know of a Python package that will allow me to open an existing Excel file, make a few small changes, and save it...
>Write a program that repeatedly prompts a user for integer numbers until the user enters 'done'. Once 'done' is entered,...
I've read that python is one of the better languages to start with, therefore I'm looking for a decent beginner course...
I'm looking for how they handle query recursive comments without n+1 querying. I'm wondering if it's in this repository?...
Hey everyone! Lately, I've been working on my first Python module - rrsg, which stands for Readable Random String Generation...
In this post I don't to be somehow rude, and if it sounds like this - it is just because English is my first language....
Hello, i am new to python and our teacher asked us to make a project with client server. I see online both Python and Python3...
Top Level comments must be Job Opportunities. Please include Location or any other Requirements in your comment....
So, im on day 1 at learning python. im working in Visual Studio Code. I followed some basic instructions and added this task...
Yesterday I read an article: [Why Numba and Cython are not substitutes for Julia](http://www.stochasticlifestyle.com/why-...
hello guys, I got 2 item selected and i want to script that it change the names of the two item with the same number at the...
Hello guys, I'm starting with Python and would like to make a project to know when each device is connected to my house wifi....
I'm trying to scrape coinmarketcap.com just to get an update of a certain currency price, also...
Which of the methods of the Python/DatFrame object API do you think are most useful for data cleaning and transformation...
I’m trying to write a password script that allows the user to choose how many passwords they want and how long they need to...
I'm focusing on asyncio and starting to use it in personal web projects. I'm trying to pick one of each and sticking to it,...
https://github.com/sdushantha/vsco-dl The instructions say: # clone the repo $ git clone https://github.com/sdushantha/vsco-...
I'm trying to use the re module in Cython in a fully standalone program, but the resulting exec tries to import re from the...
I just started learning Python 2 days ago with a book I found online. I just created a simple program that takes account of...
Newbie Alert! ​ I was doing a competition's challenge activity and got stuck. (I am out of the competition as...
Hi all, I'm making a program and in it I am removing a element (couple in my program) from an array. However, all the program...
I'm sure this is rly important module but can someone tell me some real world implementations of that, that might encourage...
I'm relatively new to python. Have two questions... I'm copying folders with +1000 files to a new destination and I want to...
Hi guys, for my physics lab at uni we are required to make a simulation of a double pendulum using python. I found some code...
​ Challenge * Create a String * test if the String is a number >> isdigit() * test if the String is a...
I have trouble falling asleep because of racing thoughts. I started going to sleep with a relaxing/distracting playlist...
Yep, another asyncIO library. Being serious I was playing around with my own web framework a needed a test client. Looking...
Hi everyone! I started learning Python a few weeks ago; first through reading on MOOC-like site, but I couldn't clearly...
Hey guys. i'm writing a plugin for After Effects which requires rigorous coding. Now, I'm not above assigning variables by...
I am very new to Python, so I am sure it is something that I am doing wrong. First, I import the Excel data into a dataframe,...
I'm used to call python from bash with something like << python -c "print 'hello world"' >> for things like...
I'm doing a madlib style program, and I'm honestly not sure how to replace hyphens with whitespace. The program will pull the...
I'm looking for a good book to help develop my skills even further/use as a reference. Would prefer something that isn't for...
I'm practicing Python (as I haven't for 3 days), and from memory I can remember a few things from the input side of Python....
Hey im trying to figure out a way for my python code to make 100 folders all named with numbers ex.(1, 2, 3, .... 100) And I...
guys, rn i'm using the atbs as a learning course, but since chapter 10 and above the course more focus on data scrape,...
Hi, ​ There's any framework like Frappe [ https://frappe.io/frappe ], in...
I am doing a project where I take Raspberry Pi sensor data and will send it to an SQL database to be displayed on a web page....
I end up writing a fair amount of file system manipulation utilities, but despite having read about and used pathlib a couple...
I am trying to host data on my user’s local machines and access it from the web application running on our server. The web...
I am trying to host data on my user’s local machines and access it from the web application running on our server. The web...
Apologies for not understanding more/better about the process with which these things get rolled into Python. [PEP...
So, a bit of background here. I run a WordPress site for a small church. However, I've recently decided that I've had enough...
I was working in a notebook when suddenly my code started bugging out on a line it had ran fine 5x within the hour. Decided...
Hello! In any given day I have an absolute start and end time with other start and end times in the day for specific events....
I use windows and have been using anaconda terminal to run my codes. Recently ,while training deep neural networks I have...
Everybody told you that " to improve your python skill you need to practice" but you do not always have your laptop with you....
​ [Other people have python as black, with numbers at the side and it looks a lot better. My version, doesnt...
from turtle import * def maketriangle(deg,size) : right(deg) i = 0 while i < 3: forward(size) right(120) i=i+1 x = 61...
Hello everyone! I am a software developer from Italy and I recently started a New YouTube Channel where I mainly talk about...
After I started to learn Javascript, I saw some cool stuff and checked if there were any such things in Python, and the...
Hello everyone! I am a software developer from Italy and I recently started a New YouTube Channel where I mainly talk...
I've dabbled with e-commerce websites, basic web apps, and games. I always feel as if I'm forcing myself to finish the...
Hi, does anyone knows how I can make a program that by clicking on a button on my keyboard, make the mouse not moveable. And...
Working on a project that deals in part with random text generation. One feature I wanted to use was within this random text...
Hi all! When learning languages, a lot of people struggle with numbers. Working with numbers and doing simple maths in a...
Hey, I've been working on this website which looks at Twitch live streams, analyzes them and then finds interesting parts....
Hi there! I have been researching how to create a function where the user inputs 3 or 4 different letters and then Python...
PyPI Downloads by Python Version https://i.redd.it/r08h44kcrkj21.png The absolute numbers should be taken with big grain of...
I have this; List = [] while true: num = str(input(‘the number is : ‘) if num in list: print(‘yes it is’) else: pass...
I’m looking for some design inspiration / best practices for developing a PyQT app.
I've gotten to the building a dataset part,...
So, I saw a while ago somebody posted a thread asking for ways that people have used python to automate their lives or just...
I discovered that neither project has merged a PR in roughly a month. Meanwhile, PR's and Issues are coming in much faster...
I have been using python quite frequently for the past six months for almost exclusively data science. I have always had a...
Specifically for me, I don't want the `(base)` to be appended before each line if my current environment is the default...
Link Simple u ----- First python script to get the hang of python, crazy how extensive...
Hi guys. I searched a lot for simulate mouse clicks and movement for directx games. I found a good sources about keypressing...
As a The Office fan, mine would be __mifflin__ ​ What's yours? And why?
Hey everyone- I need a hand. I’m working on a project in pygame, but my question is more about basic python best practices....
**Note: Requires pyaudio module for microphone input. [It can be installed...
I've typed this code for fun (im pretty new to python): ## Shoes name: Black Panther ## Id : 1234567 ## Price : $50 ##...
sample code ``` parser = argparse.ArgumentParser("Enter a string to check for palindrome") parser.add_argument("input...
num = 0 xander = False while xander == False: num = num+1 print(num) if num == 5: xander = True I would think the following...
I am making a menu program that has multiple recipes in a nested dictionaries and I need to multiply the ingredients by the...
multiprocessing.shared_memory...
I'm the newbie learning Python. When I wanted to change my color scheme to Dracular, I go to Dracular homepage and so I found...
Just wanted to share with you guys, maybe someone will find it useful. It's not that special but idk, felt like an...
Hi! I'm new in the community. It's pain in the ass to type/copy and paste directories each time I import a package. How do I...
Hi everyone. I was asked at work to create a “HUD” using python that would essentially be a command line app on a RHEL7...
Hello dear python community, My personnal projects involve intensive python calculations, so i would be interested in...
I recently finished learning python and have been coding a lot in it lately. I wanted to do some machine learning and was...
Hi, I am not sure whether this is a proper way to get the attention of anyone at python.org, but let's...
I am interested in learning python so I was hoping that someone could suggest me some material so that I can learn it without...
I’m very new to python and in pycharm when I try to edit code within a line, what I type gets written over the line and I end...
I just started getting more into Python. I have been using Notepad++ and cmd for all my py files so far. I am looking for a...
Any ideas how I could do so that I always have the last 24 hours of video available? If I record over 24 hours I will run out...
I subscribe to the Dan Bader newsletter, and from time to time the newsletter contains useful Python code snippets. Today's...
I know literally nothing about Python, what are the best ressources for beginners ?
Title pretty much (not counting the initial def line obviously) since you can use recursive calls for loops, ternary...
I have learned Python for about 4 months and would say I know it quite good but I have no idea on how to creat a trading bot....
Hi, I am creating a game, the 15 puzzle. Here is the code https://pastebin.com/WE60px1q ....
I have a test with a UK based major bank and didn’t know I needed to code when I applied. I have some experience with MATLAB,...
Hey guys, I'm right at the end of developing a code I need to do for a theoretical project at uni but I'm having issues with...
Im a beginner and has never coded in my life. I decode today that i want to use python and learn to code but i know NOTHING...
Hi all, I'm building a new web app whilst following the (excellent) course on Flask web apps by Nick Janetakis. I'm following...
I'm new to python and I'm trying to work on a webscraping project using the pyautogui module. I created a path to where I've...
hey all so i'm very new to python and programming in general and i'm working on a very simple code that is confounding me,...
If you could show someone (your age) about 10 lines of code as a way to convince them to give it a go, what 10ish lines would...
I am starting a python study group for beginners using the modern python 3 Bootcamp by Colt Steal. If anyone is interested to...
Hello All, ​ I am working on a homework and little bit stuck. I appreciate any help or direction. What I need to...
I am trying to build a simple proxy server in Python that serves as the middle person that monitors and retrieves all the...
I use Python 3.7.2 64 bit and I'm writing a command prompt to set my volume to max/100% but i cant figure it out, ive gone on...
Can anybody tell me good videos for fundamental learning of python.
I'm hoping to build a simple video game using Python, its for a class project. I've looked a little into PyGame and Arcade...
So I'm trying to scrape a webpage that post live sport commentaries. It's mostly rendered in JavaScript so the usual requests...
So, I've been working on a couple interactive python scripts that don't need a TON of functionality, but I've been trying to...
I have been learning python for a fairly long time now, but have only recently switched over to PyCharm from repl.it. I would...
Hello guys. I have no python experience. But i need help on how to parse multiple emails and assign them to the database...
Just trying to do a bit of a cleanup. I am using MacOs 10.13, with Python 2 and 3 installed. I think somewhere along my...
I wanted to share with the community an open source python package I had been developing since November. It is called...
Haven't used python or programmed in awhile. I use a virtual network so that I can stream netflix with a VPN to my tv. To do...
I think this is a common problem for developers who like to create great CLI applications. How do you make it usable by your...
This week's top r/Python posts have arrived!
I just finished a 48 hour game jam using Python and Pygame!...
| 1572 upvotes | 123 comments | u/DaFluffyPotato | r/Python |
First time coding anything other than HTML on my first day at...
| 811 upvotes | 189 comments | u/Enjgine | r/Python |
Turtle twiddling. For those of you who asked :D
| 788 upvotes | 33 comments | u/Unknown_Abyss | r/Python |
I was playing with turtle and made this
| 609 upvotes | 45 comments | u/zombie_neo | r/Python |
Useful Python tricks
So, I saw a while ago somebody posted a thread asking for ways that people have used python to automate their lives or just...
| 400 upvotes | 226 comments | u/Killerjayko | r/Python |
I am new to python(student) I want to make the turtle move if i type Either W,A,S,D The turtle shell crashes everytime i try...
1- could we say that "faster_rcnn_inception_v2_pets.config" is a pretraind model? 2- And can we use above model for our...
I've been working on a web app that can allow you to edit images using colors for example color a black and white image using...
iFlame Institute leading Python training institute in Ahmedabad. Provides Python Project Training, Python Developer Course,...
I have some binary files which themselves contain a bunch of smaller files concatenated together, very similar to a tar file....
I recently came across Clojure's Ring framework and I really liked the abstraction which it presented, which is essentially...
I’m about to take the leap on a 6 month course with Python. What is hard about it? I never coded and my language is 0.
i want to start learning python where is the best place where i can learn like a video or interactive website?
Just doing a quick 1-2 hour stream. Turned on twitch recording this time around in case you want to come back to it later....
Is there a way to install Python and allow for the installation of modules when needed by my students on school machines that...
Hello r/Python! I wanted to share that my beta version of my full stack web development book is now live. You can check it...
I know this is probably a really dumb question but I am not sure why this wouldn't work . ​ `if s.StartMode !=...
Hello today I saw a video where a dude made a syntax mistake in idle (python). Then he started the program and the normal...
Hi people, I'm an avid reader and I wanted to build some very small system to manage my readings and the notes that I found...
There is a interesting question in the Python community about standartizing API that exports and accepts fast functions so...
I have a document with a list of words. I am trying to add numbers 000-999 to each of the words in the list, how would I go...
Hello, ​ So Programming Noob hier with no programming experience. I work in an engineering company where we run...
Hi Guys, ​ Can someone tell me if it is possible to get a overview of all rights on folders within a SharePoint...
Programming noob here. Just recently introduced to Python. Can anyone help me code a refined program for Matrix Transposition...
i have aPython code to remove files in a directory and replase it withits self it is currently coded to only affect the fiels...
Sometimes i want to clean up all /./ /../ and // from a path without touching any symlinks. I know that the file at...
Hi Guys, I have already created a really simple python application for my personal use under Windows (it is a command line...
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
So I imported a JSON file of a city's roads, and it is stored in a GeoDataframe, but for the purposes of my project, I need...
What about coursera? Any feedback about their course? Thank you in advance.
“Replacing Excel with Python” by Ankit Gandhi https://link.medium.com/zexZzX8nOU
While I was looking for a solution to rotate a vector by an euler angle with 2 lines of code instead of implementing it...
Recently I created Chronos, a online meeting and event scheduling platform, written...
Link: https://github.com/Mckinsey666/bullet Hey reddit! This is a package I wrote to...
Simulation software have important role in research and development of technology because simulation of a process provide...
I'm trying to build a blockchain cryptocurrency in python3 (for fun). I want to create a wallet/user system, however, I can't...
I am wondering how I could get the DNS from the IP of a website. For example how I could get...
I'm currently working on a project where I'm taking measurements from uncalibrated stereo images using openCV, then deforming...
I can't get python to run the scripts. nothing happens. I want to make a kindle dictionary from the naver KOREAN-japanese...
data = pd.read_excel(r"filename.xlsx",skiprows=x+1,nrows=x+1,usecols="x") I want to create a loop where skiprows and...
Hi all, I wrote simple program to download web pages using multi threading. I am new in python and I would greatly appreciate...
Hi all, Trying to install a package using Conda. I believe Conda is not working correctly, since it seems to think the...
I'm using Python 3 and have an ipdb.set_trace() statement in my code that gives me an ipdb> prompt. How can I set a...
Using pelican - a python static site generator, your marketing team can now enjoy all the benefits of a static site and...
First of all i dont know if this is the right subreddit for this so sorry if its wrong ​ If a person would want to...
I am sorry for probably asking a noob question but I couldn't find any answer. Without CUDA code worked perfectly but now i...
Tutorial link: [https://tutorials.datasciencedojo.com/python-tutorial-beautiful-...
I've been learning Python over the past few months and finally produced an app aimed at solving an issue I personally faced:...
Fellow Redditors, ​ We (the Internet) needs to Write a Python Book this book needs to be Open Source and available...
I believe that the bluetooth socket family is only supported in Linux; there is a comment on the documentation mentioning how...
I've had experience with C++ in the classroom. The farthest I completed was data structures like trees, linked lists, graphs,...
What are your thoughts on this indent style? Basically, the opening bracket stays on the same line as the statement it...
has anyone made a 3d game in python with online functionality
In my server code, i'm using select to monitor the default, server and client file descriptors. When a connected client...
I got bored at work and made this. I had the idea to scrape all new images from...
Hi, I am new to Python Programming Language. Please point me to tutorials or documentation to start learning Python. Thanks...
Hey, so I am following a Python Tutorial for 'The Foundry's Nuke', the Tutorial is older and uses PySide, whereas I have to...
Hi fellow python lovers, today in class we spoke about the fact that python has become way more popular those past few years,...
Hello there budding pythonistas! I am very new to programming and am currently trying to dabble with python as it is a...
Hi guys, ​ I am looking for a free 3D modelling software which will work with python. I am completely new to both...
Okay so i'm a complete noob guys. First year of IT and one of the courses we need to do jython for "intro to programming"....
I'm looking for a tool or api that can be called via a phyton function that tells me if a string is found in the desktop...
give me some advice for me i'm just beginner
Hey guys, I'm looking for a supervisor that will take care of dynamically created/started/stopped/destroyed python script...
Hey guys, ​ I was following this guide [https://developer.mozilla.org/en-US/docs/Learn/Server-...
The way I thought multiprocess works was that it allows you to do something like this from multiprocessing import Process def...
I'm looking into converting to aiohttp but in flask there is @app.before_request and @app.after_request that get called...
This is my first Putin class and I am stuck on this question that has been assigned. Not sure how to do the calculation after...
so i wanna make this calculator based on a josephus circle. it basically works a follows: a X amount of people stand in a...
​ notinlist.py output As Crowdfire and ManageFlitter don't work anymore for...
I have a simple function which is ugly by the way. I want to create a web page that takes an input and uses that to return my...
Hello Guys, I need to make script whitch have to work correctly witch who.is website i used library "whois" dedicate for...
Hey /r/python, I've just started a project in Python for the first time in a few years; it's really fun, I forgot how much I...
I have a list of words, and I want to know which letter occurs in the most. I don't however want to double count letters that...
I'm a bit confused here guys. I have this idea for an IOT device, kinda like ring doorbell or Nest. Something that will be...
I recently had a idea of a new type of encryption. It's called password image encryption(I suck with names). what it does is...
I'm coming to realize I got a lot of stuff for free with PowerShell, and I'm not sure whether that's a good or bad thing as...
I'm struggling to get pip working. I always get this error: Could not install packages due to an EnvironmentError: [WinError...
I'm struggling to get pip working. I always get this error: Could not install packages due to an EnvironmentError: [WinError...
Maybe this is not the right place to post this, and if thats the case plx forgive me. I am trying to use python (installed...
I’ve started learning Django recently, and i was really interested by the databases involved, so I’d like to dig deeper on...
Hi all, I have a React Native based app that uses an Expo link. I've written a python script that performs some image...
Woooo! https://pastebin.com/ASmeZhRm It's just a small script that tells me how much tea I need to buy for the month based on...
Hey guys, PLC programmer here who is currently struggling with the most basic of Python tasks. I know this is a veryyy simple...
I'm a data scientist who primarily works in python. I usually write final production grade code in python + pandas. However,...
AList = [1,2,3,4,5] new_list = [x+10 for x in AList] ​ I'm trying to add 10 to each value in my original...
Hello everybody, so i am almost finished with school and will have a lot of free time till i actually start working, so i...
its not there by default