1 messages · Page 18 of 1
I'm doing a web scraping project these days, and I've looked for an ORM for Python. I'm trying SQLAlchemy right now, but it's...
To detect unused python libraries ## Installation and Usage ## Installation...
Hi. I'm trying to get data from an URL which is only available via TLS1.0 (I know). When using requests I'm getting an error...
I'm making a sudoku solver which inputs an image of a sudoku and outputs the solved sudoku. Most of the coding is done, but...
How many of you have used Google Colab? I found it a very easy and interactive tool while we are learning how to program in...
Beginner programmer here When i try to import random to my file, my text editor (VScode) suggests me _random instead of...
What is True?!! There is no statement in this code while True: print("dd")
I've OCR scanned a few thousand pdf legal documents and now I'm trying to extract sections and compare it to template text to...
https://pypi.org/project/simplepkg/ simplepkg is a a simple python package scaffolding utility, the generated package is...
Hi I am starting with python and I was searching in google how do web scraping with python. The idea is need to get Uber Eats...
so i'm trying to make a text based game with some text art to liven it up. this is what i have in the code editor...
Hi i am trying to change everything in this list1 from string to a list of its individual element. My code is as follows def...
i thought this should work but it just gives me a 8 digit output with a t at the end ​ from tkinter import *...
In my python code here: https://github.com/bonkaj/Eureka.git I am unable to figure...
Second Chance Lol😂(Embarrassing mistaken)
One day I was doing some calculations on python with jupyter open and it then suddenly stopped. That's it. The error didn't...
For data science–and for the data scientist– type hinting is invaluable for a couple of reasons: * It makes it much easier to...
Hey Im new to reedit so hello there. I wanted to ask if I should read python books from the beggining? I read Introduce to...
So, the website I'm trying to scrape from is: https//viewyourdeal-gabrielsimone.com' The product names and prices are under...
What are some options for creating a python-based web dashboard for viewing and analyzing data on the web? Preferences?...
If you have no previous knowledge or experience in Python programming, don't worry you will like that the course begins with...
Just doing pip list is enough to trigger this. In the mentioned directory the permissions all look like -rw-r----- 1 root...
Parent Folder Locator.py Section 1(Folder) -> test_sectionone.py Locator.py contains all my Xpaths. Now when I try to...
Looking to use python to scrape link for the generated story. I'd like to pass an input...
Greetings, I have a large csv of data in the format time1,value1,,time2,value2,,time3,value3 and so on. The header names are...
What is most recommended right now I use an online interpreter and find it hard to save my work
Hello, ​ I've looked for the answer on the Internet but did not find anything. I'm dealing with Dollars and...
Thanks for the help
Almost four months ago, I have started a Discord Community to guide developers through the tough times of programming. We do...
hello im triying to build a pixel change detection script, that will notify me via telegram if something happens, it works...
Hi everyone. ​ I'm very new to Flask and have been playing with passing information from a normal Python script...
I'm capable to read/edit html and css , in a strictly basic context and or occasionally proofread when there's errors. I'm...
Would like to output some data in pretty report formats but I can't find any documentation.
Logical Operators Explained "and", "or" and "not" operator
Hi, I have been working on an autonomous vehicle as a 2 year year 11-12 project and I have a question. In my code I want to...
If I have columns with multiple strings separated by commas, is there a way that I can use a "for" loop to run each of the...
I am new to pyodbc where I am trying to fetch the rows and columns of a table from SQL. The issue is after fetching the rows...
For some reason >3 * 2.4 Yields 7.19999999999999 Any Reason for this, any quick fixes
I have over 100 different folders for some work am doing, and its shared between people, so the name of it keeps changing....
Why does the following code not work? It brings up an index error on line 12, (brightness = img[x,y]). The code is meant to...
Why does the following code not work? It brings up an index error on line 12, (brightness = img[x,y]) The code is meant to...
I need to make this GUI in the absolute quickest way possible: https://i.imgur.com/6orKzDt.png The idea is: 1. The...
I have used PyScaffold to create structure for my project. Flake8 command created by default is working by using python...
Hello All, I am writing a short script to utilize crypt.crypt in python in order to make password hashes, then later compare...
Hey guys, new here. And I've never written a line of python! I was thinking of making an app for accounting and stock...
I’ve converted an image to grayscale and now want to turn certain pixels yellow. For these selected pixels, I run the code-...
Hi, Python beginner here. I am trying to call a command which requires a variable encased in quotes, and I can't figure out...
This is just a quick and dirty hack, but until just after cloning the project locally, I have not ever touched a line of...
Hi, I'm learning about async/await/asyncio Python stuff. As I'm focusing more on web developing, I did a little research...
I've created a really basic Langton's Ant program with graphics.py. It works...
This is the repo for a simple script I wrote. It helps me determine if something could be a good investment based off of its...
Obviously this version is old, but i haven't had the time to learn everything about 3 yet. anyways, ive been working on a...
So when you pop() three from a list of six you are grabbing -6, -5, & -4 When you append does python automatically append...
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
Howdy, I'm a sophomore in college, and I'm working on a python project for computer science. For some reason, PIP seems to be...
Coming from C++ I am having understanding the argument passing mechanism in Python. I see stuff like this: def foo(a):...
Here is a python module that gets you a bunch of fresh, checked proxies! I hope you all will like it! Github:...
What are the main reasons that make python (CPython) so much slower than java? Running some benchmarks I saw that python...
Fellow pythonistas, I wrote a really simple function for formulating REST API urls. This is born out of a desire to reduce...
Why should I use a @classmethod? And what is @staticmethod?
My school started doing this Genius Hour enrichment program and I am in it. For the project we are supposed to explore...
Hi, I have a simple class 'point' containing 4 variables (x, y, xOffset, yOffset). I want to have a twodimensional array of...
I want to call Java methods from within Python using Py4j (which is used by Apache Spark for PySpark). However, I am having...
On a development machine I can serve a flash script with the syntax: python3 filename.py I can also serve a folder with html...
Hi! i'm looking for a capability to manage my AWS RDS MySQL database schema with python. Has anyone figured out how to manage...
Hi all, I'm learning Python and I've stumbled upon float division and integer division. I understand conceptually that the...
Let's say an input is something like: "hello, this is me on Reddit", and I want to add a "z" to the end of every word, so the...
Hi everyone, I've been stuck on this assignment for a few hours. Essentially, I have to create a function that returns a...
I am very new to python, and one of my current classes has us running python files simply to get data from the program. They...
Out of all of the pages I follow for languages, frameworks, and libraries, I find that Python-related pages have users that...
I work at a very large bank so getting admin access on my computer is not an option.
How do I generate a bunch of random numbers that only have a specific amount of duplicates? I'm trying to print 5 random...
Hi, I'm not really satisfied with the default syntax highlighting in pycharm and was wondering if anyone had some good ones...
So right now I’m working on a script for an auto checkout bot and I was wondering if someone can explain how I can develop a...
I have created an amazing example to showcase webpage automation and how it can be used to easily automate polls. If any of...
I have a backend that I've been working on for close to a month that is finally completed and tested. I would like to port it...
Is there any package in any language to generate random orthogonal polygon (preferably in Python)? What are some good...
I had some ideas for trading strategies and even coded (in Python), but my programs only transform the input (I am using...
I have a Django function that takes in an epoch time from Stripe and converts it to a human readable date. However, I want to...
So I have a dataset which is basically just a list of the date and times something happens. Every time this event happens, I...
I have a column that I use as a flag to raise an alarm and send an email. The issue that I have is that I am able to send...
I live in a bizarre world this has to be stated. I would have never considered the idea of bring a weapon (I don't even think...
Hello! I'm trying to move/rename a parent folder from which my python script is in. But i keep getting this error:...
So my company has a 500€/year learning budget. I think I am going to spend 150€ on 3 month datacamp subscription to learn...
The Automate The Boring Stuff With Python just gets stuck loading up. It isn’t my...
I have a linux machine that when you log in has Python 2.6. With the command scl enable rh-python36 bash I can change to...
I need some help, I have 2 scripts that need to interact with each other. I've got an 'input()' in script 1 and I want script...
Hey all, I am looking for a media player to use that has perfect frame accuracy and can play out Audio to use in a new...
I'm trying to parse bash piped values from a file using stdin and using read() function on input. For e.g.: for i in...
I have an academic project to develop. I have tried django before but not flask. That's where I need help. Which would be...
I am a person who starts more projects than I have completed. And again I have a new idea and 5 open project :D That is...
Hello , I’m new to python and wanting to learn how to use python . Thus I’m looking for some people that are willing to help...
I found this blog post showing basics on how to use xlwings....
Do you have a programming related degree? ---- Hello everyone. I'm curious to know how many of you have degrees in computer...
Hi all, So I am learning python and I just got to the classes section.
Hi please somebody help me. easy question but im probably over worked at this stage. lets say I have Doubly linked list full...
Hello everyone. Registration for hacktoberfest is open. Let’s make a post where...
You can play with it at https://www.reddit.com/r/RedditGetsTwitter/ Just post a comment in the most...
So i have the following lists... list1 = [66,47,32,99....] list2 = [31,12,78,66,345....] how do i create a new...
For some reason, i = 1 gets marked as an error (specifically the "="), i just want to create a little loop that repeats as...
Hello everyone. My team recently decided to switch some of the applications we have from PHP to Python, since most of the...
Sorry for the unspecificness but I’m really confused as my teacher is horrible and tells us to do things without explaining...
I started programming in R and now I am learning Python. One extremely advantageous feature of R is that in R objects can be...
So I am honestly overthinking this but I can't get the if/elif statements to register with the code. ​...
A friendly introduction to the main algorithms of Machine Learning with examples such as (No previous knowledge required, but...
I did a query using SQL code and I want to know if it can be translated into python easily.
Hello, I' m totally new with python and react, and I want to ask a question. I know python that can run as a back-end server,...
[https://www.inkoop.io/blog/web-scraping-using-python-and-scrapy/](https://www.inkoop.io/blog/web-scraping-using-python-and-...
Hey guys, I posted here a few days ago. I'm wanting to learn Python yet I've never written a line of code of it so far. I...
Has anyone used this module before? I was testing it to see if I can use it to scrape emails from a shared mailbox to build a...
Does any one have any advice on where to look for contract work? Specifically related to automating tasks, building GUIS, and...
Looking for some help with the following code: https://pastebin.com/2ev2KTB0 The restaurant...
So, i cant use the graphics library i think. I ve pasted the graphics.py file into the anaconda Lib where it has the read.me...
There has been a lot of [recent discussion of the power of Python type-...
The title says it all I think! Thanks in advance
File "/home/ubuntu/anaconda3/envs/psychopyenv_test/lib/python2.7/site-packages/psychopy/contrib/lazy_import.py", line 119,...
I'm coming over from R and working with "medium-sized" data (e.g. several gigabyte data frames). I'm testing out pandas...
from cryptography import fernet from cryptography.fernet import Fernet class crypt: def init(self): self.key =...
I have an I/O task to perform on several remote devices. I’d like to thread the RPC call but I want to make sure each device...
Good Evening, I'm looking for someone that has either extensive knowledge of Python (or programming in general) or uses...
There are various accounting software that clients have that don't allow exports to excel, at least without paying extra....
I want to make a program that gives me my lines one at a time, but I don’t know how to make it move one line every click or...
print("Give me b") b = input() print("Give me a") a = input() print("give me c") c = input() ​ def squared(x):...
As title says, outsourcing to reddit for some ideas to tackle a little task I am working on. I am trying to extract...
Hello As the title says, I'm trying to install anaconda but it's been several tries, some freezes and this last attempt is...
When I choose Python Interpreter from VS Code interface, here is the listed versions I have (screenshot below). My question...
I'm very new to vim. I write mostly python programs. Any shortcuts that will ease my python scripting in vim will be very...
Came across a really interesting article on how python was used to automate certain tasks. Definitely a lifesaver when it...
I know that python can be used to automate stuff, but don't know the tasks that I can automate. I also know about the...
I have trouble calculating depth from disparity map using opencv. I know that the distance in two stereo images is calculated...
Please guide me for about python future scope. I want boost my career in python.
I'm just getting started learning python and I see a lot of people recommending these two books to beginners. So what I want...
groups = [['James Scott','Mary Robinson', 'Willie Hayes','Katherine Davis','Chad Butler','Josephine Clark','Zachary...
Hi everyone, im trying to scrape a complete subreddit (relationships), including comments, post, likes, etc. Somebody know...
I have 2 years of python experience. Are there any books you guys can recommend me?
So sometimes while solving such problems I used to run into different issues and would take a lot of time to fix them. Most...
I know the language is cross platform, but is it easy to port? Would a program made on Linux be easily ported to ios or...
So sometimes while solving such problems I used to run into different issues and would take a lot of time to fix them. Most...
I'm currently working on a project for my thesis, and I'm an undergraduate student. I'm also new to python. I'm having a set...
I don't want to annoy you with my very basic questions, but I am stuck and I hope you can help me. I've done tutorials and...
Can any linter display a warning when a variable of a type that does not implement __bool__ is used in a bool context?...
Hi all, So I’m having real trouble with setting up a clock to end a routine (I'm working in PsychoPy). I’ve tried lines of...
i have tried this, but i get an error how do i fix it (im very new to this, please be kind) import webbrowser import os...
Hey, except for some Arduino stuff, I'm a newbie in programming. I'd like to ask more experienced programmers if an idea I...
I used pip install pandas in command prompt, and then tried import pandas as pd in Python 3.7.3 shell, but it returned...
I just wanted to find someone that could give me a few pointers , I’m doing things like BMI calculators and conversions and...
Hey I created python library for downloading books from 'libgen'. You can download multiple books. You can also create...
So far I got this: year = input("Enter year: ") lenght = len(year) while lenght > 5: print("Enter year: ") year =...
Hello, I currently work in credit risk which i find extremely boring, I would like to work on a invesment fund, ideally using...
Pandas, MatPlotLib, Sonar, Plotly, Seaborn, Plotly Express... there are so many to trial, but I'm not sure which one to go...
Hello, My goal is to determine if a transactions comes from a group of companies. I have a separate data set with example...
All help is appreciated :)
I recently heard someone talking about the Grasshopper app. This app teaches how to program for...
I'm pretty new to python. Is there a way to change the index names in an array/list from the usual 0,1,2,3,etc? For example...
I already have installed tkinter with the commans: sudo apt install python3-pip, sudo apt-get install python-tk and sudo apt-...
Are there any shortcomings of what you can do with the tools that the python multiprocessing module provides (both...
So I want to track all my business Instagram data. I am trying to use the Insights API...
I have SQL stored procedure that returns two tables. Have to say that I am new to python. How can I save each table in...
Hi! I'm new to python, but I've had prior experience in coding like snap and scratch. Does anyone know any beginner resources...
W'e're building an IIoT solution and most of our edge software is in Python (3.7+). Right now, when we push an upgrade, we...
If you are interested to know about Malaysia's vehicle market, here it is. Perodua is the largest vehicle market share in...
(Im assuming this goes here because its not about doing something in Python but Python itself) I have Python 3.7.4 for...
So I was wondering if I could get some guidance from the python experts of this subreddits. I'm a complete novice when it...
i am learning Python and i am curious how would this SQL query be translated using Python. I have this data set that I am...
I'm trying to make a bitcoin miner code in Python. I'm a newbie, and I've been trying for days to piece together code from...
I'm stuck on this and have been trying for a few hours. Any help would be greatly appreciated!
Hello guys, I am currently on a helpdesk job, where I need to monitor some networks and from time to time based on some...
Hi, so I'm trying to create a monitoring script for our mail gateway servers to make sure that external emails could go...
I have a list of 12 (x,y) coordinates that form a convex polygon. To find the area of this convex polygon I need to find the...
Hello,guys i am a chinese senior high student. I have started learning python for a month and i got an oppertunite to use...
I'm working on a large power systems optimisation project, where I'm optimising 6 system control parameters using particle...
(Ref: https://stackoverflow.com/q/58132171/4993513 ) ​ This is...
I am trying to work with Shuup, but I am having trouble because it won't work with SQLite 3.26 and above. I have tried pip...
Hi, today i wanna post my tool written in python3 because is my first tool written in python3.7 (i come from 2.7) and i was...
Oh those good old memories python turtle example >>> import turtle...
This is my code: import random import time while True: addend1 = random.randint(0,50) `addend2 =...
Some back story: I recently (within the last 6 months) picked up programming to help automate certain aspects of my current...
I have a python code that sends out an email when the time flag is 1. It's working fine as I expected but the output has a...
ok, so im programming a brute force application to hopefully better the security of my websites, basically this lets hackers...
Basically the title. I've been programming a lot lately with Python, and I've been loving it. However, a few days ago I tried...
This week I'm trying to explore Quart framework that the framework claimed has the same...
I Used Tkinter with decent luck in the past but I want to find my end all GUI system an TK doesn't seem to fit the bill. On...
Such tools typically let you set variables and construct sentences using them. $object = ["hammer", "scissors",...
Hi all! I will be starting in Data science team as a Data engineer. I am a recent CS grad. I have been coding in scala for a...
Hi, I'm new to Python but have a long time experience with other programming languages. For a few days now I'm programing on...
I'm pretty novice when it comes to programming in general and I have a question about "in-place" vs. "not in-place?". When an...
Hey there, I created a script, which downloads all NASA POTD Images from the RSS feed with Python requests and BS4. It stores...
Hello there, I am just starting learning python, I pretty much know the basics and was thinking about starting a little easy...
I'm a Python and Django developer. PyPi doesn't seem to offer a way to get notified when a project/package gets updated. Can...
Hello r/Python, I am a beginner in programming, starting with python as first language. I am also a mathematics student at...
I am pretty sure every team has its own way of doing things. But I am just trying to get a sense on production deployment...
I am a beginner in python and I try to learn about using sockets in python and build a client and server scripts that send...
if pokemon_user == "Charizard": pokemon_bot = "Blastoise" pokemon_bot_hp = 237 pokemon_user_hp = 234 elif pokemon_user...
import os plugin = [] x = None for filename in os.listdir("plugins"): if filename.endswith(".py"): plugin.append(filename)...
https://github.com/hakancelik96/unimport ## Version Notes * Some class and...
I just wrote an automation part to speedup Python module building and shipping, and put it on Github:...
Today I noticed that I can't load any of the modules I had installed in the last several weeks. If I try importing cv2 or...
When I make the line angled at 45 degrees, so that it hits every corner, every fifth corner is repeated when the...
I have decrypted my chrome cookies from the 'Cookies' file, but how to I format them for use in a extension like EditThisCookie.
I say yes, but I'm willing to be convinced otherwise. Also, I thought some mod posted some plans about improving the signal...
The Redis Web UI I started here on the r/Python "what's everyone working on this week" two weeks ago (as a weekend project,...
So, I am trying to create bot in python which is going to press left mouse button two times in the time delay of 9.806655...
I decided to start collecting some programming problems and sharing them on one of the federated instances of mastodon. I put...
A lot of the examples of software I see show UIs looking like they're from the 2000's (and many of them are, but I don't see...
​ 1. Say you have an excel sheet and you want python to read stuff in that excel sheet and convert it to code. ex:...
it wants me to find an imaginary middle letter placement for an imaginary word of odd length why is it like this? wouldn't...
Does anyone have experience with Anaconda and Spyder and if so has anyone had an issue with when running a program it logs...
I have seen a few games where you write code as part of the game, one of them has tanks and it's .net or Java, and another is...
If you need help applying to jobs, then take a look at my repo. [https://github.com/phos-tou-...
I have a dict and want to perform division based on date { "c": [ { "sum": 27, "_id": { "date": "2019-09-25" } }, { "sum":...
I’ve started to teach myself python and am looking to create an application for work that I can keep adding to as my skill...
Is it possible to import a .txt file that contains a list of data, separated by commas, and use the variable you assigned to...
So I’m my python script, I have my code. I would like to protect this code so when I turn it into an executable file, it will...
I have been doing little python console apps for quite a while, usually for processing log data or similar.. things that are...
I have a data frame imported from SQL. The issue is when I send an email, the default index automatically appears. How do I...
I have a data frame imported from SQL. The issue is when I send an email, the default index automatically appears. How do I...
​ https://i.redd.it/0qq27yo4vap31.jpg
I am sending an email with a table using to_html in pandas dataframe but how do I justify the table and apply different...
I am going to publish a handy python library that I made a long time ago. Everyone can download the project from my personal...
How to print dataframe without the column name.
i found this line on the internet : fence = [[] for i in range(key)] Is it just two lines morphed together? fence = []...
ODSC India is looking for speakers for the 2020 conference in Bengaluru, India. If you've got an innovative application or...
Hi, can anyone help me please, I have deque list full of URLs like this['../Disclaimer/cookie.html',...
Can you go to a website importing data from a spreadsheet hosted on someone else’s website? And would you have a link to a...
I just searched about it and found many courses but I am still not sure about them. Is there any free method to learn Python...
I’m marking a new game and I need ideas so plz send ideas in the comments thx
I am working on a model that predicts the patterns on a chladni plate. I have the following equation:...
So for the last 2 months or so, I have been working on a website in Django, and it's just a social network, it's fully...
Hey all, I made a program that converts distances from one unit to another. It returns one variable through several...
I am sending an email with a table using to_html in pandas data frame but how do I justify the table and apply different...
I'm looking for a graphics library for python that has high performance, possibly using the GPU. I've been searching around...
I was confused once again today by the multitude of different Python implementation versions and their names floating around,...
Hello Im new to Python so pls dont roast me :) I want to save bitcoin prices to a excel file. I tried a few things but it did...
I wanted to know some automation ideas, So it'll be very helpful if you guys just tell me what tasks you automated! Any Help...
Some time ago I starter creating DuinoCoin with my friends. Thing that separates it from other coins is a fact that it can be...
Any suggestions on the ORM's that can be used with Starlette? Anything need to be watched out for?
Hi everyone. This project initially started as a way for me to control simple actions in my home and office computers...
Hi All, Learning a bit of Python together with my son by using Microbit. I Apologise if using the wrong terms. Please correct...
Most tutorials for web development with python involve Flask, Django, or some other framework. Anything touching http.server...
There are many verbose "install python" treatises out there, but I still get questions all the time about "how do I do it...
so in my program (its a temperature conversion program) no matter what i input as the temperature unit (tunit) it always uses...
Complete noob here, excuse my horrendous code. My code is basically the Windows login screen, when asked to register or...
I have not used Python before I normally use C# or VBA. I was asked if I could create a type of man in the middle device. I...
I can't find any official Apple Calender API or library that I can use for a python project. Does anyone know if such a thing...
Over the past 20+ years, my family took tens of thousands of photos while visiting countries all around the world. As the...
balloons = int(input(" Enter number of balloons: ")) children = int(input("Enter number of children: ")) total = balloons /...
I’m a beginner to python and have done a few beginner projects here and there but I am looking for more. Any ideas are...
So I’m sort of new to python and I was wondering if someone had any ideas as to what I should do next, so I can become more...
Hello folks, anyone know of a good open source application health monitor with web ui? I have a Django web application with...
# Ok, so i know have geniunly proven that all information in this universe can be recreated by alogrithms # ( Please use...
I've recently created a project that uses OpenCV heavily and I would like to make it into an Android App, as it would be very...
I want to create a widget like this...
Write a python program to print and do the followings: A: Add P: Print I: In S: Stop The user can input either one of these...
So I made a thing a few weeks ago that uses openCV and a CNN to classify hand gestures. I was now wondering if it would be...
Hi, This is a fun project I am working on: https://github.com/marcogdepinto/Django-Emotion-Classification-Ravdess-API It...
TL;DR: https://github.com/python-microservices/ is a [Microservice chassis...
I created some code for a programming lesson in school (it's a sorting algorythm, don't tell me how I can improve it, I know...
For those of you interested in getting involved this Hacktoberfest, consider the PyPLANE project; an open-source application...
Hi, does any one know how to put a image on a moving object in pygame
So is better not to use init.py at all And where would I put the code inside it that was executed automatically? I should...
Lately I’ve been making algorithms and going into the higher side of python, and now me and my buddy had a great idea of a...
Hi, I'm trying to use python 3 to send a Post request to a php server, and is not receiving the post with NULL for whatever...
Hi,all just created a new subreddit /r/PythonForStartups/ is a subreddit...
The question is to write a line of code... I would appreciate your help! To determine if a single last name stored in...
Which one should I learn flask or Django for python web development? Does they have any similarities?
Hi. Can Someone send me a code which converts a Hindu Arabic to Roman Numeral number. Thank you. ASAP
def __init__(self): pathToBmp = os.path.normpath("C:\\Users\\Admin\\PycharmProjects\\Ransomware\\test.bmp")...
from random import randrange trys=0 limit=3 while trys < limit: number1=randrange(range(2,10))...
So I have this code that calculates the difference between user given dates. I have to function on another .py file. The code...
Hi so I’m kind of new to python so I’m sorry if this question seems silly. I’m currently working on a project that uses a 3d...
I have strings like this https://i.imgur.com/PE799AB.png And whole text (book in this case) I need lazy search for most...
Hi, I'm having trouble finding out how to create a linear regression line. I have this scatter...
trying to do something with webdriver but have an issue with captcha tests, is there a way around this?
I created a small free library which allows you to quickly create rich interactive command-line interfaces with sections,...
So I have a histogram with words and their frequencies. I want to use random.choice(...) to randomly choose a word from the...
For example: names =("Mike1", "Mike10", "Mike3", "Mike2") should return: Mike1, Mike2, Mike3, Mike10 Instead I get: Mike1,...
Recent(https://github.com/dotslash/recent2/) does the following. 1. Logs current localtime, command text, current pid,...
This week's top r/Python posts have arrived!
I dislike Tkinter so I made a Drag-and-Drop Gui builder to...
| 1678 upvotes | 110 comments | u/import-username-as-u | r/Python |
I took some suggestions and improved my solar system...
| 1116 upvotes | 43 comments | u/thebuffed | r/Python |
I used TensorFlow and made a Deep Q Network (DQN)...
| 758 upvotes | 36 comments | u/ManBearHybrid | r/Python |
AI Learns to perfectly play Snake using a Genetic Algorithm...
| 610 upvotes | 38 comments | u/Kush131 | r/Python |
Just made a Python app to convert thousands of my photos to a...
Over the past 20+ years, my family took tens of thousands of photos while visiting countries all around the world. As the...
| 567 upvotes | 54 comments | u/emolinare | r/Python |
I’m doing an assignment on compound interest and I am trying to subtract the previous iteration amount to the current to get...
I have a program that I am trying to make in Python and after user input I need a lockout of input for the sleep time...
I have to come up with an assignment proposal by this week but I have no idea what to do. Can you guys help think of...
The script I wrote has calculated only 1 centroid of all the parts of the polygon feature class. I need to calculate...
Sometimes, the only data set is an unstructured data source, for example, scanned images in PDF files. Therefore, ignoring it...
Is it possible to accomplish that using the zip function? Say for example: a = [1, 2, 3] b = [1, 2, 3] I want to combine...
I’m currently a finance student at uconn. I’m very busy with clubs and academics, but i feel as if I am doing myself a great...
Hi, Has anyone used Raymond Hettingers puzzle class to solve tic tac toe? I'm trying to do it myself, but am having some...
I want to make a sphere with the earths surface, so I created a sphere and have a lot of trapezia I want to put rectangular...
I'm not beating the challenge, but i can recreate the Million Random Digits from the challenge with a very simple python...
I have a hellava time just defining a function to use later but know my way around matplotlib passingly enough to make...
For those who aren't familiar in the UK we do a levels (advanced levels) which we do between the ages of 16 and 18. 20% of...
​ https://i.redd.it/wak9i1kq7pp31.gif Quite simple, you control a drone and have to land safely on the green...
Python Pandas is defined as an open-source library that provides high-performance data manipulation in Python. This tutorial...
If this is considered common knowledge, please create an algorithim that does what my program does to tell me that it's...
I saw an interesting technique in a [python-ideas mailing list thread](https://mail.python.org/archives/list/python-...
I have a script I'm planning to run from a server (no browser, so no selenium) that I want to go to a web page and click a...
3 days ago, I was called from my university to give a talk on python tools and practices, oriented mainly towards beginners....
Hi, I want to convert a string like "Hello World" into the utf-8 encoded equivalent and then I want to get the binary value...
The Python on microcontrollers newsletter is the up to date happensings for using Python on electronics. MicroPython,...
Hi, I've been going through learning the basics of Python and it seems pretty nice. I've covered most the basics up to...
Hey! I'm doing a simple blackjack game, there still many errors in the code but I'm focusing on the amount of money that I...
when i try to run this code.The screen says : SyntaxError: invalid syntax ​ what should i do? Here's the code :...
Hi everyone. I have installed python 3.7.3 on my Android phone using Termux. When i import synchronize from multiprocessing i...
Hey guys, can someone explain me the following: I have the following calculation: price = 0.5 + 1.00 * 1.10 + 1 * 1.00...
Hey guys, can someone explain me the following: I have the following calculation: price = 0.5 + 1.00 * 1.10 + 1 * 1.00...
Worked on a Meraki API script to pull wireless event logs based on user inputs. I am not a python expert by any means so...
DISCLAIMER: I have only developed small scripts and projects and never delivered production code to anyone, so pardon me if...
I am using service with rate limit of 200 requests per 30 seconds. Is there a way I can build kind of batch proxy allowing me...
Does anyone have sites for state of the art deep learning algorithms for Python
I'm trying to understand dictionaries more and working on a problem and trying to get a specific result. I want to have a...
Can any one suggest me a python module where i can build good ui easily. Previously i used kivy but like it much.
My problem is that I am trying to have a python liberi on a usb stick so my script on the usb stick can use the “import”...
Is dbm with pickle only used as a learning tool? Shelve seems better in practical use.
Hey everyone, I'm looking for good books to use to learn some of the finer features or some better, more efficient ways to...
This is a short demo about the process of creating and editing Windows registries keys and values using Python. To put in in...
Does anyone know an algorithm to decompress a file in python? I'd appreciate any help as I've never done any compression or...
Guys, I need to use requests, if possible with this adapter: [https://pypi.org/project/requests-...
I have to make a code where I put 3 numbers and the program have to pick the two biggest, add them and make an average, cant...
Hello! I am working on a shoe bot and I need a GUI for it. If anyone wants to help who is professional please!!! Message me...
Context: >I am passing a string to be converted to a list. The list is then parsed through and at each index written to a...
I installed matplotlib using pip, and included it my python file: >from matplotlib import animation But I am getting an...
noob question here... I am iterating over a list of tuples such and nothing prints the second time... thoughts? for trigram...
Example: for item in list : print (item) I commented about how putting semicolons at the ends of statements in Python was...
As some of you may already know, DigitalOcean and DEV are arranging Hacktoberfest...
Hello world! I am learning python, in my first class so bear with me. I am working on a problem that asks the user to input...
Hi guys, so my friend and i are creating a simple script which check if there is a new json file in the folder and then copy...
I found this online. I want to use it for a planned project to scrape...
So I just finished making a game of Hangman. Can anyone recommend some interesting projects that may be difficult but doable...
What is your opinion about this
Im stuck on my code and am not sure where to go from here to translate these lines of output I am getting using the...
Hey everyone, I am struggling to make a program in thonny. I'm barely learning these things, I know it should be pretty...
Hey I’m making an inventory for a choice your path text based game I’m making in python: I’m trying to use pandas to hold the...
Hey everyone! I'm trying to create a dictionary for each patient from this csv file, and when I have tried DictReader it...
Hi, I am currently working at an Encoder and I want to update my Pyqt5 UI while the encoder function is running. My Problem...
Hi! I want to loop through a column of timestamps to get the difference between each time (so time 2 - time1, time3 - time2,...
I was confused about this question and can anyone able to help me out with it? Thank you so much (Questions and examplers...
Hi Can someone pls tell me how I locate this log in btn? HTML <div class="block block\_login"> <span class="item...
I have a test directory with many test files in it. I run tests by python -m unittest and before all tests, I need to run...
i know c++ and java but not python. this is a old model viewing tool that we are hopeing to get info out of.(its for lego...
Hi reddit ! ​ I created a maze generator in pure python (no pandas or numpy) currently supporting 3 algorithms. I...
I'm working on a project and Speed Detection is a part of it. I have used Haarcascade Classifier to detect the vehicle and...
Hey guys. As years pass by, "Learn Python the Hard Way" is gradually going out of favor among beginner Python programmers....
Hello dear community, If you like Rofi (an application launcher for Linux) and Trello (the web app with list and cards) this...
I have a python script which employs pyusb to reset a connected usb devices matching against a specific device but this...
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
I am self-teaching myself for an internship I have coming up and I thought a text-base adventure game would help get started....
Hey, I literally started learning python about 30 minutes ago. I know C/C++/C#/Java though so I'm not completely new to...
Hi, I want to convert a list of integers like [97, 98] to "ab" with utf-8
I am looking to automate changing the parameters of sklearn estimators by explicitly naming the parameter and the new value...
I have to make a script that numbers a document fed in and exports it out to a new document with the lines in place. I cant...
Hi, I need to create a rail fence cipher in my code for school. Currently I have made a code that creates the zig-zag to...
I can't seem to figure out what's wrong with this block of code. I'm very new to Python, and my professor isn't very good at...
Hey there, I idiotically saved over a file that I didn't mean to. Does anyone know how to retrieve prior versions on a mac?...
How can I do this and, say, download a couple of images to the same directory of the .py file? How can I do it to any...
Im just passing by I don't know where to search. I wanna know if its possible to code something like a macro but for the...
I want to make something like a bot that can solve captchas, do i need tensorflow to teach it the pictures or can i just use...
ef file_ecrypt(key, name): with open("key","rb+") as rk: key = rk.read() with open(name,"rb+") as rf: decData = rf.read()...
Trying to create shot charts through data available on stats.nba but while trying to access the json file on jupyter notebook...
I am having a lot of trouble figuring out how to print once inside a while loop and have been working on this for almost 2...
Hey everyone i'm new to python and i'm using tkinter to make a program. I want to execute a windows shell command that has a...
I have a assignment in my course I have been working on, but I believe my code is incorrect. I need some advice....
I need something that will work like this but with any number I input. How many numbers do you want to use today? 3 Enter the...
I am tryimg to use Python to write a code. It is working fine for small inputs but showing NZEC error for large test cases....
making a simple game with a sprint mechanic. currently gotten movement to work but when i press space it just doubles the...
smtpObj = smtplib.SMTP( [host [, port [, local_hostname]]] ) what does this parameter syntax mean? [var1 [, var2 [, var3]]]
I know this is a terrible task, but it's unfortunately kind of necessary. My objective is to convert an excel sheet to a pdf...
Where should i start with to create audio visualizers like we have on butterchurn visualizer
I'm searching for reliable information about the Leapfrog algorithm, its origins, applications and formulas (?) for a...
I need a programing language that will allow me to send electrical signals to specific points on a physical heat mesh, to...
Getting following error in an app. ​ Any idea? ​ ​ `[SSL: CERTIFICATE_VERIFY_FAILED]...
Hi everyone, I have a very simple program - built with PySimpleGUI, when I run it, a screen comes up that asks 4 questions. I...
Nothing fancy, it is just kind of a local listing of handyman. I need categories of handyman, location, contacts and feedback...
Is there anyone out there who has an open source project on Github where they are looking for contributors? Most of the...
Hello, i use 'module pymysql' for connectivity in my wsgi scripts. For some reason after some hours of i.e....
Hey there! I've been working in a Blackjack game in Python with OOP. There are some bugs but it works quite fine,...
i made a coinflip thing and I want to save it to just run the thing and nothing else
I am trying to read the 8 direction "joystick" on my Razer Tartarus V2 for a personal project. I need to read the state of...
I am trying to get to a subset of a webpage. The only way to get the actual webpage is to click on a button from the home...
Making a program that will send set amounts of packets to a wifi router and i could use some advice on making the program
Hello, In college, I learned how to use MATLAB (engineering major) and used it for analysis. This generally included making...
I'm a beginner, and I don't know much about DLL's, applications, or how they're made, or how they really work. But recently I...
Hello everyone! I just added some code that I have been using for one of my projects. It's a Muse Headband Module that...
What is the most useful thing you have created in Python?
I want to be a certified Python developer so I was looking into certificates and i found PCAP certificate. Does anyone have...
The most important part in the world of web password is This is a Python code for a good password system that I hope you...
Hi! I'm starting working with Python (and soon Cython I guess) and would like to know if you have a recommendation of a good...
Hi everyone! I need to create a responsive website for a work client. And I was wondering if it is possible to create a...
Hi! Just a curious question. I understand that programmers, in overall, is in short (specially Europe) - that we need so many...
Hi i'm new to python, Im trying to make a script that takes rfid information (THE TEXT FROM IT) then if it matches ("rs011")...
Basically the title. I have an array that I want to be displayed/painted and was wondering what to use? Turtle? Pygame?
Hey all, Is there any way to load a .ipynb (Jupyter notebook file) in PyCharm? Thanks in advance
Hi all, boss gave me an idea to develop this gui for our sales folks and wondering what the best approach would be. I'm...
Hi , can anyone recommend me a good course on Udemy where I can learn python?
Hello, I wanted to ask people who really work with Python every day. I am 30 years old male. I've been seeing so much HRs...
So i am writing a task to store the following data in text file, but the thing is i can't seem to end the loop I was supposed...
Is there any way I can host my turtle animation on a website? I went through Skulpt but it doesn't allow some modules which I...
Hi guys, I have the following code that compares two text files and generates the differences that occur between them....
Hi guys, I recently completed a Python 3 Bootcamp course on Udemy, so I'm familiar with the syntax of Python. I want to take...
Is there any way to host turtle animation on a website? I checked Trinket but it requires a paid account for the animation...
This will give you a fully detailed comparison on Java vs Python, Both are most famous and popular languages around the...
Almost completed my "free time project". I created an API which can save measurements from sensors placed at your home or any...
Hello all, ​ I am a Business Systems Analyst on a Data Warehousing team. We are continually testing our data...
I've been working on a Django application which learns from you workouts (from Strava and Garmin), basic body parameters...
Hi i am new to python and are trying to make python wait before printing another line When i put it as time.sleep(5) And run...
Ok so Im making a program where you type in a password to see some data. I know how to do this and have no problem with it....
Hi, Python newbie here. I have a number of separate excel reports that I’d like to combine by matching column headers and...
Let's say I create a new file, "testfile.txt" on an NTFS partition, write some data into it, and close it. Now, I want to...
First of all, sorry for the vague title, i had no idea how to shorten my question so here goes: As a little project of mine I...
Hello, I'm working on a Django app that will require user sign-ups, user reviews, and the use of Google Maps API. I've...
Hello everyone !! What should i learn after learning Python's syntax . I don't have prior knowledge of any language . Should...
Would someone help me solve a few problems in python? I would be very appreciative (also could venmo if that is what you are...
I'm using python 3.7. I need a program that shows certain value from a csv file downloaded from quandl when the user enters a...
This is the first real program that i made in python. https://pastebin.com/WED020SX I bought...
How is it possible to get such output in Jupyter Notebook like in this example?...
Hi do you guys know of any fun and interesting projects I could assign my programming club? They're all beginners and don't...
I've been asked to look into a program that can talk to a HR-API of a siemans system. I've got documentation for Vbasic and...
https://imgur.com/a/JAIgfkS Here's a pic of how the data table looks after importing into python/pandas from a PDF. I'm...
Hello. Could anyone give me an example of a Latin square in python? I’ve tried many different things but cannot figure this...
I was enlisted to learn these Python modules for image and data-processing: (scikit-image, numpy, pandas, matplotlib etc.)....
I'm trying to calculate the hash (SHA256, etc) of the raw audio stream for a given audio file (mp3, ogg, etc). The raw...
Hi all, I am looking for the best way of displaying a simple animation to create a moving background. I have written a python...
If my words aren't clear enough and you know executing java-script using splash and scrapy, please ask me. I more than happy...
We all know Python is an amazing language with a zillion libraries out there for almost everything....
I'm making a server and client program and I've been using Pastebin to send and receive commands. Only problem is Pastebin...
So I have a test tomorrow over all the basic stuff. I’m only struggling with one thing. Can y’all help me with str and int....
Decided to finally start putting off learning programming and the first step to that is actually writing some stuff I guess....
Download: https://artint.info/AIPython/aipython.pdf **Other Free...
TLDR What's a good college to learn python? Or is self learning better? I have 2 years. I'm currently in the Army and getting...
Obviously .isnumeric() doesn't work.
Hi, my name is Bojan I am an organizer for this years PyCon Conference hosted in Belgrade, Serbia. In case you were prevented...
Hey Guys. So I've started a job, with one of the big 4 about 7 months ago after I graduated university. I joined the company...
[Python Project on Driver Drowsiness Detection System](https://data-flair.training/blogs/python-project-driver-drowsiness-...
hey, im new to python. im using pytohn 3.7.4 and the latest pycharm IDE, on win10 and tried to install sendkeys with pip and...
I'd consider myself an intermediate Python user. I've been working with it for a couple years and I'm fairly comfortable with...
I mostly work with text data - pdf and excel. I have to compare/verify tabular data, text files etc. It is getting very,...
Hello, does anyone know if there's any package in Python that is close to what `flexdashboard` does in the R universe?...
Hi there, I wrote a simple movie scraping/random movie suggestion project I'd like to share. What this does is scrape movies...
Hey everyone, I need some guidance on what would be the best way to store my data that I've webscraped. Before I've created...
Can anyone explain how the output of the below code is [1,8,2,3,5,8]? a = [1,1,2,3,5,8] for a[1] in a: pass print(a)
Hello dear community I come to you in great need, I am trying to finish my first class about data anlysis in python. For...
I have a technical interview for a data scientist position. They told me i need to have python and Spark ready on my...
Hi, I've experimented with opencv images before and when I printed the images they returned the color values of each pixel (I...
I made a game using pygame and I'm very proud of it. It's my first project ever so it's not the best, but it works and makes...
To help you improve your programming skills, computer science or math knowledge, we've set up a community to guide you!...
Hi Floks, I'm stucked at one problem. Here's what I want to accomplish : Based on an input string I want to be able to...
I haven't been in programming very long and I've been working on learning python to use in Grasshopper3D but apparently it...
What do you guys think of this project that I worked on with a few other people? link to github:...
Can anyone help me out with this? I'd really appreciate it. I'm not doing the best in this class, due to the fact that I...
I’m making a desktop GUI application. Every resource I find online is doing things a different way. Should I put UI code in a...
import data via pdf, throw in a dataframe and one of the columns is like this: Market1 a b c Market2 a b c Market3 a b c...
I am using the book "Automate the boring stuff with Python" and I am at the chapter talking about files. I am trying to open...
I am super new to Python and am struggling on an assignment where we obtain values from the user and print statistics based...
I cant seem to find where to use the connection string/ full driver in example from mongodb atlas to connect with pycharm. I...
Came across this repository this week for making ML tools in python: here. Opinions?
First off, I'm not sure if this is the subreddit for this, but I had a thought; is it possible to use windows hello with...
Nothing too complicated or useful, but I made a magic8ball program where all the responses were assholish. It's only a few...
I was wondering if anyone has any expertise on how to use openssl to craft a *.pem certificate that can successfully respond...
After understanding the basic concepts of python, I tried to start writing code to send out alarms based on a condition...
Hej guys! I'm learning Python and im currently having problems requesting data from a database because of the Token...
Hey i'm looking to make a script that makes strings like this, 00000000-0000-0000-0000-000000000000 (8 - 4 - 4 - 4 - 12) with...
In python you can specify which type you want your args to be. But how can I (or can I at all) require a type to be a class,...
How to truncate a number without rounding up in python? ​ e.g. 1.9456 to 1.94, instead of 1.95
Title says almost all my goal is for the python script to be ran then copy that same file into a different folder while the...
I am using Python to load logs (billions of lines) into clickhouse analytical DB. Parsing and validating the logs is a...
I'm working something that extracts small portions from videos these portions can be 1 sec to 2 secs, i've tried moviepy but...
I’ve been looking into both recently and now decided to go with dash, because it looks much easier to get off the ground...
I am working on a python script that will take my large excel file and sort by date and convert one column into a [h]:mm:ss...
As the title said, I want to learn Python as my first programming language. I don't own a computer, so I must rely on ports...
I know the obvious answer for after C# is SQL/Javascript but I've always been really interested in python. Should I learn it...
I want the person to answer with a integer and crashes if text is entered. How would I specify that the if it is text...
So, I have been programming with Python for a year now. I've built programs that can analyze a genome from a raw genome file,...
How do you use a for loop with any range and only print the prime numbers of my counter variable
I am looking for a thoroughly and well-explained resource to learn object-oriented programming. I am currently learning...
I'm trying to make a program that reads data from arduino and shows to the user with a gui made with tkinter. The Program is...
hi. i created a grid filled with 20 0's it is a grid of rows of 5 i want to append numbers from a list in place of 0s e.g my...
At my company, our public documentation is constantly updating, and internally we rely on a wiki system that relies on said...
Hello Guys, im new to Python and i try to make a script with which write the current bitcoin price in an excel table. This...
Our client is proposing that we use Python to build out their solution, an e-commerce web and mobile app. Our recent projects...
This is a hypothetical but I have a real world example that brought this on. I've got a huge project that suffers from an...
​ https://i.redd.it/5bdjfb96qkq31.png
I have been using FastAPI for a month now. It has been an amazing experience....
I am looking for recommendable books that cover webscraping in python. Any suggestions? Thanks for your advice.
Hi, I'm a 26 years old boy. I graduated from top universities in Iran. After 6 years of education, i feel i'm not a good...
I created a small game with Pygame Zero and the MU IDE. After the game is finished, the user should be asked if he wants to...
I'm building a new tool for work that will run on a CentOS host, and the main components are a "monitoring" daemon that will...
>response = requests.get(url)return response.json() If the API already told me the response is going to a json object,...
I want to run some 1 vs 1 scenarios and have the ‘players’ populated into a document and have generated their ratings which I...
Hi, IT department of the company I work for has decided that we're going to lock down our internal network so that only...
I'm trying to learn python by messing around a bit. I have experience programming but not with python so rather than go...
Hi, I am currently making a program in PyQt5 that hides in the system tray. I want to execute a certain function when left-...
I want to make my script pick a random word out of a list of words, and then print it would this be possible to do in pyautogui?
Some of you may be familiar with the game show Countdown (originally...
I solved this challenge on hackerrank (array manipulation). It returns the max value of an array of n zeroes after completing...
Initial problem was do to running out of disk space and required moving files to another disk. This turned out to be a non-...
Below is the code snippet I have, I need to figure out how to implement six functions namely, 1, max 2, scale by...
I use Friedmanchisquare test function. The argument looke like this: stats.friedmanchisquare(measurements1, measurements2,...
I have PyCharm IDE and I’m struggling to connect to Azure SQL from MAC. Can someone help me with some easy documentation or a...
for some reason paho wont connect to the broker.
I'd like to take rows of data from a spreadsheet and input into a web form to automate the move from one database to another...
Hello, I'd like to setup tox testing in Bitbucket in one of my project. I do not see them having any sort of documentation...
After asking the user for the width and height, how would you go about creating a rectangle using “for i”. The rectangle...
Good afternoon all, ​ I am trying to get the downtime monitor script [here](...
I'm currently doing a project and I'm a bit stuck. I need to define a function that will look up a word in a text file from a...
so basically an inventory sequence is 1, 11, 21, 1211, 111221, 312211, 13112221, 1113213211, 31131211131221,...
If I asked you how you would collate the company information from Wikipedia pages, how would you do it using Python? Some...
So recently in university I've been given a task to write script that measures how many operations in a second are computed...
Hi all, I’m currently trying to get my Raspberry Pi to display some data taken from an API. However I keep getting a “No JSON...
Hello! So I'm trying to create a very simple game where a rectangle will move around a black screen but I'm running into some...
So I'm making a stock control program with sql and python. I'm getting this error ​...
The html pages have various fields like Subject name subject number I want to convert them into excel sheet and then process...
I want to extract all username having a particular flair flair in python example I will give a flair "VENTING" in a subreddit...
I'm working on a web site. We want to support letting end users do boolean searching of our product catalog. The goal is for...
Today I released the first version of littlefs-python. This package offers a...
Hi all, I'm working on a small project to export mails to Gmail, using [this...
Been looking for easier ways to deploy models and came across this project. Does...
Hey fellas, I wanted to know, if you are allowed to provide questions that you ask of your entry level python interviewees. I...
Hello guys, As the title mention, I'm new to Python and early beginner. I know HTML, CSS, PHP and just a little C#....
I have a USB drive full of PDF files. What I would like to do is create a script that reads the PDFs and then looks at a few...
I have VERY abnormal internet. One day it's 20 mbit/s the next it's 3! I was wondering how I could make a program that could...
i'm trying to automate comments under an ig post with selenium but it doesn' t work. code: from selenium import webdriver...
Dear Reddit Community, ​ I am not only a keep Reddit user but an avid coder who had been learning, implementing...
My python code, has a problem with pylint, the module which I want to use as part of the linting process causes pylint to...
This week's top r/Python posts have arrived!
Parselfinger
| 2568 upvotes | 92 comments | u/jbholt | r/Python |
Rolling Shutter Effect demonstrated with Python
| 2015 upvotes | 60 comments | u/Swipecat | r/Python |
I released a game made entirely in Python and Pygame on Steam...
| 1761 upvotes | 191 comments | u/DaFluffyPotato | r/Python |
Updated gravitational potential field simulation. [OC] Link...
| 1025 upvotes | 131 comments | u/pnp_peeyush | r/Python |
Made this coz bored... matplotlib is true love.
| 806 upvotes | 100 comments | u/pnp_peeyush | r/Python |
​ https://i.redd.it/f970atlco0r31.png Interested in Internet of Things programming or programming...
I have the following data set:...
How can I get only this simple text when I read a pdf? CLSAI10608 This code always start with a CLXXXXXXXX, LEN = 10. Code:...
Any Great Python IDE's for Android to Code On the Go.
I'm trying to create a login window using appJar. I have previously set a username and password, hashed them, and stored them...
If anyone knows off top of head would be much appreciated. Will be deleting this in a few mins and moving on if noone online...
Hey, a bunch of people, including me, are trying to solve this ARG. Right now we're at a standstill trying to figure out an...
So I have an assignment that reads as follows: "Using a for loop output the average of a specific number of integer input....
In below article, I have tried to explain with examples and code, the various ways of exploring data. Missing values, scatter...
So I just started learning python today and for my very first project, I learned how to make a simple exponent calculator. x...
Hi there, I am a new Python programmer and I am learning my ways around it. I have a local python module (module.py) that I...
I am subtracting two Datetime columns in a data frame and wanted to extract the minutes but I am confused about how to do...
Facebook disabled it's birthday export functionality to an ICS (calendar) file a few months back. I found myself in need of a...
I just wrote a script on Spyder but it won't run because of a syntax error on line 6. It seems to be that I wrote 'female'...
Hi, I have a question on the use of Pandas, that I asked on stackoverflow a couple of days ago. However, I haven't received...
Hej Guys im trying to gather the data from a database using API with Token Authorization to a CSV or Xls. I used Postman to...
Disclaimer: I'm not entirely sure of what is being asked of me Hi, okay, so I was chosen to either weigh in on or start...
https://www.anaconda.com/ I went to install anaconda on a new machine this morning and the website appeared to have been...
Hi, I have created a web site(https://inmytop.com) which every month, once per month, builds a Music...
Hello! I'm creating an API using Uvicorn (ASGI). I'm deploying multiple Uvicorn workers via Gunicorn. Also, I'm using AWS...
I'm using this connection string:...
[I interviewed Richard Achee of Google / Code Next](https://www.hiphopadvocacy.org/hip-hop-computer-coding-richard-achee-...
Hi everyone, ​ I am using difflab library to compare two lists to each other. The problem I realized is that the...
Woth tools such as termux installing python and code editors got easy and even running programs from github is as easy as "....
What knowledge/ prerequisite require to become python web scrapper? Need guidance for the same
Hi all, I've been trying to learn Python for the last 3 months or so, and I'm slowly making progress on Codeacademy. I was...
Is there any Python program available to check all the folder and files and their sub folders and files permissions and want...
response = requests.request("POST", url, data=payload, headers=headers) data = response.json()...
> def greet_customer(grocery_store, special_item): > print("Welcome to "+ grocery_store + ".") > print("Our special...
I am trying to make a simple program for my friend/team leader that asks what day of the week it is, if its monday, tuesday,...
I looked online, but can't find anything. And putting 900+ strings in a list is not appealing to me.
Looking to help other traders get an edge in the market by educating how to program unique solutions for there own trading...
Sometimes website administrators can leave low hanging fruit, unintentionally lying around webpages ripe for harvesting. Have...
I am a junior dev who works with a team of business analysts to create tools and report. I have been tasked with hiring a...
hello, I'm trying to multithread instances of a class. The code works fine but now I'm trying to make it more efficient. I...
I enjoy automating tasks, and once made a full trading bot for MTGO (the online card game). Recently I found out that Rocket...
Hi all, I'm currently stuck on an assignment, where it asks to build a function and rank the suits in a certain order...
Hi guys! I'm having the opportunity to start learning Python. I have to develop an application layer app using socket...
I’m a relative novice at python and I don’t have any ideas for projects, any suggestions?
Has anyone got any advice on how I would go about making a python program that would take input from a HID controller on...
I have been working with python for a few years now (mostly at work - Data Science), but would like to set up some personal...
I got bored today and decided to play around with list comprehensions. This nigh-unforgivable aberration is the result of my...
Hello, I'm using requests to make various HTTPS calls, and it continually slows down with this message: "15:24:24 worker.1 |...
I'm looking for a toolkit that'll help both compute (ideally) and visualise connected things graph style - preferably in a...
- [Python Programming for Beginners By Kidd, Corey EPUB](https://www.zeldatech.com/2019/10/python-programming-for-beginners-...
Attention Fans of Al Sweigart's books such as Invent Your Own Computer Games with Python and Cracking Codes with Python: Al...
I am able to call class instances fine without threading but can't seem to get it to multithread. It just looks like the...
Pls see full code here: https://github.com/alpacahq/example-scalping Background and some explanation here:...
I have a script that runs in about 3 seconds on my linux machine, but on Windows 10 it takes about 45 seconds to run, which...
The position focuses on data optimization, automation, cleaning data, performing data quality checks, and managing databases....
So, I showed the code to the real-time multiplayer game I am making to some folks at freenode and was given some advice. My...
It would be a bad choice, clearly. But as Python ultimately gets cooked down to C and Unix, as an example, is written in C,...
Curious to hear about the various ways people have applied Python apart from the conventional stuff.
Hi all! Im not much of a programmer yet but I hope to improve in the future. I have a couple of fairly easy tasks in python...
How would I code a program that converts compressed data into ascii art, and converts ascii art back into the compressed data...
In the development of his game there came a point where the author realized he will need a conversation system with face...
Hello. I need your help, I need to go through python to use com objects. On my post I use win32com but prod, it does not...
I have a little experience with python and I want to improve skills. what are the basics projects that can a beginner help.
Hey, I've written a script that scrape a set of webpages using selenium and Beautiful soup. I have an array with all the...
I am aware that the problem I am facing is due to the shape of the data. I have tried using the following code for my...
Hi Guys, I am working on a program to automate some functionality for our network - part of this involves finding the largest...
Hi. I’m learning Pandas and having trouble getting past the warning ‘SettingWithCopyWarning’ I’m trying to do what I think...
Sorry if this question seems very obvious but I'm new to python and can't seem to figure out what's wrong with my program....
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your...
Hey all! The reason I present myself today is a Question about a Certain 'if' Statement that has been troubling me... My...
Dear I am running a script and it does not run similarly all the time. I am trying to parse GeoJSON files and triangulate...
I'm trying to automate IG comments with selenium, but I get this error: Traceback (most recent call last): File...
Hi everyone, I am trying to web scrape a SQL server reporting services web site that uses windows active directory as an...
So let's say I wrote a (comically inefficient) script such as this: def octuple(num, recur=0): num += num if recur < 2:...
I am able to write methods bt finding difficult to write in oops format ..(inside clas) for eg guessing number game - able to...
## What is Anvil? ​ > I'd much rather just open a blank Ubuntu 16.04 server on DigitalOcean and pull my...
I get a syntax with no special comments, but I have looked and looked and can't see any errors. This will be a graphical text...
Hello, While trying to install PyQt5 i'm getting those errors. It really frustrates me... I do not know what to do. I have...
Any suggestions for simply displaying MS data in python (through either MPL or pyqtgraph)? For those familiar with MS raw...
#https://www.ecosia.org/search?q=hello import webbrowser import random import time listq = ["a","e","i","o","u",] def main():...
I have an amazon gift card and am going to buy a raspberry pi for a fun side project. Does anyone have a fun python project I...
So at work we use a tool for Jira called Qmetry. Qmetry creates jira issues that can be used to document test scenarios....
Hi r/python! Sphinx is a documentation tool for Python. I was looking for a modern...
I'm currently considering a small career switch from (Microsoft) BI & data science to Python. I have followed some...
So I've been programming with python as a hobby for the last few years. Never used a debugger, always just used print...
So I’ve been writing a Command Line Interface tool that opens a browser and displays the Google search results. So all you...
Given the following string: dpkg.log.looker.test.2019-09-25 I'd want to be able to extract: looker.test or looker. I...
You as in what do you personally use it to do for you or the like
Dependency Injector 3.14.11 has been released! **Changelog...
I’m a beginner programmer with Python and at the moment i’m going over Dictionaries. I had to do an exercise that confuses...
I am starting crash course in python book. I downloaded python 3 and the path works and runs in my windows command terminal....
Hi all, I have been playing with asyncio and I'm using asyncio.gather for some specific things (like awaiting on multiple...
so i am a noob at python and i have been trying to fix this forever i am trying to remove the ammount of health attack is and...
I've been searching for the official python tutorial here...
I got it to work on the invisible captcha test website but I can't get this one to submit import requests from time import...
Sorry for the formatting. Newbie here. Can someone help me with regex. I want to remove the numbers from the below string but...
Is there a way that i can have a list of functions, then depending on user input the code calls a function? Quick example:...
Just updated to the new macOS which is actually, in my opinion, the best macOS released to this date, but I digress. After...