Hi guys , I'm doing a project were I needed the simplified expression of a complex Boolean expression. I'm using a tool...
Posted by u/Quenza in r/Python
1 messages · Page 5 of 1
Hi guys , I'm doing a project were I needed the simplified expression of a complex Boolean expression. I'm using a tool...
Hello I am running Atom Python on Windows. Does anyone know how I can see what this OUTPUT_PATH variable is set to and how I...
Hello, I am trying to add a set into a map. So each map key will be an x variable and the value will be a pair set. I have...
Hi! I am newbie to python, used to code in matlab/octave for 2 years, switched to python because of open sourse and stuff. I...
Hello, I was wondering if someone might be able to help with an issue I'm having when pulling data from a website. I am a...
Hi Everyone! Thanks in advance! Here is the last question on my assignment and It's way too advanced compared to the rest so...
Hi, I'm looking for advice on the easiest way to construct an app or site that would collect answers from questions (or a...
Below is the code I have written and below that some sample data. What I am attempting to do here is split up the 3rd element...
Ive made a discord bot, i created a support server that also have some programming support channels, join...
Hi, I have about 15 years of experience with MATLAB, but only somewhat with Python. I used Python for building websites,...
I finally got my OpenCV code working! It's the first time I've hooked up OpenCV to a webcam. I've seen a number of posts...
I've written a server with twisted to use in a mobile application and it works great when I use an IPv4 network....
Recently I have got strong interest in animation engines after watching '3Blue1Brown' videos. I am thinking about building an...
I apologize in advance as I'm a noob to Python but I plan to keep learning even though sometimes I feel more lost than when I...
i finally am going to start a project and right now im just theorizing what i eventually want my program to do so basically...
I just downloaded python 3.7.0 for windows, which is supposed to have pip per-installed. However, whenever I try to access...
Hi, My girlfriend asked me is there a way she could find out when her University grade is updated, so I thought I could try...
I can't find any news on Jython 2.7 supporting JDK11. Are there plans for supporting it?
How to force YAPF to always split/fold comprehensions like with SPLIT_COMPLEX_COMPREHENSION when column_limit is exceeded?...
First off... I'm a total newb sorry for not explaining this as well as i want to. I have a function running that basically...
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
I am currently struggling with a script for a class that involves calculating file transfer speeds. The prompt is as follows,...
Hi all I am a semi newbie bordering on intermediate. I have written some applications, mostly using selenium which is a very...
I am looking for a fake data generator with support for foreign keys. Any suggestions? I've looked at faker and mimesis but...
So I have been wanting to study new web technologies and the challenge is to build a web/desktop/mobile(native) application...
Not a python expert, but I was wondering if this is normal. Say... class SomeMixin: def func1(self): raise...
Hi folks, I am almost a complete beginner in Python, I've played around with data analysis, but nothing fancy. At my work, I...
I have a subtitle file and for some reason it exported the timestamps in the format: 00:00:00:00,000 Instead of the valid...
I have been struggling for a good week now, through various stages of documentation, to find how the "from_networkx" function...
https://github.com/luketimothyjones/pynetcheck Just moved into an apartment and wanted to make sure my ISP wasn't screwing me...
So I'm trying to connect to my server which...
Hey guys I’m semi new to python, I’ve done some basic stuff such as hang man, number guessing games, password creators and...
So the project I'm fresh to working on is a python music streamer that should identify songs installed on your computer, be...
This is a quite trivial project I made just because I was wasting my time playing Minesweeper and started wondering how it...
Hello, iam using Python + Flask. Iam trying to print some html and also serve a file to the user. My code is: pdata = pdata +...
Hey guys, I am looking to build simple GUI for my script (could be HTML). Basically it will need to pass some user's inputted...
Education ## NEW PRIVATE Data Science STUDY GROUP! First online meet up is Monday Oct 15, 2018* 📷 Hi! We have created...
Hi! ​ PyXLL embeds Python in Excel, allowing you to write user defined functions and macros, customise the Excel...
I don't know if this a good place to ask or there is a better sub Reddit for this. I am attempting to write a script that...
Dear r/Python, ​ I'm Carmine, a researcher at the University of Zurich. Are you adopting a static analysis tool...
Hello community, I want to develop a python script in order to take a config file as a parameter (I am currently using JSON...
Hey everyone. I'm trying to write a basic script that uses Selenium to take a full-page screenshot of a web page. I've been...
The company: www.machinemax.com Start up using IoT and ML techniques to maximise efficiencies in the construction industry,...
Does such an API exist? ​ It should literally encode - Name,Size (Possibly a vector), datatype and the actual data...
cppyy is a great looking package with a lot of promise. ​ I can install it via pip quite easily, however it does...
Hello people, I have a problem I cannot seem to solve by myself. I have an with the following dimensions (5D-array): x.shape...
Ive been using https://github.com/ambv/black for a few months and love it, wondering if...
I love python for its syntax, but honestly I don't really care about much else. I've read about pyston and pypy, and pyston...
Hey guys! So I am currently doing my first project in python with a Raspberry Pi 3. I have a bit of knowledge in C# but...
I'm a beginner at this so I'm not that great with terminology and stuff like that so pls explain it in layman terms.
Hi everyone, i'm having trouble with this funtion, i keep getting a keyerror(13) and i can't figure out why. My script is in...
anyone knows of an example how i can get a falcon rest api working through IIS ? i cant figure out how my webconfig or the...
A couple of artists in my animation department at work want to pick up some programming skills and I'm pointing them towards...
I seen a post that's been archived, although it didn't really address the question I'm raising. I'd like to know if it's...
Hi ! I'm really new to Python. My job has this project, which I will not do in Python, but I'm curious about how much time...
Trying to build a application that would all you to do crud operations from a UI (using flask, sql-alchemy, jinja templates)...
Say if I have a project that requires lib A, B and C, and I want to use github to sync the project between different...
My employer offers courses through Lynda.com, and I am currently planning to begin Python within a month. I am curious if...
Hi everyone, While porting a code base to Python 3, I knew I would get TypeError comparisons since there are various places...
Top 3 trends - [https://www.greatlearning.in/gl4l-library/artificial-intelligence-in-healthcare-and-...
Hi guys. Is it possible to train the model in python and then implement it in android using java?
For example, do you usually do some sort of login frequently? Maybe mass filling inputs? Downloading images? ​ Any...
Boolean, Boolean, Boolean, Boooooolllleeeaaannnn
Hello. Help me please. I do not know how to search for this so i'll ask here. I accidentally opened and saved like 3 day old...
Hey there, ​ currently, I am developing a small side project, an application which should connect to one out of...
Hi my fellow programmers, I'm really new to python (using it for a school project). I have some experience with java and...
I found the site full of data for data science but the is no guideline for the problem. We can read full documents of white...
The goal of this library was to remove a lot of the boilerplate code that comes with starting a selenium project. There are a...
It’s common when first learning pandas to have trouble remembering all the functions and methods that you need, and it's nice...
I am making a simple astrology program that allows user to interact with the program with basic “if” statements. I am having...
I have more than 20 scripts that run 24/7 and I would like to monitor them from central place (in case something went wrong)....
I am working on a hobby project developing a GAN to recognise and draw cats. I have linux mint, and an anaconda environment...
... besides the obvious choice of Pandas.
I am just setting up my new MacBook and trying to configure a custom theme, on most websites it says that you should place...
Extensive typing makes the code hard to read. I therefore want to keep my code in file.py, with my annotations in...
Hi! I've just started using Google APIs in Python and was writing a simple program to read the "json" text from a Google API...
Hi the reddit Python community, I am just a beginner in Python and I am studying the "Automating the boring stuff with...
Hi, I'm working on a project that uses java to run calculations and fetch data, but python would be the obvious choice to do...
from Bio import SeqIO for record in SeqIO.parse("HD100sequence.gb", "genbank"): ​ for...
What would be a good way to start learning Python? Are there online classes (free) or books I can refer to that y’all would...
I'm trying to move from coding hacky messes to modular stuff where each thing does one job. Is passing 'too many' parameters...
Hi guys Im new to Python Im working on a project to integrate platforms / websites via restful (data sync etc..) Im wondering...
I built a Python script which receives data from a websocket and prints it constantly. My goal is to have this output printed...
Hey Everyone! I am attempting to fully and legitimately learn the python programming language. I have had a bit of experience...
pipx lets you run binaries from PyPI, git urls, and regular urls with pipx BINARY It...
I want to learn Python, but I have no idea how to do this. Would anyone recommend some tools or a good way to learn python?...
#I am getting an indentation error on line 10 of this where the area formula is option = raw_input("Which shape would you...
Hello all, I'm writing a program using PySide (Not PySide2) for a school project. The program runs fine at school on Ubuntu...
TwitchIO is an OS asynchronous API/IRC/PubSub/Webhook wrapper for Twitch (made in Python obviously). Check it out and be sure...
I’m getting into learning a programming language and decided to take up python. As I was reading around I saw PyPy, PyCharm...
I am looking for python book that focuses on core language itself rather than libraries and covers every nitty-gritty details...
Facing problem in extracting tabular data from PDFs? Check out our open source project, Camelot, a Python library and...
I have not been able to figure out how to install robbie barratt's rapping neural network...
I want to use this script Urlwatch ( https://github.com/thp/urlwatch ) I know nothing about Python, I have downloaded Python...
I'm putting together a python script to make trades on poloniex with the API, and so far I've got it to make trades when...
My code is as follows if num in list or num < list[index]: However I wish to check if num is less than anything in that...
I really like how bpython tries to complete and give information as I type (please see screenshots below), but I also like...
Good time of day, Redditors! I want to show you my first project. It's a BigTextGenerator program. ​...
Does anyone know what I should use for OCR on pythonista? I couldn’t figure out how to get tesseract to work
Hello everybody. I'm learning python and I mainly like using codewars. I always look at other people's solutions and while...
Hi All, I would like to learn Python and I have no prior programming experience,Please suggest learning resources, starting...
I am using Jinja2 to create a markdown file and I have the following code to create a bullet list of users. {%- for username...
I really loathe seeing __pycache__ directories when using ls/tree/etc. and wondered if there is a legitimate reason...
I was given this project for an Operating systems class and my teacher basically wants us to simulate process scheduling in a...
train_test_split was transferred from sklearn.cross_validation to model_selection in scikit-learn 0.18.0, however, my...
I created a GUI that will be used to show the AI training progress of chess games. It's written in Python using the...
Hello World!!! i just create a script which test a device using ICMP(ping). If the host is down, it send a SMS to my phone...
I have a script that logs events to a database, I have already calculated each occurrence and I want to graph it so we can...
hello people i decided to start learning how to code and i want to learn python .plz tell me the resources and ways to do so...
So for class I had to write a program that rolls a dice and counts how many times until it gets the highest value For fun I...
hello, Maybe it's a simple question and I just can't google my answer because of my lack of english language vocabulary but I...
Would glob on an infinite loop with no delay be risky on a disk drive? (Do the disks spin each time it looks for new files?)
Hi, I've created a new Framework called 'Tensorop', it's is early alpha. https://github.com/prajjwal1/tensorop The main...
Noob question. I've got a list of url strings. I need to filter out the results based on: 1) The url shouldn't start with a...
Hi, I am trying to create command line API for a payment service ( something like PayPal) for my personal use. I do not have...
Is it just plain interest/hard work or they learn/apply things differently? Or they are just simply smarter than us? Are...
Is there any examples online
We are building the strictest (and the most opinionated_ python linter ever! We have just released the second version of...
This week's top r/Python posts have arrived!
Neat 'Python cheat sheet for Data Science' for beginners.
| 851 upvotes | 48 comments | u/AnecD | r/Python |
Looking for educational images
| 813 upvotes | 60 comments | u/clone290595 | r/Python |
Python crashed my computer (shitpost)
| 795 upvotes | 73 comments | u/benzimm86 | r/Python |
I wrote a script that finds the shortest path between...
| 615 upvotes | 66 comments | u/connerlanestein | r/Python |
Could Python’s Popularity Outperform JavaScript in the Next...
| 371 upvotes | 163 comments | u/KiranKiller | r/Python |
I have a good hold on Python Basics. But I am not able exercise my skills enough to gain that confidence. So if you could...
https://dpaste.de/k9ar https://imgur.com/a/x804SmA For this assignment i'm trying to separate shapes into different lists...
Hey guys, I've exported very big group chat on which I'd like to test my Python skills. But first I need to get the data to...
multiple servers online with already existing python scripts, needs to be tweaked a bit. and NOT get scammed. ​...
When I see lists of top python modules it will come up with things like web scrapers and django, sure those can be...
Evening /r/Python The reason for this post is because i am having trouble checking my Python version using the command...
i'm a little overwhelmed of the amount of different version available. i would like to know if i should go for a 32 bit...
I wrote this code for my homework: def find_all_modes(L): mode = {} modeCount = 1 for i in range(1, len(L)):...
I've installed latest anaconda3 from Anaconda3-5.3.0-MacOSX-x86_64.sh, which got me Python 3.7 installed. I have a habit of...
Trying to write a Discord bot, and need help installing the package.
I am trying to convert handwriting text to output on screen, I am capturing video and dividing it into frames, then I have to...
I have been asked to look in to this behaviour and I have no idea where to start. I have created a regular network lattice...
This week's top r/Python posts have arrived!
I made this with Python. So Proud.
| 1626 upvotes | 152 comments | u/anythinganyways | r/Python |
Super Potato Bruh is now on Steam! - Made in pure Python...
| 1034 upvotes | 101 comments | u/DaFluffyPotato | r/Python |
Made a .jpg to .txt converter
| 981 upvotes | 116 comments | u/LeoScott1203 | r/Python |
Elastic cube made using Python
| 639 upvotes | 24 comments | u/protik7 | r/Python |
The code for the image to text program
| 588 upvotes | 123 comments | u/LeoScott1203 | r/Python |
This is a x-post from r/learnpython...
Machine learning is difficult for beginners. As well as libraries for Machine Learning in python are difficult to understand....
Hey everybody, got a strange error. Code at: https://pastebin.com/raw/wqjbxWwP I've looked at code 10 times, and nothing...
Hi Guys, Checkout the free video series with Github repo, for getting started with Python programming. Those who already...
Hi all, I'm pretty new to Python and looking for a way to convert an LDIF file to an object in Python. ​ Comming...
You can use type function to create objects! Here is an example: class X: a = 2 To make this with type function:...
Hi, I am interested in learning Python and want to become Python web developer. I am a total beginner in this field and want...
Let's say that you want to pick up the language. What do you see missing from all the online Python tutorials around you?
this is my code class human(): def __init__(self, age, weight): self.age = age self.weight =(weight) def eat(self,...
Scheduling with docstrings and inspired by doctest: [https://github.com/Code-ReaQtor/DocCron](https://github.com/Code-...
I've been creating a series of "Desktop Widgets", small programs that hang around or quickly launch, using...
Can anyone point me or provide advice on how extract data from a MySql database and load into another MySql database using...
I've seen a fair number of posts from people looking for a project for their Pi.... weather forecast seems to be a popular...
Im very new to coding with a small amount of experience in Scratch. I have no idea where to start or how to start.
I feel like I'm missing something obvious, with so much active support for Python and SSH, it seems impossible that there...
What’s another easy basic project I can start?
hello world i just strat to learn python can you please give me useful tutorial or website to start with
I started off as a C++/C#/Java dev and for the last few years have been doing fullstack JS with Nodejs, along with some...
I was given an interview question in which I have to alter a function that's inside of a separate file. The separate file is...
It seems that the maintainers on pandas are good at responding to new issues/PRs as they come in. However as time passes they...
I've noticed two Numpy performance pitfalls and I wanted to share them you all. ## Indexing with Numpy is slow The first is...
The decimal module uses a default precision of 28, but I couldn't find any record explaining why 28 was chosen. Does anyone...
Check out @moshhamedani’s Tweet: https://twitter.com/moshhamedani/status/1054493020886728704?s=09
Still new to Python and Mac's in general, but I installed both Python 2 and 3 to my mac (installed Python 3, then installed...
What should I study if I want to make a chatbot using machine learning?
Hi everyone! My friend and I are currently looking for programmer to work with us on small projects and such! Recommended...
Hi Everyone, I am learning Python at home on my computer. I work 9 hours and I am free at office at times so I want to make...
At the moment, I am only familiar with the Python data science stack. (sk-learn, matplotlib, pandas, some web scraping...
Hello everyone, I'm a Computer Science student and this is my first project using Telegram bot API + python, so I would be...
Hey everyone, I've created a program in PyCharm for python 3 and now I'd like to be able to open it by simply running it with...
If I have 2 lists for example: list1= [12, 10 , 8, 3] list2 = [10, 5, 7, 3] How can I make a program compare the differences...
Recommender Systems, the collection of algorithms that can be used to personalize content and offers for customers, is often...
**I have been developing a system-wide performance analysis tool written in python. It named Guider...
Hi, I am searching a way to implement in python a fonction that takes a large list of boolean matrix (15 x (15 to 150)). I...
**I have been developing a system-wide performance analysis tool written in python. It named Guider...
Whats the best way to develop websites is Django still the best way? ​
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
I've been diving around a lot of different languages just to broaden my horizons and to have fun but more often than not I...
Im trying to install face_recognition and keep getting an error every time. CMake Error in CMakeLists.txt: Generator NMake...
I'm studying Phyton, and already learned the basics. I started to create some GUI's, and I think my next step is to connect...
Here is the code.This is the first time i made a program this big(not really...
hi, im just trying to ask a question involving a project idea i have. Here is my post I’m trying to get a program that will...
Hi everyone I'm a newbie, and I was wondering how you'd make a program which shows a specific Instagram page's current...
I like Python duck typing, but I'm wondering if it's a good idea to leverage it in a public API. Options A I have an idea for...
I was assigned a project to recreate a logo, like the apple logo, in python using turtle. I was wondering if anyone has tips...
Are there any python libraries to analyze transactions of stocks and bonds holding of retirement funds ? Or numpy is the...
I have a python script I use to find regex in files (it functions closely to grep -r but with python regex instead) and if...
I wish to store data in the follow form: PIT_List[1].name = "PIT101" PIT_List[1].channel = 1 PIT_List[2].name = "PIT202" and...
I can't seem to figure this out. xw.App().screen_updating=False Doesn't work.
Are there any modules I can use to update a table on a html page? Something like bokeh, but for tables with data instead of...
In honor of tonight, I whipped up a quick script to generate random lottery tickets that hopefully reasonably under-weights...
Price is zero issue. They must be fast and reliable. Thanks
I couldn't find a tool to help me separate an image into separate ink "channels" to make a screen printed tshirt. So I built...
Hi, I've been messing around trying my hand at a basic making a basic Mandelbrot fractal generator. The basic algorithm works...
I want the Grid eye sensor to ignore all the readings under 27 I've tried numerous methods but none of them work please help....
I wrote some software that calls an API which returns a lot of data (events occurring on our corporate file shares). The API...
Can someone please help me I want to convert this Matlab script to python I have tried many online converters they are all...
Hey /r/Python. I'm supposed to turn the function below into a function that completes the same purpose, only that it uses...
I know this code sounds completely illegal, not sure if it is, but I really am interested in how I should approach it. I am a...
LabEx: Redefine Online Coding Education What is LabEx Tons of people want to get started on coding, but most of them don't...
Just curious to see all of this wonderful communities ideas for beginners? Anyone have any good very beginner projects to...
Hi, I've been learning Python everyday and recently an idea struck my head but after doing some research I still can't figure...
This week's top r/Python posts have arrived!
If you're learning requests, Marvel has a gigantic free API...
| 729 upvotes | 38 comments | u/jedieaston | r/Python |
We made a mesh network with Raspberry Pis at HackHarvard and...
| 701 upvotes | 50 comments | u/gimmeapples | r/Python |
Twelve malicious Python libraries found and removed from PyPI
| 609 upvotes | 81 comments | u/diesch | r/Python |
Concise Cheat Sheets for Machine Learning with Python
Machine learning is difficult for beginners. As well as libraries for Machine Learning in python are difficult to understand....
| 471 upvotes | 25 comments | u/skj8 | r/Python |
Bokeh 1.0 is released
| 428 upvotes | 55 comments | u/bryanv_ | r/Python |
Hi I'm working on a GUI-less application with PyQt5, which waits for a certain signal from a Qt class and then performs...
It's so frustrating. I'm an embedded engineer so whenever I need to script something it's too analyze some binary data....
I want to pull Instagram posts to my website and show them on a timeline. Can someone point me in the right direction? I want...
I'm Testing some casual microservice with some business logic and also database, have unit tests but this questions is...
I'm having trouble figuring out how best to approach creating a grouping of subnets based upon a starting supernet/network...
so for my Uni I have this exercise where I have this function: from math import sqrt ​ def sum_sequence(n, term):...
Hello, I am pretty new to software development, but I am a fast learner. I am trying to build a simple form that anyone can...
Hey guys! My first post here aha I’m currently in University while balancing a full time job. It’s very difficult for me to...
Hi 3-month Beginner here... I'm planning to learn about making cool projects in Python to expand knowledge, getting job etc.....
>The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-...
I'm trying to make a program that grabs historical stock data with an api; that api returns json files and there are several...
So I have a test for my first python class and I'm super confused about the following- Example: for i in range(n): Why is it...
My name is Lex Fridman. I'm a research scientist at MIT. I will be interviewing Guido on Wednesday as part of the [Artificial...
Hi everyone I'm quiet new to Python. I have a java background and want to learn more about the language. I have been using...
Hello, I'm trying to figure out if my syntax or if I am misunderstanding something. I am able to overwrite HDF5 files in...
If I have for example 4 items in my list and I want to delete Item #2, when I type to delete #2, it will delete the latest...
Hey there, I've been stuck on this for a while now... It's probably some basic stuff but I'm very much a beginner as you may...
Super big help for music lovers! Can anyone help me run this application....
I dont even think this is the right way to go about this but I need a program for work to make my life easier. Fair warning,...
Hello, i am new here. I have video with a person doing some action in the video (e.g. dancing). I wish to square crop the...
Has anyone an idea on open source solutions to create this kind of scalable 3d scatter plot with python from an excel file as...
Hello guys I really need some help here. There is online shopping website in Africa that is going to have crazy black market...
In a few months from now I will be part of a project in my university. Part of my job would be to develop a webcrawler and...
In my pursuit to learn more about python i started with simple web scrapping and automation of mundane tasks. I've gotten...
I am a ethical hacking student so let me make it clear that this question is for educational and curiosity purposes only. Is...
title
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
After December we will move away from Assembly at work (I work there as an apprentice and they want me to learn it, they...
Good day people! Need a little bit of advice here, I'm a college student under the course of Computer Studies. As of right...
I'm pulling ~5000 records line by line from a MySQL database, transforming fields in that data then appending the...
I found this page and accompanying blog to be too complicated for me. Could someone describe how I can run and execute this...
I’ve been learning the basics of python the last couple week through codecademy. But now I want to write my own programs but...
I heard that a good way to improve as coder is to read some quality code. COuld you please recommend me some open source...
Hello, I'm doing some development in Odoo that involves connecting to an external API, and I run a local instance in PyCharm....
python is one of the leading one in the world be an expert from python and earn more for a brief description go to the my...
This is not really a programming question but rather something that I think applies to python as a language. Forgive me for...
I am trying to add a string for each blank line in a text file lie this: ​ Text Before: originalLine1...
I'm currently trying to scrape several websites from their HTML. One of the websites was fairly easy, but the others are...
I was at a talk by Wes Mckinny today (pandas creator) and he was talking about his work over the last few years on Apache...
At school on windows we use Notepad++ to write code and run the .py file in terminal but Mac doesn’t support Notepad++. What...
I found out through reddit yesterday that the version of requests I was using had a security bug. While very minor, this has...
Hey, so I'm going to attempt to create a metronome in python. I am a beginner, not an absolute beginner, I know a hand full...
I need to install matplotlib for Python 2.7. Which version of matplotlib should I use? Or if I just go ahead with a straight...
Hi all, ​ am clueless in my googling on this one. ​ Let's say I have a time series (A) and (B), each...
Hey everyone so I mod at r/smallytchannel, we have a lot of spam naturally being a YouTube sub and I recently got this...
Hello! I am pretty new to coding but I would like to teach myself Python as my first coding language, does anyone have any...
I'm looking for some insight on how I should go about this. I was looking up OCR capabilities and basically what I want to do...
The code that I get from the net will go through a loop to get all the data of ms Access. def access(): l =[] conn =...
I’ve got to the point of desperation. Text explanations aren’t cutting it, I’m completely new to python and just want less...
I want to convert a python wrapper from 2.7 to 3.6 the wrapper is THIS and I'm not...
So I may potentially have an interview within the next month or so that involves a “python test”. Currently I have just a...
So I looked up on installing Web3.py on my windows and I have encountered many obstacles. One of those that I encountered was...
Hi, My requirement is to extract headings and text under the headings. I saw two libraries mentioned above, everywhere. Can...
Hey r/Python, ​ First up i am just learning Python and after getting some of the basics I wanted to come up with a...
I'm doing a simple text file encryption/decryption using my own libraries for keys and values to do the encryption. When I...
If you use Windows and recently installed the colourama package from PyPi, you might have been infected by a malaware. [A...
I am currently trying to make a side scrolling game using python but don’t know how to create a physical environment for my...
Hello all! ​ I am working on a recommender system and I have a large data set from amazon (about 500,000 reviews)...
What are some modules you think every user of python should install whilst learning.
This book is great, definitely. However, I feel like I'm not going to learn as much as I could from it. This book has no...
I have issue with python DB connect module "Pyodbc" I already install newest one but I have this issue, reinstall and install...
How would I best go about making a script that converts dates from the format [10 Sep 2005] for example into 10/09/07.
I got the def charposition from stackoverflow as stated below. I struggle with building def's and getting them to work as...
say I have a Flask app "XYZ" and these conda envs and I want to run XYZ under Py3: C:\Miniconda3\envs\py2...
This tutorial is about extracting details of jobs listings based on a particular job name and location. You can scrape the...
Hello, I'm currently designing my own website and I've been experimenting with different technologies. I've also started...
I feel like I just won the lottery, my supervisor gave me permission to purchase a new computer. I do not have a budget, but...
If so which framework is best I've looked at Django and flask which is the best?
Hello everyone. I know this is probably not the right place for these questions, but r/programming noted in their sidebar...
Continuing on my last post, I made further improvements to ASCII Combat, the text-based, roguelike, combat game which is made...
I know that yield currently does not call __enter__ or __exit__ on context managers - I'm wondering what the reasoning...
Hi guys I saw snips.ai is a platform which you can code in python with. It’s a private voice assistant but i was wondering if...
Got a client with a Wordpress website linked to a Postgre db + Django control panel. I've been asked to look at moving the...
The TUI for Austin now has a Full Mode. Press F to see full stats for the currently selected thread, together with a live...
Usually I use a database of codes I made while learning some programming language. I would like to be more fluent in writing...
Hi, I am trying to make a python function that takes in 4 inputs from a spreadsheet, will take them through a series of basic...
​ Write a python program that will : Validate a password The program will have the user input a password Check to...
I ran the installer as admin and clicked on "Install Now" and checked the box "for all users (requires elevation)". Yet it...
I actually want to print two things next to it like print("abc") print("abc") but i cannot manage to do so. How can i make...
I'm new to python (and this community) please be kind, I want to create a script to detect if I type the word "just" system...
So I'm part of a robot club and I was tasked to get rid of files that aren't being used in a specific repository. It's quite...
Im making a very simple kiosk interface. So far I have seen Cefpython but this may be overkill and too low level. Right now I...
I am reading tons of data from a file line by line and I want it to remove the '\n' at the end of every line. I tried using...
Hi, I have a quick question for anyone who knows how these functions work. I have been asked to apply these functions to a...
I want to learn Python in like 2 months what is the best resource out there. I am most confortable in Java if that helps.
I have been looking for APM tools for django/flask applications preferably opensource. Any recommendations? ​
I have a server that outputs a dictionary/json with say fields K1, K2, K3 etc. Now over a period of time my behavior has to...
If you are good at Pandas pm me and I will send my Discord. Willing to pay 5 euro if it succeeds!
Hi, I'm trying to figure out how to put large datasets together. I'm trying to put together pictures of mountain ranges. I...
Hey guys, over at smoothterminal we are looking for someone to write a blog post about MyPy, the optional static type checker...
Hi, I need a way to implement Operations Research Test Data from [Raw...
Hi I use this line of code "self.tk.eval('wm stackorder {}'.format(self))" to get a list of open windows and their stacking...
Optional text. Question says it all.
I'm a first year ComSci major and our final project for this term is to create a game using python. Our professor doesn't...
I am unable to create any wheel package from an already compiled C extension (with pybind11 FYI). I am very interested in...
I have 0 coding experience with python, but I have an idea for a game that I’ve been sitting on for a long time. Can anyone...
So, I'm a senior in HS going into college for CST software development and I'm an intermediate python programmer. I'm...
I am not built for the college world and I am currently learning Python. I would like to learn other languages as well such...
I have been busy with Python a lot recently but I've hit a big hurdle for me. Tkinter, PyQt, QT, .... I don't know how many...
I'm trying to connect to a Palo Alto firewall using Paramiko but I'm having some trouble. When the firewall has a banner...
what do I miss? once I wanted to import those packages, I always got: "...:" like: import numpy ... : import math ... : Any...
I am releasing parmapper on github. I wrote this tool since I was looking for a...
I am very interested the Reahl python-only web application framework. I have made a few...
So, I want to create a function that takes int s and array A, and then returns array of elements A that add up to s. if no...
list 1 is given a certain value, and x is equal to list1 with its value set to zero? or what? ​ list1 = ["one",...
...
I have been trying to figure this out for such a long time now. in Tkinter it's switching frames. But in PyQt4 it's...
I am fairly proficient with requests but kinda at a lost for this one.... Reaching out to the community to see if anyone...
So im looking for the program livecli but it seems to be "moved" without a trace. ​ I was wondering here if anyone...
I'm trying to find out the first time a number is exceeded in a loop and then print it to the console. For instance if you...
Hi everyone, Tried to google this issue but I’m not sure as its kind of specific. I have multiple folders in the same dir. I...
input = input() if len(input) == 0: print("Null") else: [I want to have text here to move the input to a list o dictionary]...
Hi, i'm trying to find the percent change in these two lists: end_2017 =...
I'm designing a program with a fair amount of data, 30 columns and 10 million rows. How much faster is it to use a dataframe...
Recently I've been working on school project that I have made in pygame, and everything has been going great! The only...
Recently I've been working on school project that I have made in pygame, and everything has been going great! The only...
I am trying to learn python to automate work that I will be doing as an intern in the accounting field. Most of the jobs will...
Hey everyone, I'm a second year university student that wanted to get some python experience and I ended up with this project...
a = [ 1, -1, 1, -1, 1, -1] b = [] count = 0 for i,x in enumerate(a) : if x == -1 : count += 1 b.append(count) can list b be...
I am making POST requests using TastyPie. The Task model has a one-to-many recursive relationship via the parent_task_id...
I wanted to build a GUI for my Project ! Is there any platform like Android studio to bind my code directly. I tried Tkinter...
Hey, I've been struggling with text justification. I have a .txt file with a text that is divided to paragraphs. I created a...
What are its limitations, and how can it be improved?
Hi All, I'm new to python, following is my code, basically connects to mysql, runs a query based on the hostname input given...
I can't open the document on Github. While I click the file, it failed ​ https://i.redd.it/dowpc2w2xwv11.png I...
I've been working on a little script of mine using Python for Linux that checks for RSSI quality output, however I'm a little...
dynamic typing - do you use it? if so, how?
So I started learning Python, as my first language. Picked up LPTHW by Zed and it was focused on version 2.75. Fast forward 2...
I have an attribute that is an image. For example, i.image = blockImage. I often save this to a text file, so it gets...
I am having a little trouble trying to import kaggle datasets. I have installed Anaconda and I have open a Jupyter note book....
I know this is a bit general, but what books do you guys recommend? I'm inexperienced when it comes to APIs in general. I've...
Hi, im from argentina and i would like to learn how to code in python. Does anyone knows a web page where i can learn?...
Hello all, I have had a bit of experience with programming (a semester of C, and now taking a decision support system class...
I have been going to school for information technologies and have had several coding classes during the curriculum. I have...
I see my code is breaking due to possible overuse of sys.path.append. I'm working with lots of repositories and building...
Hi, I am currently learning about while and for loops and are wondering if there are any types of problems where its better...
I have to write a small program for class where you must make a small game where the computer picks a number and the user has...
Hello everyone! For the past 2 months, I have been working on a personal project of mine to develop my Python skills. It is a...
Just a quick project i put together. Not perfect yet, but if you have any suggestions or comments please leave them below!...
I find it a bit strange that Java, Go, and Swift have had stable HTTP/2 libraries for some time and yet for Python your only...
I'm trying to connect some code to a home page with a search bar. Obviously a newbie. Can anybody suggest how? My first...
Actually I can not understand the logic behind it.
Installed python 3.7.0 by pyenv on macOS. sqlite3 has been installed: which sqlite3 /usr/bin/sqlite3 Also tried...
Does anyone know where I can download the TSK library from? It is the base of almost all my knowledge in sprites and such...
I've been avoiding Python for years. I have developed in just about every language and sometimes you just keep yourself...
I'm still a beginner in python and lost with xlwings. I want to make modifications to comments in an excel file, but I need...
I'm so happy and excited. I am a math major, turning 21 in December and have been learning python for about a year. I applied...
Hello! How did you guys learn how to code in Python or coding in general? I am taking it at university but I am having a hard...
I'm using python requests with proxy IP. But 702 error(can not connect to proxy) is coming. But when i use the same proxy for...
i am trying to delete tables inside the page and I'm trying to use page. filter function for that, where I have table...
i am trying to delete tables inside the page and I'm trying to use page.filter function for that, where i have table bbox...
1.Openpyxl write excel - I need to load_workbook, then save excel after editing. 2. win32.client run macro - I then reopen...
I’m doing this test which requires me to run a python script and identify the error, however I can’t seem to figure out how...
Hello folks! Exercism.io ( https://exercism.io ) is a platform designed to help people improve their coding skills through...
I just finished writing a little (python 3) script that creates a (good-looking) dependency graph of all currently installed...
So say with any mainstream module for example PyGame, how are they able to for example make a window? Because surely if you...
Trying to learn programming. Just wondering if anybody could explain me how to load images to python
I'm looking for a strategy for automatically activating a virtualenv when I am in a project's directory. The #1 slip up I'm...
Hi guys, i'm new to Python and this subreddit, so i hope this post fits. Anyways, i have been coding Conway's game of life...
Is math heavily involved in programming? I’m just starting out and learning, and I am not good at math , at all.
I created a REST API to obtain information about for sale and to rent properties in the UK, built using Flask and deployed...
I have a Flask-SocketIO Webapp where some data is generated by my Python script and sent to my JS Frontend. I'm now trying to...
Hi I have a csv file with roads of a town, om each road there are certain numbers of houses with corresponding area's....
Hi I found the following on stackoverflow and it works beautifully. My problem is I do not understand the last line. Why is...
For example if I use Pycharm, are there any disbenefits if I don't use Anaconda or IDLE. What are the benefits and...
What is the coolest or most interesting application of python you've ever built or have worked on? I am a relatively new...
Hello! I was happily analyzing some data in Spyder, and suddenly something weird happened. I just pressed F5 normally to run...
I wrote a simple script to allow the settings in a config file parsed with configparser to be accessed with dot notation by...
Hey guys! ​ What books or sites that you have used to improve your skills in python? I know the basics but I wish...
Thus using re I have these two bits of code: results1 = re.findall(r"\d\d\d\d-\d\d-\d\d",strings) results2 =...
Is there a program, or a program, that I can use to create a virtual reality program that shows my code in a gyroscope...
Hey guys, I am trying to create an application that takes 2 location inputs from the user and finds the cheapest flight that...
Where do I put image files (png) so that Pycharm can find them to be used in a pygame program?
Here's the code: import pandas as pd ​ import numpy as np ​ import matplotlib.pyplot as plt...
Task: Scrape video download URLs from a webpage. Methods used: #1 Simple scrapping by fetching HTML - Fetch page HTML -...
How to search whole of amazon site and get products which are at 80% discount every 2-3mintues. like i really want to...
Hey there, I am trying out TastyPie and making POST requests. The Task model has a one-to-many self referential relationship...
Hi, I want to send email from my flask web application to users when they click a button. Now, this email sending takes about...
I have very minimal Python experience (some sql and vba experience) and am looking to build a simple Django-based webapp for...
Idea is to have a picture web app where you can upload photos, save them, and then filter certain pics by entering a search...
What's the difference between the two? Which of these two words do people use mostly to refer to something they create with...
There are many python courses on Coursera, Edx etc. Since they require quite some workload, I was wondering if someone had a...
So I wanted to port this repositories DGAN code written in torch-lua to pytorch...
I am trying to gather the contents of anchor tags and datetime information from the following website:...
Earlier, I define weapon with: weapon = int (1) Later on, I encounter issues when I try this loop: while weapon == 1: Print...
I'm very new to async programming and I'm struggling to understand the design decisions behind python's implementation of...
For my school I need to develop something to limit phone use and mine will use a raspberry pi. Everything except for the code...
I've been writing a SQL abstraction package for SQL statement construction and execution which I am took out of alpha this...
I'm making a Table Top RPG platform for Discord using Discord.py API. I have some minor Python experience, but I don't work...
I'm creating a very basic "rpg" if you would even call it that (stats don't even do anything, you don't even take damage)....
Hello guys, I'm trying to find if there has been previous codes written for this device, which is usually used for autonomous...
Warning:python beginner so please ELI5 if possible. I had to uninstall python 3.6 to upgrade to 3.7.1. As a result my pycharm...
I'm on my first year of university now and programming is very new to me, however, we have an assignment that goes as...
Hi, I’ve written a lot of oo python and I know there’s basically a module for everything you need but I need really check...
Hello! I just finished working on Conway's game of life using python, and now I want to visualize the Cells on some Cartesian...
I want to note I do not mean any malicious meaning behind this thought. ​ I was watching a twitch streamer today,...
i’ve just started to use python for my computing homework and whenever i press enter i can’t go back and change the text....
Im trying to make a function using the def tool and the for loops inside it are not working correctly, does anyone know how...
Using Python, is there a way of setting a variable to be true or false randomly?
vraag_00 = "\nPlease enter your name (press 'quit' to stop): " vraag_01 = "If you could visit one place in the world, what...
I know this is supposed to be basic, but getting python and pip going is a nightmare for me everytime. It seems there is a...
import os os.chdir(r"C:\Users\Umer Selmani\Desktop\prog.practice\MP1") import csv with...
this is the code I typed import os os.chdir(r"C:\Users\Umer Selmani\Desktop\prog.practice\MP1") import csv with...
I need help with an assignment our professor gave us. I am suppose to use recursion to make something like this: Stacking...
G'day I was just wondering how i can script this section of code such that if calculate = False (from the raw_input at the...
I am having trouble using the moveTo function which moves the mouse to the specified pixel of the screen. It works very well...
Im trying to replace hex values of a file based on the position of it (its offset). For example I want to replace the byte...
I am trying to compare two speech signals to find whether both convey the same word or not. I used Librosa and Numpy to go...
This week's top r/Python posts have arrived!
My Halloween Facepaint - Scary huh?
| 1439 upvotes | 82 comments | u/crevan_the_fox | r/Python |
I made a dice roller in python. It isn’t much, but it was fun...
| 911 upvotes | 90 comments | u/Nickarronjones | r/Python |
I just got a 67k job before I even graduated, all thanks to...
I'm so happy and excited. I am a math major, turning 21 in December and have been learning python for about a year. I applied...
| 832 upvotes | 193 comments | u/EchoBravoEchoOne | r/Python |
I just deployed my first website made in Flask!
| 282 upvotes | 89 comments | u/DaFluffyPotato | r/Python |
There was no python email lib with SOCKS support so we made one
| 237 upvotes | 23 comments | u/mortiffer | r/Python |
There's a lot of talk with python and scraping. What do you guys scrape? I've been scrapping mugshots and keeping a database....
I'm working on a small project with a group of friends and am currently using Dropbox for data storage. However it seems to...
Greetings all, I recently have started using python an have taken an interest in using tensorflow, but, my shell restarts...
hey guys we are creating discord for all level of computer programmers to come and join and speak to us and other people...
Hi all, I am hoping this is something simple. I am using 64-bit Anaconda and processing a large matrix (139k). My system has...
I've been coding in python for over 4 years now and am looking for a cert that is recognized by potential employers, and not...
I am using Spyder(Python 3.7) whenever I run a program , I don't get any output in Ipython console but if I use the 'stop...
Hi, guys! I used to access a platform to practice French, but the website is down (it's been a year or more). Fortunately,...
Hi folks. I´m trying to build a web scraper / price grabber for a specific site in the web and i would like to ask for help....
​ https://i.redd.it/5ojhjuytiiw11.png
Yesterday I was exploring posts at r/programming and found so many people bashing python. At one point I started losing hope,...
I'm trying to update gecko driver to the newest version but I'm not understanding anything from Google. How do you make sure...
Good morning, I’m having trouble calling functions on Turtle. This class I’m in requires us to do it for tests and I just...
Currently I am using Flask and Orator-orm to do modeling / migrations for me. The Orator migrations are great when I am...
Hey all, I have a python script using bs4 and pandas that scrapes a webpage for data once a day, aggregates it and exports it...
Just released pyairmore v0.2.0a1 and implemented a messaging module. You can now...
I'm following this tutorial: https://hackernoon.com/building-a-facial-recognition-pipeline-with-deep-learning-in-...
Hi people I have python 3.6 on my windows system, and I wanted to update it so I downloaded the 3.7 exe, but now I have two...
I've tried it with pip3 install --upgrade...
So I am working on a game. One of the features of the game is to be able to serialize it. i.e. to save the details of the...
My university pushed Matlab down our throats it seems most people rarely use this and I started to dabble using pycharm and...
(I already put this on /r/learnpython but I need some more exposure to the problem. I know it is not allowed, but I REALLY...
ValueError: could not convert string to float: ​ I am attempting to score a deep learning model I built. I'm...
As the title suggests this is a module I created using multithreading in Python, so you can download hundreds of photos in...
I'm just playing around with pymarkovchain, but I noticed that most people use a txt archive to keep data that will be...
Sometimes I think to myself, what sparked my interest and what actually delivered a meaningful project that sealed my fate...
I am still learning python. I wrote this script to update all pip installed packages as i am using miniconda....
I looked on StackOverflow and apparently the only specification for CPython is...
I am new to python, and was wondering what do people type python.... in? In this video...
Looks up word definitions from Merriam-Webster dictionary. I created an alias so I can look up any word any time from...
This is totally hypothetical, but lets say that I had a program that contained a function that would need to access a...
Title says it all. I have been coding in python for a couple of months now and just recently decided to download python and...
I have some data that I am trying to extra the url from using regex. I am not that familiar with regex and have used it just...
Ok I’m on windows using Ubuntu to run python Bare with me I don’t know what I’m talking about But I’m trying some codes...
Excuse my ignorance as I am a full 2 days in to learning my first cosing language. I am learning python in jupyter notebooks....
I have a huge amount of pytest tests at work, and i wanted an easy to document them. Searched for a way to do this, and...
Hi all, I'm pursuing a career change and have applied for a position as junior python developer. I passed the initial phone...
So That I can Easily Slowdown A Websites.
from numpy import * y, x = ogrid[-1:1:30j,-1.5:0.5:70j] z = frompyfunc(lambda z, _ : z**2 + x + 1j*y, 2,...
from numpy import * y, x = ogrid[-1:1:30j,-1.5:0.5:70j] z = frompyfunc(lambda z, _ : z**2 + x + 1j*y, 2,...
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
I recently had the opportunity to put my book, Python 201: Intermediate Python, into a general programming bundle of...
Hello everyone, I'd like to begin with saying I am completely new to Python. We've a group project of making a robot who's...
Hi All, I am working on a project which has around 50k images with 1200 different labels. I need to classify image based on...
I am interested in python and I'd like to know if there is any good book that can be useful, what's the best book I can buy?
Fall semester is coming to an end and I am wanting to work on a project during my winter break. I'm looking for suggestions...
Running python 3.7 in Arch. The error can be replicated with: import os, sys, subprocess subprocess.run('kdialog' , '--title...
I am beginner learning python for about a month. I was trying to build a web framework in python. I installed Flask as a...
Hi there! I'm coding a new assistant on python, controlled with Telegram with my phone, and I kind of run out of ideas. Apart...
i have a program written for python 2 and it should be a telegram bot. i run it as a service in my raspberry pi3 but i'm...
Problem: I have 2 matrix, both are "Status Matrix". Basically it looks something like this: ID, Date, Status 1, Status 2,...
When I learned Python, I was told that it only supports public visibility. If I want something to be private, I should write...
Is there any way, I can convert my perl code into python. I am comfortable with python but i don't know anything about perl....
def foo(): '''My foo. Does foo stuff. ''' pass Is there anything syntactically special about the docstring when it comes to...
So I’ll keep this short, programming is not my forte, I am currently in school studying digital forensics and I have to take...
Well, the question is pretty self-defining. I've couple of big apps developed in Flask, and for the next project, which will...
Please is there any third party library to verify email address if they exist?
import pygame as Game #Plate Controls Key = Game.key.get_pressed() if Key[Game.K_1]: print("m") if Key[Game.K_RIGHT]:...
Hi there, for improving my chances for the next job interview I'd like to build a tiny homepage to present some of my...
PySimpleGUI running on Qt! If you're a PySimpleGUI fan, then you're in for a treat! The...
Why can't I set these values in this dataframe? >>> df = pd.DataFrame(np.random.randn(50, 4), columns=list('ABCD'))...
Wondering if I should start this. I want to create some python modules that encrypt and decipher text. Do you think that...
I've been a professional Python developer since 2007. I solve a lot of problems and I use a lot of great libraries, but have...
I have learnt that Methods are part of a class. For example, when you have an instance of emp1 of the class Employee. You can...
Howdy! I am intermediate python developer and I am looking some opensource project to contribute. Ping me with anything...
Dear Python Community, For one computer assignment I need to implement a complex algorithm that requires nested loops. To...
I have sqlite 3.25 installed in /usr/local/bin, and so for myself and other users, that overrides the default system version...
Thinking I could have it schedule a tweet 2 minutes from [current time] and when [current time] is 1 minute from [scheduled...
if client.user.id != message.author.id: if 'garbage' in message.content.lower(): await message.channel.send('@author is...
It used to be painful to perform database deltas on SQLite. I'm wondering if...
My server keeps getting raided because my token is shown in my bot.py file on my GitHub repository....
Hi friends! ​ I created a crawler to get info from web pages and now I need to scale. The applications has the...
I have python 3.7 downloaded onto my laptop. The current line of code I'm writing looks like this. INPUT('Enter your...
PowerJinja provides large amount of functionalities that are not...
import random AnimalList=[] def Take(): i=0 while i <10: i=i+1 animal=input("Enter Animal:") AnimalList.append(animal)...
Hello all, I am trying to recreate an Arduino project in Python using pyfirmata to talk to my board, and I would like to know...
The images uploaded using PyImgur don't show up. CLIENT_ID = 'd' CLIENT_SECRET='d' PATH = '/path/on/my/pc' im =...
I was curious to hear how others deal with this. Do you use the black-default line length of 88 or do you override it to e.g....
I'm starting to learn Python myself with Learn Python the Hard Way 3, Automate The Boring Stuff, and Sololearn. In the...
Hi r/python, I know this is the usual request that pops up in the sub every now and then but please hear me out. I have...
Updates on my last post, I improved the dungeon system, and made changes to inventory, I am excited to get the game to FIRST...
So I’m trying to fill captchas automatically Referring to this link; https://github.com/theriley106/outCaptcha I am running...
Hi all, I've been trying to create a table that has randomly generated data using Pandas and Numpy. I've looked at the cheat...
hope that's understandable. I have a .pst file of around 900 email addresses, i wanted to send a generic email to those...
Like Dict[str, str], but for UserDefinedClass[certain_wrapper_object_type] I'm in love with type hints for some reason...
I want to implement an automation framework - pytest and i need a logging way to see my failing tests results in a easy way...
I’m a ReactJs developer, I so badly want to move away from web development and move more into software development. I just...
Hi, ​ So I've never really learnt Python formally and I'm having some issues with naming conventions. For example,...
So I am using python nmap to scan subnets and determine the operating systems of each host it can find. Using "-T4 -O" right...
Excuse me if this is too broad of a question/category, but I’ve been looking into integrating some form of virtual currency...
Running python --version and python in my terminal returns Python 2.7.10 even though I installed the latest version of...
I am looking to scrape an address off of a website and paste it into Paypal's Click and ship. I have been doing this manually...
I used autobot.py from GitHub but curious if it’s possible to run that same bot for 3 (or more) different IG accounts on one...
Hi, yesterday i came up with the idea to create a Script that Downloads Pictures from Certain Subbreddit submissions (f.ex....
Okay so I have a list that is inside another list. each inner list hold 3 unique values but it cannot hold more than 3 and...
Does anyone know where I can find answers for this book? Google only helps so much with my questions, and I am struggling...
I'm currently trying to use pillow but it's fairly slow. I'm assuming that it's because I'm asking it to convert over 200...
Does anyone know a good group messaging app you can automate with Python preferably with calendar events?
I want this bot to respond to a message with an image. How do I do this?
I’m getting this error trying to run an extension “Blocked a frame with origin from accessing a cross origin frame. Tried to...
I am trying pull data into postgresql from twitter but tweepy keeps freezing and not running through my loop. It will work...
Been working on a blog, teaching Python programming (as best I know it). ​ Any feedback would be appreciated!...
Tl;dr need to create a standalone program that will dynamically create an mp3 file using a specific instrument sound (I guess...
Typically, I develop across a mix of notebooks and modules, but making sure that everything works together and just clicks is...
What color scheme is this? http://prntscr.com/lfri8d Thanks! It looks dope for me.
Is there any place where I can follow large Python projects development from scratch? Preferably video with explanations from...
Hey folks, ​ I need some help with integration tests. Hope will get help here. ​ I work on...
Hey guy, I would say that I'm good with python. Intermediate level I would say. In the last few days I started to get...
there is an error ​ AttributeError: module 'plotly' has no attribute 'plotly' ​ how can i solve...
Hi everybody I just playing with python multithreading module. I have problems with uotput of this code, It's different every...
​ [So yeah. I am a new IT student teaching myself python. I got an extra excersize asking me to pake a very basic...
Hi guys, ​ do you know any Python library (besides pandas data-reader [[https://pandas-...
Hi, I am trying to improve the performance of a rolling max function on numpy arrays. I can use :...
I just want to run this code and other codes I find online like this one...
https://youtrack.jetbrains.com/issue/IDEA-161842 Vitaly Gordeev commented 2 hours ago: "Indeed, this is a major usability...
I'm not sure if other people contemplate this question as much as I do, but I really do feel that someone's definition of...
Hi I'm trying to extract data from some network devices, so I'm trying to use the module paramiko in order to get the data...
I've recently discovered Git hooks, by which I can make sure the code that I commit works as intended. See it on [this...
My quick overview of the commonly used features, illustrated with code snippets. Initializing lists If you want to...
Hi everyone, I'm doing a generative design project and I was thinking to use Python. I would like to generate a patter (which...
Is a career geared towards Python and SQL worth it? Will it be rewarding? I am interested in Data/Business Analytics and...
I have the following dataframe: ​ ​ https://i.redd.it/1051ldfnw4x11.png ​ ​ And...
Hello, I'm searching a book that explains how to implement the different Design Patterns; like Factory, Singleton, etc....
Im starting to learn Python slowly and i got the curiosity of having a notebook by myself with tips and tricks of python....
class Node(): def init(self, leftPa, rightPa, place): #TODO: Clean up if statements if(leftPa is not None and rightPa is...
I'm a beginner in web development (just a basic knowledge of HTML, CSS, and JS) and recently started with Django. I am pretty...
This is a flask project using Nginx server. I followed the tutorials and mess up a couple of times and finally got it...
Are you a data scientist, GIS specialist, Jupyter Notebook enthusiast, or Python developer? Contribute to IBM's open-...
Gee! I thought reddit was just for discussing Westworld! :) ​ We (work) have produced our own Python install...
I need to add together input1-input4 and bring out a total. I know how to get square roots and everything but for some reason...
I'm really new to python and type coding in general, so I figured I could go here for some assistance (maybe.) This is a...
It takes 12 seconds to "collect" (even though I'm pointing it at a single test class within a single test file) before it...
I often find myself wanting to test if two dicts are equal but with some value tested by a regex. I feel like I've come...
I started a couple of weeks with python, and I would like to create a small program using lists, loops, etc. The basic python...
Finally, a pip-installable, official "Pre-Alpha" release of PySimpleGUIQt has been posted to PyPI! You can create the exact...
This happens a lot w me in pycharm and idk what im doing wrong, its easiest explained in a pic imo. Basically im adding files...
Hello everyone, Im new to the community and new to python! I created my first python project, A little madlib type game. Any...
Hey guys, Im doing a project for school and Im looking for a data set for a 911 call dispatching center. I need a data set...
I am trying to put together a short curriculum to introduce my students to python and I was trying to think of useful tools,...
The whole website of Flask Security ( https://pythonhosted.org/Flask-Security/index.html ) doesn't make any sense for normal...
which event are you looking forward to see the most! >https://2018.pycon.ca/ ​
I have an accelerometer, gyroscope, and magnetometer. I want to track location trajectories. Right now I have logged lots of...
Hello, I'm new to programming, and I am looking to develop a mobile app. Ultimately I'd like to transition my career to...
(I am from Finland so sorry for the weird names) this is an excercise on my college course and in the examples they have used...
I've been studying Python for about two weeks now and wanted to get some feedback. Also if I can make this in about fifteen...
I have been losing my mind trying to figure out what is wrong with python on my mac. I don't know what I did but it seems...
I searched google for the answer first before coming here to post. I'm brand new to programming and I'm trying to learn to...
With pip I can use --proxy= XX.com to install at work, however, how can I use a proxy with pipenv as I have searched...
I’m new to this coding stuff Was wonder how to insert a specific line of code/text from python [running on ubuntu] into a...
I find PyCharm to be an amazing editor especially for data analysis, but I wanted to switch to VSCode because... * It opens...
I am currently using numpy as my default to compute things with python. My functions and classes would usually transform...
Hi all, was just wondering if there were any engineers or engineering students that have previously used mathCAD software and...
I have had a hard time finding a descent deserializer for JSON objects. Most of them just deserialize into a dict and rely on...
I want to begin to learn to code in python but I do not know where to begin. I use IntelliJ IDEA for javascript and html and...
Why is it that I can't find cuda-wheels of the popular library 'dlib' and many other libraries that requires build and...
I was wondering if anyone has managed to learn python only by reading the official documentation. As I can see, the official...
Hey so the script i made is a bot using selenium and i wanted to let my friend try it but since it needs chromedriver and the...
I read many alternatives here and there online! If you have to write a program to be run locally which has a nice UI for the...
Hello r/python, I've made a dictionary bot for Reddit which gives you the English / Slang definition for a word / phrase....
I have an hourly dataseries in pandas for about 10 years. Sometimes the data is missing for 2-3 months. I want to fill the...
I decide to create my first AI in Python. Its function would be to scrape the web of temperatures that appear in the same...
I have a main menu script that has buttons to popen other scripts, it seems to work fine but I’m unsure if this is a bad idea?
I'm creating a scraper that checks a webpage every few minutes and wanted to know if there's a free alternative to...
The point when you realise you don't need badly coded wrappers and you just start parsing everything that's thrown at you. I...
I'm working on a Django webapp, and I would like to be able to have users upload and run scripts. I am using RestrictedPython...
I'm defining the filename, and extension in the code. The file attaches properly and can be downloaded, but when I look at...
I have created [this fully working project](https://github.com/patarapolw/recall-...
Firstly, I am on the most recent version of Python 3 with pygame. I was working when suddenly I was getting black windows....
Hi, I'm a newbie in Python trying to get better. I have an assignment where i have to use .read() to read a text file in...
#Kevin Chen assignment 11.1, this code allows you to roll 10 random results with your #choice of inputs(minimum + maximum...
Python Enumerate : python enumerate() is basically a python built in...
https://pastebin.com/9bJp5HR0 Anyways, the error was Traceback (most recent call last): File "python", line 62, in...
I work in an academic lab and me and my co-workers are writing a program that performs scientific simulations. The data...
So, lately I have been playing around with the "praw" library in python which can be used to programmatically access reddit....
Hey everyone, thank you for attending to this question. I have been self studying Python (my first language by the way) for a...
I created a couple of Python packages and support many more with minor stuff like documentation and code quality...
Looked at Pycharm but it clearly isnt for beginners ( code typing must be enabled manually from the settings before writing...
​ https://i.redd.it/rzazyic4uhx11.png ​ Here is my problem: I need to write a function Zazard with no...
Are there any discord servers related to python or programming in general? (I'm a begginer) Thanks for your time~
Hi there! I have created a distribution with tuple functions where have a total number which i partition(divide) this total...
Hey guys, I'm very new to this, and largely self taught but I have created a little program that edits images (images created...
Hey Guys, I have a situation in a web app I am building where I have a URL that I would like to use for a source image. So in...
it keeps telling me woods_options not defined? ​ def woods(): woods_options =["1","2"] user_choice =""...
Hey, sorry if I am being stupid but I don't know why some code I have written isn't working. ​...
I want to compare a word from a list from Oxford Dictionary's word list by their api from online dictionary . Can you tell me...
FINALLY! Implemented the long awaited PICK and EAT commands, as well as adding the new $ coin $ system. ASCII Combat's...
Hello, how to delete, and free memory during runtime? Example ``` import gc import pandas as pd ... df =...
Hello guys, quick question...im using scrapy a lot to crawl websites...and im wondering if there is a way to find duplicate...
TL;DR: Snipcarts **webhooks fail when sent naturally/automatically, but work fine when sent again...
Python AI provides weekly emails which will get you up and running with AI and machine learning in Python. In the mailing...
Hello, I am new to python. I would like to know if there is a way to implement such an architecture; 1. getting request from...
High school student. Im learning about python in my ap computer science class. However I am falling behind a bit with all the...
Hi guys, I'm looking for a programmer in python that can help to develop this game more, we're already in-game, but there's...
Hi! I'm currently doing some physics coding homework, and it turns out that my current code takes about 2 minutes to run. On...
I see a lot of C code in there, how do they use it in python ? And if I wanted to write some python library in C, what...
I'm using selenium to login and navigate to a certain page. I'm trying to get the inspect element code of that page to use...
As the title says I'm looking for a program like node.js for python I know node has an extinction for python but it (from my...
Hello, 18 year old with the plan to solve a two dozen problems from Projecteuler.net. Dabbled in a lot of different coding...
Bonus points for multiplayer games where you can share what you've done and fighting/racing/shooting/generally competitive...
At the moment I am trying to find the best way to backup configurations from Cisco devices to a file. I am using a python...
Hi, I'm wrinting an ORM for MongoDB. What features would people like to see about such a thing? What features to people...
How to build a Face detection model in Python using OpenCV by Nagesh Singh Chauhan https://link.medium.com/2eu8zCHTzR
Build your first chatbot using Python NLTK by Nagesh Singh Chauhan https://link.medium.com/EwMJWvVTzR
Web Scraping using python BeautifulSoup by Nagesh Singh Chauhan https://link.medium.com/BoGqdRmGKR
How to build a Face detection model in Python using OpenCV by Nagesh Singh Chauhan https://link.medium.com/2eu8zCHTzR
I am currently enrolled in the Udemy zero to hero python course.I will be completing this course by this month. I will try to...
Hi all. I'm looking for a service that monitors python dependencies, and emails you when there is an update. I'm curious if...
I've recently had to do a fresh install of windows and reinstall all the software I was previously using including anaconda....
Hello, I am a second year mechanical engineering student and this year I have a course numerical methods. In this class we...
#Basically I have a ctype structure like below:# ​ > class A(Structure): > _fields_ = [('x', c_uint),...
I usually import all the libraries I need to use at the top, but sometimes it looks nicer elsewhere and if I only need that...
import random ​ dates = [0] * 23 i = 0 howmanytrue = 0 tests = 10000000 ​ while i < tests:...
Let me tell you the story from the beginning. So at school, we all have laptops, for some reason, you cannot access any USB...
Happily implemented shops (There is no "buy" interaction yet though xD) and added the ability to drop items anywhere you...
I'm trying to figure out a way to visualize the NEAT ml I'm working on. I'm using NEAT-python. It essentially implements the...
I'm very new to programming and I was told atom was one of the best ide's for python but I can't figure out my way around it.
I have a matrix with 3 lines being x,y,z. The matrix has 300 columns. So I have 300 points with each point having coordinates...
hello guys we are building a project on github called pandora, it is a framework which consist of various tools like...
Hi guys, I am considering Python for creating a small ecommerce project on it. I am aware of projects like Japronto and...
...
Looking for a free API that can use online maps to calculate distance between two locations (addresses). Any resources is...
Although I am learning Python on my own, some of the scripts I am looking for are beyond my experience and time constraints....
I made a simple python calculator in easygui. What do you think? So far I've only used CLI so GUI is very new to me......
userAge = input('What is your age') userGender = '' def gendercheck(): global userGender genderResponse = input('What is your...
Hi there! I'm kinda new in python, and I was searching for a way to upload Instagram story via python, but I can't find any...
It deals with a Python-Selenium application that may be very useful to people on a large scale:) PM me if interested
This is a Vpython program. Create a computational model of the Ranger 7 mission. Start your model when the spacecraft, whose...
I'm not asking to be spoonfed here, I'm just a little stuck. using the for submission in subreddit(limit=10): how do I go...
I am learning about generators, and I never really thought about iterators in Python in a certain light, but now I have some...
Hi, I'm currently learning python programming and I'm working with this task that I have created which is rock,paper,scissors...
This week's top r/Python posts have arrived!
A spoonful of advanced Python per day?
I've been a professional Python developer since 2007. I solve a lot of problems and I use a lot of great libraries, but have...
| 545 upvotes | 42 comments | u/metalevelconsulting | r/Python |
Announcing Camelot (OpenSource), a Python Library to Extract...
| 508 upvotes | 44 comments | u/ReasonablyHank | r/Python |
Pretty printing of Numpy ndarrays (descriptions in the comments)
| 396 upvotes | 15 comments | u/foadsf | r/Python |
shaders for rendering ascii art
| 376 upvotes | 14 comments | u/vanyakosmos | r/Python |
Build your first Alexa Skill using Python
| 299 upvotes | 20 comments | u/rivinek | r/Python |
I'm new to python and I'd like to understand the language better while building useful applications. Would anyone point me...
I want to move of WordPress and use a static site generator instead. Jekyll seems good, but I want to use one that has been...
But I need someone who knows how to code in python to do my homework for me dm me for more info
I'm trying to run a package called "atom-python-run". I have python installed and I'm having issues with the file location. I...
Hello, I am just beginning with regular expressions. I need help validating the strings 'password' and 'secret'. I also need...
For a project I'm working on, I have 6 variables and 1 constraint: D, E, F, G, H, I & Constraint I want to generate a...
I'm creating a discord game bot, and I feel having a virtual currency would make it a lot better. I've seen a lot of economy...
The reason I never learned to play guitar is that I got sick of chord progression and fingering exercises (that’s what she...
Step-by-step beginners tutorial on building a real-time object classifier for any custom object of your choice with multiple...
I'm starting a new project and really want to focus on keeping my business logic completely separate from my data access...
I am trying to download TensorFlow in the Anaconda command window and I can't seem to get it working. I type in pip install...
Full analysis of confusion matrix library in python (New Release) ​ Github repo :...
Hello, Long story short, attempt to link only python37.dll to my program, then Py_Initialize fails with "unable to load file...
I am doing research for my university and we are trying to plot 3D surfaces using python. As of right now, we have an...
I just wanted to share something that I've been working on over the past few weeks. It's a pandas validation library that's...
i want to convert this script to a exe wich means no command line so what do i need to change/remove so it has my login name,...
Hi /r/python! I'm a data scientist who's fed up with the verbosity of Pandas code, when compared to R+dplyr and the Spark...
Hello, I came across some videos about Raspberry Pi powered Smart mirrors and I think it's a pretty cool thing. I could just...
New to python and I can't figure out where to put the reverse argument along side the sorted( function when working w/ list....
Why I can't access the website of Yhat? I cannot download rodeo ide :(