I'm trying to wrap my head/work on implementing TDD in my code. It's small scripts. 100 to 500 lines of code just meant to...
Posted by u/IWillDev in r/Python
1 messages · Page 9 of 1
I'm trying to wrap my head/work on implementing TDD in my code. It's small scripts. 100 to 500 lines of code just meant to...
I'm planning on going to PyCon UK 2019 this year, but I don't have any friends who are interested in programming and since it...
I'm currently trying to learn Python and for that im doing some excercises, in some of them I have to use the Random module...
I was trying for a couple of days to make one of my scripts an executable with Pyinstaller and other similar programs......
Python 2.7 I have the following function: def download(args): payload = {'Center': args.center, 'securityPlan': args.plan,...
Hey all.. Working on a project - I have a BOT (slack app) created and integrated some functionalities. So when the bot is...
I'm traveling to Northern Norway next month and I'm planning to do a week-long workshop on data science in a fairly rural...
I am a fifteen-turning-sixteen-year-old in a school with a suprising lack of programming courses. I have been trying to...
bbox is a pure python library for working with 2D/3D bounding boxes. It provides convenient abstractions for different...
I'm trying to set up python for sublime text 2. And as for not I'm not having any luck with it. Though I'm just getting into...
I'm learning python and my crash course book wants me to run my hello_world.py from the terminal. I have everything down...
so my teacher is useless, they basically hired him as a fill in and his lectures are ramblings of him working at his old job....
have been having trouble with this python problem in my intro class. Its super basic however i feel like i have been just...
I'd like to loop through a few hundred pdf reports and remove a bit of text on each. I know there are tools to read text on a...
Hello guys. ​ So I'm trying to create a StopWatch in python using Tkinter and I pretty much got it, using a...
Hey guys, ​ new to python and so far I love it. OMG the amount of time I can save with tedious tasks.......
nuc_3 = [] for i in ['A', 'T', 'C', 'G']: for j in ['A', 'T', 'C', 'G']: for k in ['A', 'T', 'C', 'G']: for l in ['A', 'T',...
I'm new to Python (and new-ish to programming in general)...managed to throw together a "game" of avoid the falling blocks. I...
Hey guys, So I really dont know a ton about computer stuff but I really need some help for class. I have anaconda installed...
​ https://i.redd.it/nu3inilqbbc21.png
I'm looking for a blog post from a few months ago that described a Python project that allowed API requests to be queued...
What things should you be able to do? Are there certain techniques (e.g., regular expressions) that you should have down...
What I'm Using## Python Requests lxml Selenium Beautifulsoup ## What I'm Trying to Achieve## Just for academic purpose I am...
Hi all, I am developing a flask app, and I want to get the current GPS location of the user. What is the best way to do this?
Hello. I’m a grad student and I just started a course on Agent Based Modeling. I have very little programming experience but...
Hello, I am having trouble to figure this out. If I pass a data frame as argument of a function, and make changes in it, will...
Hi everyone.. This might be kinda stupid.. but the thing is.. if i copy someone's code that doesn't work.. i can fix it to...
Hi, I am trying to count words in text and I was thinking about reading every line of the file A and use +=1 everytime when...
I have a nested dict that contains a lot of items which I encrypt and save it to a file, when I mean encrypt, I am using aes...
Good blog for using computer vision on Python for satellite images processing...
So I made this easy calculator in Python 3.7: while True: method = input("Would you like to subtract or add?\(just type - or...
I am scratching my head to figure out what is going on here. Since I have been working with python 2 all alone, maybe is b/c...
https://github.com/python/cpython/search?q=geohash&unscoped_q=geohash This looks like a nod to the lesser-known...
My friend has been having problems with his computers. So I asked him to show me his task manager and found out something...
Anyone using any Python based (or compatible) [business rule...
Hello all! I am trying to put the contents of this paper...
I love reading from physical books and have been looking into getting one but there are sooooo many i cant wrap my mind...
I am looking for ideas of the best way to form a random list of strings that are actually words. I have a few thoughts, and...
Hi, below are my data points (space delimiter): AgeAdj SP/ABCost 26 0.051851813 8 0.342104363 28 0.142081738 23 0.1 22...
I am looking for ideas of the best way to form a random list of strings that are actual words. I have a few thoughts, and...
I need a script to run which goes to a website and punches out at the end of my lunchbreak by pressing an icon. So that i...
Hi guys i am just a beginner in python i have created a simple blockchain taking help from codecademy if you any suggestion...
I was trying to quickly test a project for concurrency issues, thus I wanted to make a function take some time (say 2...
Hey guys, anyone have any recommendations for cheep computers that can run python? I’m a broke college student with a chrome...
Hello all! Im looking to learn python with a group of like-minded individuals. Im looking to dive deep into python and make...
In Christmas of last year, I got a book for learning Python from Santa Claus, which I wanted all December. I had wanted to...
I really like the concept of optimizing and analyzing relationships between stuff. I do not fluently program and have started...
this is the question i am talking about. i am new to regular...
I have two lines of python code that a person used in order to "normalize" data from the variable "data". Here is the code `s...
I am curious to know if there are libraries or modules in python that would allow me to create a bot that would automatically...
So I have narrowed down to the optimal number of principal components. My question is if there is a way that I could use the...
We have created A script named InstaCloner it is a Project Under Active Development....
Can someone on this sub Reddit please help me complete a few python projects for my programing class. I have a few backed up...
Hey like the title says, which are the best free learn python websites? I am new to the coding world and I want to see if I...
So at work a pac file is being pushed down to IE every 30 mins or so. But I’m trying to use our old manual proxy. Can I write...
I’m working on a project that I need some help with. I am new to python but not necessarily programming and I need a library...
Building an API at work with no real choice in the framework. It has to be Tornado. I would love to be able to generate...
As u can see I just imported a csv file as a dataframe. Now I want to solve a maximization function using the CVXPY library...
https://github.com/Fitzy1293/reddit/blob/master/reddituserposts.py Hello! I wrote a script that counts how many times a user...
I have been trying to work with the post referenced here. It seems the author hasn't...
I plan on making a word guessing game. I have made a number guessing game before, but I want this one to be a lot like the...
I'm using a Robot called Nao and I'm running my Python script in it. I want to install new libraries and upgrade few older...
What should I do if the file that the traceback tells me I'm in does not exist.
Project: Opacify The CLI tool will take an input file and build a human readable...
I am trying to use python (basically a beginner) and a Google API (first time user) to access and update a google sheet....
Does anyone knows a classic or comun database for sentiment analisys in spanish. Thanks.
Essentially I found a way to automate a very large portion of my job: 1. Pulls data from SQL for project 2. Creates...
I've created my first Database with AWS RDS. For creating the the TABLES I've used the official GUI Interface...
Say the person has an economics/finance educational background that does not include formal python training.
New release of Flask-REST-JSONAPI a Flask extension to build REST APIs around JSONAPI 1.0 specification. Support for simple...
Hello, I've released a new version of Hypercorn, 0.5,...
I'm not a Python developer, but have used it in a few Raspberry Pi projects. I was just looking at the Oracle MLE features,...
Hey everyone. I'm collaborating on a GitHub project that's an old-school RPG with a pure ASCII text interface rendered in the...
I posted this over on /r/learnpython...
I have to create a function that takes 4 inputs (x1, y1), (x2, y2) and calculate the slope, then use that to calculate the y...
Can anyone please make me a bot for a sub I’m fairly new to coding and I can’t make a bot for my sub can anyone by chance...
Is anybody doing network validation or change validation using Python? What libraries or modules do you guys use? I was...
I know a little bit of Python. How can I develop a simple self improvement Python program?
How do list comprehensions actually work? Are they more efficient than creating an empty list and doing list.append() a bunch...
I’m working on a Face Recognition based Attendance System and I’m using PyQT5 to build an interactive GUI for the users....
Hi, I am working on an assignment for class and I have got a working program but I still need to ask the user to input AM or...
I was trying to install conan (the c++ package manager) and I ran into this error which stopped the installation. Cannot...
I am new to Python, Jupyter Notebooks and GitHub. I would like to access and work on Jupyter Notebooks remotely, so that I...
Not sure if this is the right place for this but I'm looking for an api to pull some gas prices for my local area to use in a...
Hey, I’ve been programming for a couple of months in Python and I was wondering if it’s worth learning Cython. From what it...
I work at the corporate level for some restaurants. I'm in the process of generating reports, but I was wondering if other...
Total noob to python scripting. I picked up a script earlier, but I need a way to pause and resume the script using a hotkey....
From zero to Dash visualisation embedded in bootstrap4 template, with SQL or NoSQL DB, validation and more in minutes. Check...
A lot of languages out there. Is Python the good one to start, especially my major. Data Science? I also want to create a...
Hello, I am currently trying to use Sikuli which works with Jython to try to automate something. ​ This is the...
I posted here a week or so ago about me and my friends making an application and website microbes and microbiology related...
Just looking for something to watch and get fresh ideas and thoughts about Python development. I Know Armin Ronacher...
import numpy as np print() attacking_units = int(input('Number of units on the ATTACKING territory: ')) attacking_dices =...
I am new to python and I can't figure out why this keeps giving me this error... ​ $python main.py File...
So I have been tinkering with a new project, I know basic python myself but because this project is too advanced I am...
I dual-booted Ubuntu 18.04 to use ROS (robot operating systems), which has well known problems when running on the same...
github import numpy as np print()...
The one package everyone uses for syntax highlighting on python is Pygments, and I tried to make a...
I saw in a video (https://youtu.be/OSGv2VnC0go?t=376) that when looping through a list...
What is a good system to manage python executables which inevitably install incompatible version of dependent libraries? ie:...
Hey guys, I'm doing a research on modelling quadcopters and I want to work on a simulation of quadcopters in python, Can...
A recent set of optimization work done by Serhiy Storchaka made several functions/methods with only positional arguments in...
I suspect I may be missing something regarding trying to call existing C++ code from python. I have a rather large existing...
I need it to create a chatbot with with emotional analysis abilities
I'm having problems with using the Python Selenium module to extract .text from the <td element (the Diode Type field)...
Tiny WebSocket server that counts to ten, pausing between each iteration: # program.py #!/usr/bin/python from sys import...
It’s really important for a prestigious competition which I’m representing my school in and it’s really crucial that I do...
Any fast method to parse a json in python and extract a specific element? Until now I'm using bash and grep for an element...
I have a basic function that returns 4 lines of text (each being a numerical sum). When I try to get this output into docx it...
Wondering here for those who work professionally with Python in their daily job what kind of software you all are doing ?...
Hi I have a question regarding inter-process communication that I just cant seem to find a direct answer too. I have a long...
def perfection(n,b): if b==1: return 1 elif (n % (b-1))==0: return (b-1) + perfection(n, b-1) else: perfection(n, b-1)
What is the most used language for government work? I've been working for three man for the past five years and don't wont to...
This semester im doing python, I have experience with java Doing IF and ELIF statements I get " elif Shoes > 3 and shoes...
Hey! Basically, I'm trying to find a work around for an issue I'm currently having ​ I'm in a AP Comp Sci...
I recently got the urge to start teaching myself coding and I chose to learn Python as my first programming language to fully...
I'm using Python to program a tool that auto-play this game. Just auto spam skills and combos...
#formula for checking testing_python knowledge. #definites formula for checking time_studied by manually inputting days and...
I want to add some stats/metrics on my python (flask/falcon) web applications to be collected and stored for monitoring and...
So I have 3 dictionaries with 4 key:value pairs in each. ​ bethany = {'firstname':'Bethany',...
Hello folks, I am trying to understand the performance differences between unix domain sockets and tcp sockets. It would seem...
i tried socks5h with port 9050 but it is not working but when i use port 9150 and tor browser is opend it works, i want to...
Sample code: >import curses >from curses import KEY_RIGHT, KEY_LEFT, KEY_UP, KEY_DOWN >from random import...
New to Python and programming. Have only been coding for 13 days so far. Trying to create a calculator that does basic math...
I have python executable in c:\windows on my windows 10 machine. What is that for & how do I execute it? FYI: I already...
Background I wrote a simple single-page javascript application that I just want to run locally using `python -m...
So i have a list of 'words' (can have multiple words of the same kind) and I'm building a dictionary ('counter') mapping a...
I’m from the Dallas/Fort Worth area. I’ve been using tons of internet resources and books to self teach Python for about 3...
Hi, I have some image (https://imgur.com/ju6MO3o,...
Hi reddit, i honestly searched the entire Internet and haven't found a working solution yet. I want to connect multiple...
I need to make this python program make a list with movies that have score higher than a number given and those movies have...
https:/www.github.com/imgp3dev/DrMITM go check it out guys, and for the Python version yes i am aware of the indentation,...
Wrote a fun program this weekend to scrape my entire purchasing history and do some aggregations from Amazon using Selenium,...
My company has a medium-sized web application written mostly in Python, Node, and frontend JavaScript (and eventually a few...
How difficult would you say building the NN in python would be? My understanding of both languages is at script kiddy level...
Hi I am just learning python and making very basic programs. My assignment was to make this for loop with a sentinel of 0...
I've just released alpha version of click-web library that provides web interface for...
Title^
I have had 3-4 years experience coding in java and want to get a move onto Python 3. I understand it's disruptive tech but if...
first, please direct me to the right sub if this is the wrong sub for it. I was trying to code the extended euclidean...
I'm intrested at coding and I decided to go with python. It would be an additional hobby and I don't really need it on my...
has anyone tried wpf ironpython application in visual studio 2017, i need some opinions i'm trying to make a gui and it seems...
This week's top r/Python posts have arrived!
Simulated herbivores and carnivores on an island using Python
| 1379 upvotes | 103 comments | u/JorgeJorgeJorgeJorge | r/Python |
EVERY. TIME.
| 1039 upvotes | 148 comments | u/cybaritic | r/Python |
I wrote a free book about TDD and clean architecture in Python
In December 2018 I published on Leanpub a free book, "Clean Architectures in Python". It's a humble attempt to organise and...
| 612 upvotes | 106 comments | u/lgiordani | r/Python |
Kalliope, JARVIS like assistant v0.5.3 released and reached...
Kalliope is a framework that will help you to create your own personal assistant. The project has reached 1000 stars on...
| 476 upvotes | 59 comments | u/sispheor | r/Python |
TIL the real behavior of or expressions
I always assumed that x or y returned True or False, depending on the expression. I just learned (after 7 years of...
| 427 upvotes | 151 comments | u/Lewistrick | r/Python |
Hi All, I am watching some videos on how to learn python (specially this one, before i buy one on udemy....
I am trying to plot 40 and later 80 filter banks with overlap on the same figure. Everything I can find for matplotlib says...
Hello, ​ First time using a raspberry pi. I am trying to create a photo booth using the tutorial from...
I wonder if they use Python as a tool to filter all Youtube content. What is the language of Youtube? Anyone know? P/s: I...
It is my first time doing anything like this and I really lost. I figured out easily how to make it move and left click and...
I'm looking for a web app which supports role based access (something simple like r / w is good enough) I may code this...
Can someone please direct me to a good tutorial that will show me how to host multiple python apps on one digital ocean...
icontract is a library for design-by-contract in Python 3 ([https://travis-ci.com/Parquery/icontract](https://travis-...
Hello, I have a MacBook Pro and I'm trying to find a compiler that is easy to use and I can work my projects in. I'm a super...
​ MySQL Databases With Python Tutorial ☞ http://dev.edupioneer.net/285a0517f1 ​
https://github.com/mancelin/timecalc : script + unittests With timecalc, you can do...
Hello Dear Python community, ​ I am not a scripter but currently trying to automate some everyday tasks that could...
Last year I implemented a Pandas like data frame in C++. Since then, I have added a lot more functionality and documentation...
I'm curious. How does everyone organize their code? File separation? code folding? comment separator? I've been playing with...
Hello pythonic people! A beginner programmer here :) A few days ago I started working on this Bitcoin faucet script using...
Hi guys, I hope you can help me. I am a kind of beginner in python, I know the basic structure, syntax, but unfortunately I...
Ive heard allot about python 3 and python 2 but I never hear anything about python 1 what happened to that?
So I'm working on a small video editing project and I think python will make my job easier. Basically I have a folder...
In the below code, I created a instance variable "y". I don't intend to use the variable "y" anywhere, can i neglect self....
Anyone would be kind enough to share pics of the pages of that book. I just need to see the problems #1 on pg 198 and #1 on...
I have a python script to tail a log file continuously. For each line, I extract one email address and insert into MySQL...
Hi Everyone - Like the title says, I was promoted from my company's support team to a QA Analyst/Engineer role back in...
Here is an invite link, give it a test! The bot is still in early development so there are some...
I'm having some serious issues here and I'm at a bit of a loss where to go. I'm trying to connect to a ftp server, via...
Hi, I have an assignment where I have to write a function to convert an image to grayscale, I did a bit of research and...
Good Afternoon, I am currently attempting to scrap a web page for all company names as well as it's location. The trick being...
I'm using Vertica Python to copy data from a csv file to a table on Vertica. While it works pretty fast, I'm losing about 700...
I am wanting to get into Python and become proficient enough in it to land my first Python developer job. Which is the best...
I want to put the special quote characters around a normal string newString = '“' + oldString + '”' or newString = '\u201c' +...
So for my course work in gsce computer science I have been told to make a program in python. But any program I want. All I...
Whenever I type pipenv shell the subshell should add $(pipenv --venv)/bin to the path. Otherwise, I have to do it manually....
Can someone help with this assignment I am really really new to coding
The title says it all, I'm doing a data mining project for my dissertation in 3rd-year uni and new files created with the...
Now I've quit programming as a whole and am the front runner for Mr. Universe 2019.
Hello, ​ I am currently learning back-end python web development with Flask, my end goal is to become a back-end...
# sudo pip install beautifulsoup4 but when I want to import the lib in my python script from bs4 import BeautifulSoup...
Hello Python enthusiast of Reddit ! Here is one good resourceful website to learn basic of python along with code spinets....
Sometimes at work, I have a few minutes to spare and I usually google for some python news/articles. But I get the same...
Hey guys, so I'm a noob to Anaconda and the concept of Python virtual envs. What exactly does it (base) mean in my terminal...
Hi there! This isn't my first time on this subreddit and I'm sure it won't be my last. I guess you could call this a request...
So I'm writing a novelty script for a reddit bot. I have it running well on Windows, and am preparing to move it onto a NUC...
I want to dip my toes into Python. I learned the basics of it way back in college. What are some of the best books out there...
For example out of the following i only want to get the fist one that has just <span> ​ <span>Polar...
Hello! Complete beginner to Python and programming in general. I'm looking for a book to help me learn how to use python. I'm...
Hey. I'm working on a project at school involving raspberry PI and a lot of network programming. It's a typical server/client...
So I have a large json file I need to extract data from but I can not seem to be able to get all the data I need. Here's the...
Can anyone tell me how to create instagram API. Please
I recently learnt basics of python language on visual studio and I want to know how to install a python package like...
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
About a month ago, I debuted a project of mine, ezpq, which provides a parallel queueing...
Pypackagery packages a subset of a monorepo and determine the dependent packages. Given a root directory of a Python code...
Does anyone know of a Python library that would assist in processing graphs that are images? I would like to take a line...
Hey i bought a bokk on python and wanted to implement a function(letter counter) into a user interface, it said i had to...
I'm looking for either a book or a follow along type of tutorial series to learn pandas better: ​ * Data...
Please suggest me best book to learn data visualisation using python. I am a business analyst who uses Excel for day to day...
I must code a sort of heat propagation of a metal plate with pyspark. I don't have any exeperience with it, but I already...
Is Quart the only web framework providing HTTP2 support currently?
I am working on OCR for Indian languages my main source of input is mostly available in the forms of multipage tiffs, instead...
I recently spent about 20 hours writing the code for a choose your own adventure game in python. I"m proud of it and I want...
I haven’t really been able to find much information related to this. From my knowledge, a DAO will abstract the data access...
Just starting python wanted to create a text based adventure. I know some of early python things any suggestions for things I...
Let's say I have a game open in windowed, I would like to get it's coordinate and then run some code to auto click on a point...
Hello Pythonistas, I've been doing some fun things with the librosa library. And I"m able to do...
Hi all, ​ I am trying to write a piece of code for one of my homework. I am having an error and couldn't find the...
The full algorithm python code that is ready to run is here: https://github.com/alpacahq/example-hftish Bit of explanation...
current script for output: def abc(): json_processed = xyz() output_file = 'y' csvfile = open(output_file, 'w') fieldnames =...
Hi all, I was trying to create an integration program as i've just been taught the process in school. Alongside the...
So I'm trying to do the above but I can't figure out exactly how list1 = [tom, dick, harry] list2 = ['tom, 2121111, bayside',...
Hi, I made this table but I can't figure out how to do the numbering. I want a top 10 list and I get all the data from a...
I’ve been using readline to pre-populate an input for a database I’ve been working on. I also use click to handle command-...
My job is to implement machine learning algorithms and bring them to real-life projects. For example, I am working on a face...
Hello guys, I am here to announce that I am the new moderator in r/python and the rest of the moderators are all removed....
Hi, There's an incomming hackathon going on in my school this weekend. I've gone to others but I never made anything or never...
I'm looking for exercises that a fairly Junior developer could do in about 6 hours and suitable as a tool during recruiting....
I can't figure out how I use and install pip. I've downloaded it and saved it as a txt document, but what do i do from there....
Where do I type pip install "insertProgram"
I'm trying to find a way to have my Player class collide with any foreign object, but no matter what I place in the if loop,...
Hi, I googled about using using python for coding competitions, I want some personal experiences and suggestions...like how...
Within my virtual driving environment, a driver travels down a road and has to steer in order to maintain their position on a...
So I have very little experience in coding and I need help making this. It should be similar to the ones seen on...
New to coding, how do I change the stupid box that eats the next character to the nice line that just shoves the characters...
As a followup to the thread I posted yesterday, here is the release for my text-based adventure game Foodstory, written in...
Hello, I'm learning Python and I'm currently in oop. But I have a question: is there a correct way to learn this language?...
Hello. I am currently a food operations manager at a cancer center in Philadelphia and have recently been thinking of a...
I have been asked to look into this, so I figured the first, and best place, would be to ask this wonderful community: For...
I'm very used to using SQLAlchemy and Flask, but it seems a little overkill for some projects that don't really have a user...
I TRY INSTALLING PIP AND IT WORKS UNTIL IT SAYS IT'S UNINSTALLING ITSELF I TRY TO UNDERSTAND THE UI BUT IT'S LITERALLY JUST...
I have a Discord bot on a server that I use for monitoring over other programs (like their activity and stuff, since they run...
I'd like to do something useful with Python and Bluetooth. I've found code examples for scanning and pairing. Just a few...
Where I work, we can't use pycharm, but need an IDE capable of debugging flask (otherwise I would use VS Code since we use...
When I run this Python code that calls a java .jar file from command line it works fine. I then use pyinstaller to convert to...
Hey guys, Not sure if this is the right sub reddit for this kind of question. ​ I'm kinda new in the micro service...
backstory() ​ Here's the questions: ​ Is there a way to fool windows 10 into thinking I'm active on the...
Hi everyone, ​ I Just made an AI driven image-manipulation webapp using Vue, Vuetify, Keras, and Flask. For now...
​ what do i need to input?
Alright, so I'm just learning python and I created a script that I need on a different machine that doesn't have python. Si I...
Hi, I would like to know if there is any equivalent to finstr but for python?
About syntax, usage, usability ...workflow everything. Including the python ecosystem. Also love to hear about errors you...
I am looking for recommendations regarding which books are the best for starting to learn python, given that there are so...
Hello everyone, Here's my dilemma. I'm making an interface that is nothing but a series of different image sequences looped...
We have some pytest suite that runs integration/e2e tests. I'd like to run those over a true production-mirror - K8S. I've...
I started learning python because it looked easier and the way forward. But lately most people have been telling me that...
Traffic Blocking feature has now been added https://github.com/Imgp3Dev/DrMITM
This might be a thing that exists already in which case please let me know but I came up with this independently and wanted...
Let me preface this with I'm a Security Analyst and not a programmer in anyway. My linting lights up like a Christmas tree....
Hey guys. Thought you might be able to help me out. Python isn't my normal language but I use it enough that I'm comfortable...
What can I do that helps in your daily life such as grocery lists, etc that you do with python non work related that I can...
I'm trying to compare different time frames inside a pandas array to try to find similarities. example timeline below made...
Hi, I'm working on an image processing program which creates an image and overlays it onto a digital surface model. I use...
Im new to python and am going through basics :) Any suggestions for anything python based would be appreciated haha
What do you guys think is the best way to parallelize two for loops, with one of them being inside the other? Say I need to...
###TL;DR: I think I can conclude that 1) "Initializing" variables like you would in statically-typed languages is bad in...
I have a python script that runs through a large repo, filtering for certain files, opens them, looks inside, and collates a...
Hi all, I’m scraping Marvel’s characters from the official characters site. The page has several subpages (idk if that’s the...
I am a total Python noob with a totally noob question.. I have the following in a bash script: LATEST_RELEASE=$(curl -L -s H...
Anybody has a sound knowledge in DC++ and can help me to make a DC++ Game Bot
I am new to python, know just the basics of the programming language. I am a nodejs developer at work and would like to try...
How do i save the generated password by this code to a txt file? import string from random import * characters =...
In python, I’m kinda interested in making a basic messaging program and I’m not entirely sure how to send data (like strings)...
Here's a dataset of Indian political articles from January 2018 through December 2018, collected from over 7 news portals, it...
What are your favourite (easy to use) GUI libs in python?
Dynamic Programming (Policy and Value Iteration), Monte Carlo, Temporal Difference (SARSA, QLearning), Approximation, Policy...
I wrote a proxy server in Python 3.7.2 with asyncio. The proxy server's function is to accept pairs of client TCP connections...
I have made a script that will essentially Get you Organic Followers and Audience And Watchtime on Instagram Give this a Look...
As in line 7, how can I control the increments by adding another variable? https://i.redd.it/jyuji64g0sd21.png
As the photo show. How can I add another variable so I can change how much it increments by? Thanks a lot if you would like...
As the photo shows: I actually not very much understood the question🙄 I've tried to add: for x in range(1, 7): print(x) if x...
hello guys, I was wondering if there are programmers interested in my DigimonRPG project, and who is willing to help with...
Hi everyone, I just want to share with you that after 4 days learning from 0 how to program in python, I made a program...
How do I get intellisense in JupyterLab? As in, real-time type hints. Think it was enabled by hinterland in Jupyter Notebook.
Most days I can be found in SSMS, working on our SQL Server. As I'm teaching myself Python, I have tried a number of...
I've interviewing a self-professed Python and Django expert tomorrow for a position a the second full-stack developer at my...
Hi everyone. I work in a library, and due to privacy laws we need to delete user accounts after a certain amount of...
My fellow Python users: I have running Python 3.6.5 | packaged by conda-forge | (default, Apr 6 2018, 13:44:09) . Given that...
Hello, On our IOT system we have a device that emitting SSL websocket data to our Python websocket on the server. We want now...
Pickle throws error that there is no utils file..
Im not sure if this is a mistake or on purpose, but there is a free book deal going on on amazon right now. Worked for me and...
dear community i want to learn python i currently study architecture and i think that code is a very important tool since it...
I’m just getting to the point that I can write useable scripts in VBA for work. There are certain programs developed by my...
How would you implement a function f(x) = 2x^4+3x^3+x^2+1x+11 in a method using least possible operators?
Hey guys, I've been watching tons of videos on youtube but none of them actually works ( plays the sound file I want it to...
Hey, So we have to make Connect-N game (extension of connect4 to n < 10). Now I have these 3 functions written down,...
So I deleted several hours of work in a Jupyter Notebook file by going to a check point. I mistakenly thought I had updated...
Hi, about a year ago as part of my programming course we had to write a game. My choice was pacman, so I wrote a simple...
Our project has a team of data scientists who develop their solutions with Jupyter notebooks. The team has great domain...
[EDIT] Hi guys, I'm struggling to optimize the structure of my code. Auto-indent it's not helping at all so most of the...
I’m a college student majoring in computer engineering and I just got my first IT certification (CompTIA A+) and would like...
Hello, iam tryting to execute mysql queries based on python variables. name = request.args.get('name') month =...
Direction include "Create a program that will calculate the cost of going to see the Detroit Symphony Orchestra. Tickets for...
If I have pictures of an object from the [top, bottom, [sides]] how can I build a 3d model of the object from these? Is...
I'm hoping for some advice regarding a large quantity of json records that aren't just a few lines easily converted into a...
It wouldn't run on my computer because of the colorama module dependency, and I also saw some misspelled words in it. Then...
[[SOLVED]]- filename was requests.py which is not allowed I have the latest version of python 3 installed. I have the...
Hey folks, I've been programming for over a decade but very new to Python, and I'm trying to learn the right way to do things...
Hello all, I have been learning python since the beginning of the year and have finished my first project. I would love some...
I'm looking at creating a solution, but I'm new to Python and would prefer not to reinvent the wheel. Our current business...
Hi all, does anyone have experience with downloadable tools for capturing coding assessments in interviews? Ideally we'd like...
I'm curious if anyone has taken on this task: Create a program (possibly through python) that can read a word document, look...
BOTZ is a pure python3 framework to program bots (a botlib), provides IRC and XMPP bots and is extendible by programming your...
I've been working on a mega analysis code that I consistently break into different defined functions and have been using...
I wanna build a sets of routines using developer knowledge What is the best way to find solutions for thoses use cases Im...
Hello, Normally I use MATLAB for most things, so I am relatively new to Python. I am trying to use it to build a .csv file in...
I'm using IDLE to program in python (no judge haha), and after I factory reset my PC the scrolling within IDLE is way too...
I am starting a side project that is going to involve simulating a relatively small scale IoT environment. At a high level,...
Library to help in Python functional programing. It's asyncio compatible. ​ Basic idea behind it is [Railway...
A lot of my code use Python2 style statements like print "message". If I start using Python3, I need to change every place...
Hi all, I've been learning working with Python for over a year now. Python was my first programming language and I feel...
I have been learning to write in python for the GCSE Computer Science class and I have learned the basic and some OOP. What...
Can you use python to create web services cor mobile apps? If yes, what’s it advantages or disadvantages over Java?
I've played around with asyncio, curio, and trio (and I really, really liked trio), but I still haven't had any use cases for...
Could you guys suggest me a machine learning project like i have made emotion detector, image detector, finger knuckle...
I made a text game that I want to make playable on android. I have kivy and buildozer, and learned a bit about both....
I've made command line apps that are very nice to use (no real UI beyond tqdm to show progress; give the command at the start...
I'm looking for a project that has very good documentation. Clear, efficient and thorough documentation that helps using or...
Posting here since Python has been the language that I landed on for learning more about programming, but open to other...
Hi guys, ​ I'm about to start working on a thesis in robotics. The first phase of the thesis will be fairly...
For example, let’s say that there’s an event that you want to get tickets for but because it’s a popular event it doesn’t...
Hi guys, I made this cryptocurrency price predictor today using Keras. I am a beginner in the field of deep learning so I'd...
I'm working on a project where I need to assign zip codes and some other area data to a point map. Basically, I need to...
This is a small project I've been working on. It's a Telegram bot that listens for JSON POSTs on a local port, and forwards...
HELLO! I am new to Python, just starting out. I just wrote some code for a Password Generator in Python IDLE, and was...
Just to start, I'll say I'm aware of: pyp, jq, elvish, jshon. It has been a long time (20+ years) idea of mine to bring some...
Are there any libraries to reference if trying to use Python to grab data from a chart? I’m trying to scan some line charts...
I'm not sure if this is the correct place to post this but all feedback would be greatly appreciated.
I've programmed in C++ in school (did pretty well) 7 years ago and started using Powershell recently and have a pretty good...
Hi, I already test eval function and turning into an executable using pyinstaller for a small test like eval("x + 92") but...
Im trying to create a bot on discord using python 3.6 I already created a bot, im trying to make it replace a word but keep...
I have a few questions about QPython and libraries. I thought I would try to learn Python on an unused Android tablet I have....
I want to use python for some basic models for financial data. This data is highly confidential. Personally I would not even...
I just download PyCharm Pro with my student license and I just wanted to understand the "educational purposes only" rule and...
Have you ever wasted half an hour debugging an error message only to see that not only is the API for it broken, but it’s...
Hi, everyone! I have made a video about decorators concept: - how to write them - how to use ​ I'm reviewing...
I have a crawler script that runs continuously. However, sometimes it stops due to internet connectivity issues and others. I...
I am trying to make a game using pygame, is there any way to detect if a player is in between 2 coordinates and then load a...
Hello yall, I took python n Django course for almost months n feeling like he hasn't tought me much n I'm loosing interest on...
I'm building a tuple of datetimes that overlap. start_overlap and end_overlap are datetime objects. In each 'for item in...
I am trying (for a while now) to create a Keyboard Layout Driver for both Mac and Windows. # What my plan is In order to...
Hello guys, first post in this subreddit(woho). Im kind of new to coding, but I cannt wrap my head around why I can't see the...
I am relativly new to coding. I have been doing it maybe a year, spending maybe 10 hours or so per week at it, but not doing...
I am trying to get my head around how Python programming differs from the perspective of .NET programming. Not code or syntax...
I've written a python script which scraps a particular website for data. Currently, the script works only when I run it...
(I have used Django before but no experience to API frameworks.) If I were to use API frameworks like Falcon, Hug, API Star,...
I have lots of dictionaries within Tuple. I need to format in such a way {A:B{C,D{(1,2,37),(4567)}}} While my approach is to...
Is there one with a set of objects just to reuse (button, images,textboox,...). Thxs in advance.
Wondering if anyone registered and can no longer go and would be interested in transferring their registration?
Hi everyone I have an excel worksheet with a large list of words in a column. I need to convert this excel list into a...
Hello, I was wondering what libraries are available to make simple graphics like the ones in this video:...
I‘m looking for a Python package which delivers Google Analytics data on a higher level than what is described on the Google...
Amateur astronomers track a variety of classified satellites for which there are no publicly available orbital elements, I...
I've read the Gunicorn docs several times but am still confused. I am trying to find a longish article that describes the...
Hello, Specs, macbook pro pycharm python3.7 ​ I have about a 1000+ files with data that needs to be parsed and put...
Conda and conda-forge lack some of the packages I want to try over in PyPi world. My requirements are: Hassle free dependency...
I tend to be a downvote-and-move-on kind of person with posts that I’m tired of, but the insane number of GUI posts as of...
Hi there, I'm fairly new to python and I am making an app that will allow you to complete specific commands upon request. How...
hey reddit (first post) I made a little face recognition program with opencv and opened it in my text editor (Atom) just...
Hi, I am trying to use the georaster.MultiBandRaster.from_array() to generate a 3-band raster from georeferencing data and a...
This week's top r/Python posts have arrived!
Made use of my Python knowledge professionally for the first...
I’m a mechanical engineer, but love learning new things. In the last few years, I’ve taken several edX courses on python, and...
| 974 upvotes | 138 comments | u/testfire10 | r/Python |
Learning python as part of my physics course at university....
| 636 upvotes | 106 comments | u/Hawksteinman | r/Python |
I also simulated an island with Python. It's not as in-depth...
| 578 upvotes | 59 comments | u/JabrZer0 | r/Python |
Python ad on reddit contains only JavaScript code. Zoom on...
| 428 upvotes | 48 comments | u/mohredlou | r/Python |
Works with live webcam video (idea: u/1991viet)
| 426 upvotes | 53 comments | u/Kuerbiskernkeks | r/Python |
This week's top r/Python posts have arrived!
Made use of my Python knowledge professionally for the first...
I’m a mechanical engineer, but love learning new things. In the last few years, I’ve taken several edX courses on python, and...
| 972 upvotes | 138 comments | u/testfire10 | r/Python |
Learning python as part of my physics course at university....
| 640 upvotes | 106 comments | u/Hawksteinman | r/Python |
I also simulated an island with Python. It's not as in-depth...
| 576 upvotes | 59 comments | u/JabrZer0 | r/Python |
Python ad on reddit contains only JavaScript code. Zoom on...
| 428 upvotes | 48 comments | u/mohredlou | r/Python |
Works with live webcam video (idea: u/1991viet)
| 428 upvotes | 53 comments | u/Kuerbiskernkeks | r/Python |
This week's top r/Python posts have arrived!
Made use of my Python knowledge professionally for the first...
I’m a mechanical engineer, but love learning new things. In the last few years, I’ve taken several edX courses on python, and...
| 973 upvotes | 138 comments | u/testfire10 | r/Python |
Learning python as part of my physics course at university....
| 644 upvotes | 106 comments | u/Hawksteinman | r/Python |
I also simulated an island with Python. It's not as in-depth...
| 576 upvotes | 59 comments | u/JabrZer0 | r/Python |
Python ad on reddit contains only JavaScript code. Zoom on...
| 428 upvotes | 48 comments | u/mohredlou | r/Python |
Works with live webcam video (idea: u/1991viet)
| 428 upvotes | 53 comments | u/Kuerbiskernkeks | r/Python |
not looking to do a whole like intense bootcamp.. look a class at NYU that dabbled and I am pretty interested. I'd like to...
Hello folks, I have a developed a slack bot and its working good from my local with ngrok. Now I moved the code to a redhat...
So Python has functions or syntax like if statements or print command. Those syntax hold machine language that is part of...
Hello for my high school coding class we had to make a program that calculates the volume and surface area of a rectangular...
freight = float ( input ( ' how much does your package weight in pounds ')) if freight <= 2: rate = freight*1.10 print =...
freight = float ( input ( ' how much does your package weight in pounds ')) if freight <= 2: rate = freight*1.10 print =...
So Python has functions or syntax like if statements or print command. Those syntax hold machine language that is part of...
I am a beginner to Anaconda and Python, and for my projects I am setting up virtualenvs in separate folders for separate...
Finally, I am done with the recording of my "Python for Data Science" video series! This 32-part video series provides a...
Dear Ladies and Gentlemen, ​ we, PyMunich community, would like to announce our annual PyConWeb 2019 conference,...
Hello does anyone want to help me with a small Python task? I have to make a phonebook that can add and delete friends with...
I have a package that makes long network calls, currently, the package works synchronously using "requests". I would like to...
Haloj folks, During my short career as python developer i made my "best practice" on csv parsing (file without header line)....
I've found lots of post about how not to get to unmanageable code, but lets face it most of the unmanageable code we...
Hi, ​ I'm a french student in the second year of college, and I need to install python packages such as Astropy...
I would really like to use https://github.com/MagicStack/uvloop but it doesnt support...
My first program was to a coin flip game with only one if/else statement. After 2 weeks of progress and learning, I revised...
Hello, Python Redditors. I'm in the process of making some hardware project and currently am trying to wrap my head around...
I'm trying my best to better myself as a Python developer. Most of my scripts so far have been hacky and held together with...
Operating systems like Debian have only one "stable release" of their product. I noticed that Python has both 3.6 and 3.7...
Hello everybody, I am trying to webscrape Nike.com but you can't download their website using urllib (it returns a 403) so...
Hello everyone. I had some hard time with the extension nb_conda_kernel, so I wrote a simple script that register all...
On March 5th, Lentiq will host a free webinar on how to build the next generation data lake, and how data science, analytics,...
I'm trying to install scrapy in my virtaulenv using python3. Once i'm in my virtualenv I use pip to install the library and...
I have a code that uses brute force to break the code by going through the digit list and lowercase list, but i need a more...
​ Processing gif u46tsafeqke21...
​ Processing gif 0g6ipabftke21...
So, nowadays there are very fast async web servers like sanic/vibora/quart that market themselves as "faster than Flask" But,...
First: how can i do this in Python 3.7? printf("What is your name? : ") ; scanf("%s", name) Or the same with a number.
So one of our requirements is to be flexible in the database we’re using. The thing is, there’s nothing out there that works...
https://github.com/cloudsickle/nicebox I build a lot of desktop application GUIs at...
Relatively new to python scripting, and thought I would share my first semi-useful python script. It just gets public...
Crossed my mind today when going through my repo that I tend to hack things together with old code more often than not, when...
I tried to install something with pip but its saying the following: Could not install packages due to an EnvironmentError:...
Hello everyone, As a school project, we are developing a website calendar (using Google Calendar API) where users can create,...
Hi there. I'm looking for a gui (like RipMe) for scraping a twitter profile which has more than 10,000 tweets. And it would...
How do I get Click.echo to print out a string then a float on the same line. it seems to struggle with printing a float after...
I'm not certain if I'm looking at this incorrectly, coding it incorrectly, or just plain unable to do it. ​ I want...
Seems all of the assert* methods don't specify which is the expected value and what is the actual value. I see the doco as...
Hi I am trying to install this thing from git hub. I know nothing about...
I know it's not really a package, because you don't import it, but I really wanted to do my first upload on PyPi! # For...
I feel like im an structured learner, and when learning Python i just start some project that i feel like doing and just go...
Hello, I am new to Python, purchased an online course from Udemy. My question is can Python be turned into a system inventory...
Hi guys I have just started python an was wondering If you could leave some comments that I would find useful Thanks
I wanted to mess around with the os module in pycharm, but when i typed import os is just turned the text gray and didn't...
Hi everyone, I'm starting a simple web-based project that requires a few key functions: - enter your phone number through a...
I've been using IDLE for an IDE and am trying to make the switch to using Anaconda and Spyder as my IDE. When I loaded up...
list_keys = ['Address', 'City', 'Country', 'Postal Code', 'Province'] list_values = ['111 boulevard', 'Toronto',...
My current stack is web dev with some basic Flask and MongoDB for backend. I have worked with Node too. I don't know if this...
So the tutorial claims i'm supposed to get a black window when i run the very first program, but instead i get this. I tried...
Hi, Was thinking about starting with online Competitive Coding mainly to improve my coding skills, Can you guys suggest good...
L4.3 • A customer orders six products. Write a program that asks for the price of each product and the quantity ordered of...
I am trying to learn python for data analysis. I have absolutely no background in programming. I majored in life sciences and...
I would like to be able to push each | into an array Here is my function: def pyramide(lines): k = 1 * lines - 1 for i in...
Hello Everyone, i guess the title says it all. Since python is all about libraries, I've always wanted to make a collection...
Hi everyone, I’m an undergraduate mathematics student wishing to learn Python to aid me in my degree course, however I have...
I'm trying to learn Python and most things I find wonderfully simple but encoding is really driving me insane because it just...
Hello, ​ I have been working on a way to SSH to multiple kali linux machines, run...
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
​ Processing gif una7cr1fjre21...
hello guys, I was wondering if there are programmers interested in my DigimonRPG project, and who is willing to help with...
I recently started learning Python and I’ve come across several great resources, including a number of ebooks that can be...
Hello. I am not a coder. I dabble in digital marketing, domaining etc. I always need some programming jobs done and learning...
Hi all, I'm the author of https://github.com/profusion/sgqlc, a GraphQL client for...
Hello I am having a weird issue with Python. Everytime I open the python 3.7.2 shell I get this warning 'IDLE Warning' and it...
From my understanding, Flask is a microframework for development of back-end API services, and etc. On the other hand, Django...
Hello! I’m (another) marketing pro dabbling with user data, and I started learning Python in DataCamp. I’m finishing the...
Hello I have downloaded and started to play around with Python 3, I find it frustrating however due to the interface being a...
Totally lost on how to start http://debryro.tc.uvu.edu/1400/projects/project07/p07.html
Hi guys, how do I install VPython on Windows 10 OS? I downloaded Visual Studio 2017 as per the website; where do I go from...
Hey All, Where can I find some good resources for testing myself in python as a QA?
I have recently downloaded Python (the command promt looking part) Question is - Where do I download the “output screen”?...
I installed mpi4py in an Anaconda environment. When I created a test file, test.py, with the following...
My friend who is learning JavaScript and I are attempting to make a page and a python script that can work together, however...
I'm currently trying to spend a few months getting really good at Python, specifically for data science. I started taking...
Hi! I am a Business student who's studying CIS in the hopes of getting into the Cyber Security industry once I graduate. My...
Hello, I was curious if anyone knows how to create a rudimentary script to act as a keylogger in or Python, without...
So I'm reading a book and my teacher is putting incredible emphasis on the colors that are mentioned. What I want to do is...
I have a text file with 3 columns. It is extremely large. Hundreds of millions of rows. One of the columns is 'count'. I want...
Hi I am supposed to create a test harness which then creates a log file detailing the filename and others. But I have no idea...
I'm having trouble using Pip for Python 3. Whenever I do: python3 -m pip --version I get an error that says there are no...
Checkout this great Python wallpaper. https://i.redd.it/nvfno325rwe21.jpg [https://dribbble.com/shots/5604285-Mirumee-Python-...
For the life of me, I cannot figure out how to install Python and get going. Environment: Windows 10 Pro I downloaded and...
I came about the following question while coding: is the following use of of dict().values() valid? d = {1: "a", 2: "b", 3:...
i have been trying to have simple data entry field that will allow me to submit a new row of data to my sql data base....
Every time I try to install Python on my PC I get this error message "No Python 3.7 installation was detected" After that...
Hey, ​ I've started writing a short series of articles about magic functions in IPython (do not confuse them with...
Hi y'all! First time here. ​ I've been trying to make that next jump up in my programming by diving into image...
Nowadays Python is one of the most popular programming languages. Specialists value its universality for all types of the...
i am trying to add in some data to a SQL server using pyodbc, this can be done when the text is typed into command as shown...
Does anyone happen to know of or have any good PowerPoint presentations / interactive tutorials on Python that they like in...
I got an assigment that I wanna do in Python.... So there are 100 houses in a villiage, one day a zombie comes to visit, hit...
I'm trying to program a simple AI for "Duck Game" https://store.steampowered.com/app/312530/Duck_Game/ So I'm asking if it's...
I was having issues with my scikit-learn library while using train_test_split method so I removed the package and...
I’m looking to write my own budgeting app using plaid and python. Is it safe to use live credentials in the locally hosted...
There is a new type of music called 8D Music, which basically pans the audio in 3 dimensions around your headphones and adds...
hey guys, im new to this sub and to python and electron. i was wondering if it is possible to use electron which works with...
Hi guys, I'm looking for a fastest way to youtube-dl translation URL (from original-link to stream-link). Obviously using the...
I understand that what I'm trying to do is probably very fundamental for anyone with just the slightest programming...
Hi guys. I have a string of code in Python that i need converted to R. Where can i find coders to quickly hire to make this...
I have been creating a multi client network over wifi. I have a server program and client program. I am able to launch bith...
Hi there! This really looks like a impossible project to me. It's a idea. Make a python program play a trivia game and my...
I have few codes made for ubuntu and when I want to run this codes it's not working on android. I found selenium didn't work...
I'd like to program a timer app that is able to stay out of the way on your screen. It would be cool to have it sit on your...
import sys from github import Github #g = Github("XYZ") g = Github(sys.argv[1]) if (sys.argv)!= 1: print ("Ex: pr.py token")...
I want to be able to parse expressions using Python and traverse the tree in order to build up a query using Django. Some...
Hello good people, I'd be happy to hear any thoughts about tackling a certain challenge. The Challenge: I have an hour-long...
Hello everyone, ​ I'm beginning to learn Python and during my studies I've come across an error I can't understand...
Hey folks, For the past couple months I have been working on research in trajectory generation for multiple vehicles. There...
Hey there! I am doing some ML on spectrographs through a program called Spek. I have about 5000 songs I...
I have recently started using vscode for python. To test my code I highlighted the desired block I wanted to test and right...
So I was making a desktop organizer and I accidentally moved all image files into a folder without making a directory. So now...
Was going to test out a portion of code to see if it gave me the number I thought it would and I ended up with this:...
Hii i just started working with classes after i got confident with my functions Using pygame My first project i gave myself...
I'm making a 2D game, and most of the time when I need a repetitive and/or exact edit, I've used Python and PIL. I just made...
The company has a big line at the payment counter. The company now has a kiosk that handles payments and gives a receipt. The...
I have created a Resume Parser using NLTK and SpaCy. I am successful in extracting following entities: education, email,...
Hi everyone, I wrote this quick blog post about the GIL in order to better understand it myself and try to explain a pretty...
Hello, new to Python (and programming in general). I'll be coding on a Mac with OSX later than 10.9 and I'm presented with...
Hini Hint: e Bin: $25 Amazon You go first or middleman at your expense. Preferably u/ImScarecrow to middleman.
Hello - I am working on some SciKit Learn Random Forest Model building. I have pre-defined my cross validation groups, and as...
Hey. I'm making a server/client program using networking. Everything seems to be working fine, except for when I connect the...
Presage is a great little word prediction tool that is used in Stephen Hawking's...
I'm currently in the process of developing a front end website for personal brand of clothing.. But I wish to turn in to full...
Noticed interesting thing: python startswith is 2 times slower then ==: In [1]: k = "123123123" In [2]: %timeit k[0] == "_"...
I'm surprised I couldn't easily google this. I am using Python 3, often with many packages. I typically have the...
I did some coding exercises recently as preparation for my interviews:...
Background: As a part of my college program, i am supposed to make a project per semester. And this time i chose this '...
I need to make a script to start an anaconda virtual environment using the windows cmd prompt. Is this possible?
I started this as an off-shoot project from something else I was working on. I wanted to see how much you could replicate...
One of the ways I find quite useful to learn a programming language is to read a good quality package/library/framework...
How small could you make a program to check if a string is a palindrome? (Based on lines of code) My record is 2 lines but...
When within a flask's view function HOW can we print a variables's value before the "return" of the funtion ​...
I'm building a simple internal tool to gather and visualize some of our data. In this process, I need to create its interface...
Hi, community! Is there anyone who can help me to develop something? I need a simple program, which can find a particular...
It named guider (https//github.com/iipeace/guider). It's coding style is C/C++ even though it is python program. Anybody help...
Hello, for a project, I need to analyze and work with a lot of data and so I installed anaconda 3.7 but I have trouble...
It would be interesting to curate a list of tools that help us write better Python code and save us time. With the exception...
Is it worth investing time into learning Python 2, with the EOS/EOL coming in 2020 ?
I wrote a little guide on how to use if __name__ == "__main__" in Python. It's a basic thing, but not often...
This is a serious question. I am struggling to figure out where i want to go with python programming as a career choice. I...
I'm trying to learn python and I'm confused about numbers in string representation. This is what I'm trying to do:...
Language is in swedish so may be hard to understand, but line 44 is infinite when I run the program, I don't know to fix my...
Hi everyone! A week ago, I created a webapp called Popbot capable of applying a filter on a photo using a neural network. It...
Hello guys, I have started learning python and I’m stuck on this function. Basically what I want to do is to display if the...
I'm new to flask. I'm looking for some help finding somewhere to host the app, preferably for free, any recommendations?
Hi guys I’m fairly new with python with just several small programs under my belt. But i would like to know how python can be...
Hello everyone Im doin right now quiz project and i need help How to import random question i alredy did a question only i...
I'm trying to scrape some data from a website that requires authentication. I know I can use the wget CLI to download the...
I've got the Macbook Air with macOS Mojave Version 10.14.2 and the default version of Python currently installed is 2.7....
I can programmme a bit of javascript, but I want to learn Python. Where would you recommend me to learn Python?
Hi friends, I was wondering if some experienced with the data analytics/modelling end of python could give me some advice!...
I’ve been looking everywhere for a solid foundation to build a web app which core features are user registration, login,...
Please do tell if this isn't the right sub for this question... Due to my recent career shift to Data Science, Ive started...
Hi guys, I’m supposed to create a code where a spherical ball is supposed to bounce around 4 walls. I’m supposed to keep...
I'm trying wx Widgets because it seems close to what I want but I don't know if it's the right one to use. What I'm trying to...
pretty much the title. I've installed it using pip, and it's telling me that it is successfully installed, but then when i...
Hello guys! I am kinda new to Python and I am trying to make a KeyLogger (I already saw some vids), it works and it...
Hi r/python! ​ Is it feasible to use Python to create a high frequency trading program? If so why/why not?
I have a variable in the form: y = m[i]*t + b[i] where I have values for m and b stored in lists. I'm interested in using a...
I wrote a command-line tool to manage multiple repositories called...
When I run my code, after giving inputs it closes right away. ​ Here is the code ---> personname=input("Enter...
I recently purchased a python bundle, but its not what I expected, and not sure if its a waste. I thought it was interactive,...
Hello guys, basically I am new to python and I need help on this. For example, amount = 100 and sofa = 50. I want to make a...
I've been writing a short series of articles about magic functions in IPython. If you are curious how to: * Run JavaScript or...
I consider this not novice knowledge and more like a discussion than an actual question. Hence I rather ask here than in...
Hi, everyone! ​ I made a video on how to make a Web GUI with Flask framework for a Python script using the Apache...
Hi, I’m currently beginning to learn to code using the course Automate the boring stuff (I used learnpython.org as an...
Hello all, Has anyone found a good resource for flask based websites? I mean pages created with flask that one can download...
Hey all, ​ I'm looking for direction or pseudocode to base what I need. ​ Basically I have a python...
How can I compile python code and resources such as audio files, images, video, or text files into an executable.exe? I have...
I am trying to find a WORKING Python program to download ALL subreddit comments as json. On GitHub there are many projects,...
Hey, So I wanted to run some script on VPS which is using with moviepy. After I launch it on my Ubuntu 16.04 2gb RAM 2core...
Kinda cool, I guess. (Latest release (3.7.2) for Windows.)
cat `which pre-commit` #!/usr/local/opt/python/bin/python3.6 # -- coding: utf-8 -- import re import sys from...
Bandit flags xml.sax.saxutils.escape as being vulnerable when parsing untrusted XML data and recommends using the equivalent...
Hello everyone. I'd like to share with you a project that I've been working on. It's called 'Lip Colour Finder' and it can be...
So this week during the lecture our tutor showed us how to open and read a file without using the file extension. It looked...
Hi everyone, I just started my first steps coding on Python. I would like some help and guidance about this problem....
A C project question. Just trying to reach out to any Meson build system users and it's ok if your solution is for python I...
hello , I have several months to complete a school project and PyBee is exactly what I am looking for , considering python...
I am an Android power user, I am all into flashing and modding my phone. But everytime I roll back to stock ROM I was...
Comparing to the convention used in C and C++ (int main(int argc, char** argv), argc = argument count, argv =...
I am not sure if this is the right place to post this, but I have been practicing python and wanted to show off my recent...
I’m writing a JARVIS type project for the program to learn from the internet and store its own relevant information, using...
I have a graph created with networkx, and I'm working on trying to implement an anonymization algorithm in which I have to...
I have a dice rolling app but I would like to just be able to enter '3d6' for rolling 3 6-sided dice. How can you code custom...
Hey everyone, I was wondering if I could have some help parsing a JSON file. There are so many headers and it is a bit...
I am working on the Python API and also a bot for Starcraft 2 to participate in...
How to get the target path of symlinks in windows using python2.7 ? I've tried using os.readlink(path) but it doesn't seem to...
I know about groupby, applymap, map, etc but I feel like there are a lot of usages in pandas that I'm not aware of. I just...
I've got python, I've got a .py script. Now what, Like I cannot even remotely figure out what the hell everything I've been...
Trying to build a text based program - for conversing with an "artificial intelligence" module based on project "COBE"...
I know about groupby, applymap, map, etc but I feel like there are a lot of usages in pandas that I'm not aware of. I just...
Hi guys, ​ Have a pretty good experience in Python and want to build a new ML skill. ​ What would you...
Hey everyone, I can't find a solution to this, but on my home network, `pip` is awfully slow to download packages. I have a...
Hey everyone, I can't find a solution to this, but on my home network, `pip` is awfully slow to download packages. I have a...
Not entirely sure if this fits this sub, but just wanted to share/get feedback on this mini text based Black Jack game. This...
Minimally sufficient Pandas ​ Pandas is...
Hi everyone,about to start learning python..can anyone suggest good youtube channels/python playlists and practice...
Hello python enthusiasts of reddit. I run & test my every code in two different python environment viz.2.7.15 & v3.7...
I'm currently trying to learn Python and for my first project I'm trying to find the optimal solution to a problem. I've had...
First of all, if this is too ambitious, please feel free to break it to me. I am an intermediate programmer, i.e. I'm not...
I'm currently trying to learn Python and for my first project I'm trying to find the optimal solution to a problem. I've had...
Repository Made an AI implementation of the popular board game, 9 Men's...
Hello, So I am searching, since multiple days now, for a way to build a demon that will wait for tasks to come. This is part...
Hi everyone, I'm using nd2reader for python, from here:...
Hey coders, I have made a new code-only python subreddit for learners that like to fiddle around with the codes and learn...
I mean in normal classes we first create an instance of class then set it variables through `__init__` but in...
I am relatively new to programming and am using the book by Zelle, who created the Graphics library. There appears to be no...
I wrote something I want to send someone that I wrote in python 3. How can I send it to them so they can run if they...
I think it's a pretty solid bot but i'd be interested in any comments that you guys might have - feature requests, bug...
!!Attention all smart people!! I'm a student, that desperately needs help. Can somebody send me a way how to do the mirror...
Hi - I've written a function that prints out all the permutations of a given list. That's all well and good, but rather than...
1) Watch me type everything and explain as I go 2) Watch me paste blocks of code and explain as I go 3) Watch me walk...
Hi. I'm a non-programmer trying to use Automate the Boring Stuff with Python to do exactly that. I watched all the videos and...
I was sold a dream that there was one tool for all your needs. Managed to move projects over initially but problems kept...
I'm just interested in learning more about the applications of python and what it is able to do. Thanks in advance!
Hello every one , i am a student of embedded systems , and i want to do a project for my degree and i have only 3 months!!!...
I have an MP4 file from recording a Zoom webinar on my computer. Unfortunately, at certain points of screen-sharing, I...
Hello everyone, I recently tried to implement a function, that when called, uses subprocess.popen to call Linux' strace on a...
It is my goal to learn python to build a 2d sapce game and have been cramming to learn about creating an engine. My question...
my function accepts two arguments. first one is one text file and the second one is another text file, and its should read...
If you're reading this, you might be interested in my dilemma. I don't have anyone to ask for help with this Python...
Hey everyone! I was just wondering what code I would use to make a bot comment on any post on a certain subreddit or on any...
I need help using python to conduct data analysis on a .dat file. I basically have a .dat file with several rows and on one...
Any suggestions on learning materials, classes or books?
The link to the GitHub page is here. I thought that to learn Pygame I...
Hi, I'm trying to put a surface area formula of a right rectangular pyramid into python. I'm literally stuck. ​...
Hi, I'm trying to put a surface area formula of a right rectangular pyramid into python. I'm literally stuck with a type...
Hello We are looking for Python developers preferably with machine learning background having at least 3 years of experience...
I have an extensive text file that I would like to extract parts of to create a json file. I haven’t had an issue getting the...
I have quite literally zero experience with Python, but I took a course in programming with Java. What program should I...
Hello everyone! I’m hoping someone can point me in the right direction. I made a text-based game using python. It requires...
I have been learning python for a few years as a hobby and am in the process of doing some prerequisite subjects to apply for...
I'm still new to Python, so this may be a dumb question, but if you wrote a program that ran in a command prompt window, is...
This week's top r/Python posts have arrived!
Best Python Cheatsheet Ever!
| 1062 upvotes | 82 comments | u/pizzaburek | r/Python |
So true!
| 987 upvotes | 62 comments | u/jeromymanuel | r/Python |
Flask has overtaken Django according to the 2018 JetBrains...
| 847 upvotes | 242 comments | u/pastorhudson | r/Python |
How to Make a Desktop GUI Application in Python?
Nowadays Python is one of the most popular programming languages. Specialists value its universality for all types of the...
| 835 upvotes | 157 comments | u/TinaWard | r/Python |
Honestly, just sharing because I'm stoked I figured this out...
| 687 upvotes | 89 comments | u/D3vilM4yCry | r/Python |
Stuck on python, really shit at it, appreciate any help, the only code I got so far isn't great at all and doesn't even run...
Where can I learn the command for gym-super-mario-bros? If you know, please attach a link.
Hello Redditors, 7 years ago, I was a college student. My college doesn't teach me advance programming, but only basic of all...
I’m a junior in highschool and I’m going to learn Python. I hear that there is a large need of programmers in todays day and...
The hash() is a built-in python method, used to return a unique number . This can be applied to any user-defined object which...
I'm trying to read a semi-large .xlsx file. It's about 250MB, not outrageous, about 130,000 rows, and about 800 columns. All...
Given x: ​ x={ 'id': 'abc', 'children': [ { 'id': 'def' }, { 'id': 'ghi'}, { 'id': 'jkl' } ] } ​ I...
I am completely new and haven't even written hello world yet. I have a question if I was to make a program in Python to be in...
Not to sound elitist or anything, but there's a lot of beginner-level questions and posts to sift through on this sub (which...
Filling out tax forms by hand is formulaic, tedious, and slow. While some products wrap everything in a nice GUI, they, too,...
Hey guys! I'm finding a python IDE or any online python compiler with pandas library. I basically want is to load my local...
Please recommend which python frameworks would be good for building a map web application? I am creating an application which...
Hi, I after suffering through too much argparse and too many flags in research code, I wrote a small library that uses mypy...
I am starting out in the python world and I tried to create my first script that searches for a song in youtube and plays it...
I have implemented a dependency graph (think Excel) in Python for systems with massive calculation complexities (e.g. trading...
Hello r/Python redditors! I'm freshman student here in Korea and I have my interest in quantitative finance and NLP(majoring...
Hello guys, I'm attending a machine learning course (mlcourse.ai) and it looks like I'll have to work...
What stuff can i potentially make with python, need some specific examples as i struggle to find out what to use it for....
I am practicing python and am stuck on this problem, if someone could please help, thanks!
Hey, r/Python! I'm Carmine, a researcher at the University of Zurich interested in supporting developers working with CI/CD....
We need to generate a report using a template. Some slides contain tables, where the data will be pulled from data sources...
Hi r/Python, ​ Simple question here, just looking to get public opinion on this. Would you consider it bad...
I started using Python recently and, based on what I have discovered, made some notes on how to best manage dependencies in a...
Is there any Python static analysis tool that can catch a logic error like this? if blarg is None: blarg.some_property = ''...
For someone who wants to get into the language. I have PyCharm installed with Anaconda python
It's been 1 year since I've started programming in Python. When I think back at how happy I was to get strings printing via a...
It's been 1 year since I've started programming in Python. When I think back at how happy I was to get strings printing via a...
Hello guys, I searching a book for leraning python, i'm a junior programmer ed i studied a Java ed now I would learn a...
Im just wondering if anyone out there has any suggestions for a good place to start learning python. I have tried a few udemy...
I noticed that Openpyxl doesn't have an option just to insert at a specific cell. It only allows insertions of rows and...
So i've run into a bit of a roadblock and i dont even know where to go from here. For security reasons we need to update our...
I am making a simple rock, paper, scissors game that you play against the computer. When you put in, "stats" it will tell you...
I used python to create a script to crawl the English language 4 letter Reddit usernames still available and find one which I...
What's the difference between Jupyter Notebook Pycharm and the Anaconda one?
I just got python and I want to try and program a simple calculator using variables. The problem is I have no interface with...
Hey! So I’m in a computer science highschool course and for the course we are assigned a huge project. It doesn’t have to be...
klaxon is a Mac OS notification library. ​ Sometimes I have some long-...
Hello, I am currently taking a basic intro to Python programming course at university and the pratice question that we are...
We want to get to the next level with our python code. Therefore, it seems necessary to have a way to share our packages, so...
I am a newer in data analysis. I always confuse about using pandas's functions. A lot of functions in pandas is doing the...
I uninstall cv2, and then I install cv2(version pip install opencv-python==3.4.0.12 ) then I open my shell. I type import...
Hello everyone! As you may know Python 3.7 has data classes (there is also a backport for Python 3.6). When I was working on...
Hi, i want the keylogger collected data to be showed properly in the text file, i wonder how i can improve this code to do...
hello everyone. I am currently learning Python. I have been for awhile but I dropped it and came back to it recently. My main...
I'm finishing up a new small but useful utility that's a single Python file - one I expect will rarely change once it's...
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
something like: python "gist.com/0349kf034f04rko04r" ​ and then it would...