Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,945
» Latest member: susan
» Forum threads: 38,724
» Forum posts: 175,520

Full Statistics

Online Users
There are currently 67 online users.
» 2 Member(s) | 61 Guest(s)
Bing, Google, AOL, AOL, whimsyslug8Dip, whackypenguin6Dip

Latest Threads
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: susan
17 minutes ago
» Replies: 4
» Views: 9,035
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
3 hours ago
» Replies: 2
» Views: 370
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
4 hours ago
» Replies: 0
» Views: 31
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
10 hours ago
» Replies: 9
» Views: 515
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,720
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,056
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,411
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,965
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,726
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,797

 
  Open only the Windows Explorer in Pandas
Posted by: doug2019 - Jan-16-2021, 06:09 PM - Forum: Data Science - Replies (5)

Hello! How can I open only the workbook to choose the .csv files I want to open with pandas? I know the method of the entire path to the file and no..... More

Print this item

  Handling large images with OpenCV.
Posted by: Apenz1 - Jan-16-2021, 05:12 PM - Forum: General Coding Help - No Replies

Hello, I am trying to focus stack images using this code: https://github.com/momonala/focus-stack

The problem I'm having is that cv2 loads all imag..... More

Print this item

  Can you end the Time.sleep function
Posted by: boier96 - Jan-16-2021, 03:57 PM - Forum: General Coding Help - Replies (9)

Hey im working on a python project and i got an idea to use time.sleep a few times. After a while i started wondering how to end the time.sleep functi..... More

Print this item

  Strange phenomena with Amazon_dot_com scraping
Posted by: Pavel_47 - Jan-16-2021, 12:56 PM - Forum: Web Scraping & Web Development - Replies (9)

Hello,
I observed very strange phenomena while scratching Amazon_dot_com: the code that worked an hour earlier no longer works.
Any comments ?
Than..... More

Print this item

  [SOLVED] Requiring help running an old Python script (non Python savvy user)
Posted by: Miletkir - Jan-16-2021, 12:43 PM - Forum: General Coding Help - Replies (13)

Hey there,

I came across a rather old Python script that lets you..... More

Print this item

  RaspPi and 3.9
Posted by: supuflounder - Jan-16-2021, 08:11 AM - Forum: General Coding Help - Replies (1)

I have a RasPi 400, and wanted to upgrade it from Python 2.7.16, but I can't find a version to download. Am I missing something, or is there not a ver..... More

Print this item

  merging two data frames
Posted by: yk303 - Jan-16-2021, 06:15 AM - Forum: Data Science - Replies (1)

Hello,

I like to merge two dataframes. But the problem is that both tables have multiindexes.
When I try to merge, it can't find the common 'colum..... More

Print this item

  Extracting all text from a video
Posted by: jehoshua - Jan-16-2021, 03:58 AM - Forum: General Coding Help - Replies (2)

I have run the following code on a sample video/mp4 to extract all images. It does it frame by frame, so there are many thousands of image files creat..... More

Print this item

  if a string has a digit - print
Posted by: tester_V - Jan-16-2021, 02:27 AM - Forum: General Coding Help - Replies (2)

Greetings and happy Friday!
I'm scanning Network Shares and collecting file names if they have a digit in the name.
I can get the list of all File n..... More

Print this item

  Surface area of triangles generated by Triangulation
Posted by: pythonformaterialsci - Jan-15-2021, 10:42 PM - Forum: Data Science - Replies (6)

Dear Forum memebers,

i want to calcualte the surface area of each triangle generated by the Delaunay Triangulation by the following python code.
..... More

Print this item

  Extract continuous numeric characters from a string in Python
Posted by: Robotguy - Jan-15-2021, 10:36 PM - Forum: General Coding Help - Replies (2)

I am interested in extracting a number that appears after a set of characters ('AA='). However, the issue is I: (i) am not aware how long the number..... More

Print this item

  Pipenv & Requests Author Kenneth Reitz Interview
Posted by: Evrone - Jan-15-2021, 07:51 PM - Forum: News and Discussions - Replies (1)

Kenneth Reitz is a well-known software engineer, international keynote speaker, open-source advocate, who also focuses on photography and music produc..... More

Print this item

  Which Python Version?
Posted by: muzikman - Jan-15-2021, 07:21 PM - Forum: News and Discussions - Replies (15)

Greetings,

I want to know which Python version most people are running? I was running 3.9 but had some errors when installing things like bpython...... More

Print this item

  Confusion over df.sample()
Posted by: Mark17 - Jan-15-2021, 07:02 PM - Forum: Data Science - Replies (2)

Hi all,

Here's some code:

[Python]
import matplotlib.pyplot as plt
import pandas as pd
import sys

count_a = 0
count_b = 0

die = pd.Ser..... More

Print this item

  Can't import package
Posted by: hubenhau - Jan-15-2021, 05:59 PM - Forum: General Coding Help - Replies (1)

I'm trying to follow a tutorial for Image comparison.
https://www.pyimagesea[url=https://python-forum.io/thread-32022.html]..... More

Print this item

  Code failed JSON KeyError
Posted by: popps - Jan-15-2021, 02:47 PM - Forum: General Coding Help - Replies (3)

Hello,

I am trying to retrieve information on network equipment, but I have the following error and I do not know how to handle it


[error]conn..... More

Print this item

  Why can't i use def in python?
Posted by: celinafregoso99 - Jan-15-2021, 02:42 PM - Forum: General Coding Help - Replies (4)

I am very new to programming, and previously I made a basic calculator and it uses code like:

[python]def calculator():

num1 = float(input("..... More

Print this item

  Regular expression: cannot find 1st number in a string
Posted by: Pavel_47 - Jan-15-2021, 02:39 PM - Forum: General Coding Help - Replies (2)

Hello,

Here is test string:

aaa = '   2jhjh 890 jjk'
Here is how I try to find 1st number in aaa (2 in this case):
[py..... More

Print this item

  Global variables not working
Posted by: hobbyist - Jan-15-2021, 12:53 PM - Forum: General Coding Help - Replies (9)

I have made some global variables. A simplified version of the program (but with the same rationale) is this:

[python]
sentence_1 = "hello"
sentence_..... More

Print this item

  Parsing html page and working with checkbox (on a captcha)
Posted by: straannick - Jan-15-2021, 09:35 AM - Forum: Web Scraping & Web Development - Replies (17)

Hello, I am new to Python programming and currently trying to write the very first Python program.
I am using Python 3.9 (beautifulsoup4 4.9.3, certi..... More

Print this item

Thumbs Up Flask do not accept sub-folder in Template ?! : Solved
Posted by: SpongeB0B - Jan-15-2021, 07:17 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi everyone,

I just realize that apparently we cannot create sub-folder in Templates ! :/

Is that the normal behavior ? if yes , WHY ?


[py..... More

Print this item

  adding numbers in a list
Posted by: Nickd12 - Jan-15-2021, 03:59 AM - Forum: General Coding Help - Replies (2)

what im looking to do is add 25 to elements in a list but add 25 plus the last number

example

list = [0,0,0,0]

i want the output to be

l..... More

Print this item

  First project (newbie)
Posted by: Fuzzy - Jan-15-2021, 12:07 AM - Forum: General Coding Help - No Replies

Hello! I decided to jump into Python the other day, and after going through a "basics" tutorial, I chose what I thought was a manageable first projec..... More

Print this item

  Naming the file as time and date.
Posted by: BettyTurnips - Jan-14-2021, 11:53 PM - Forum: General Coding Help - Replies (3)

I have a script that scrapes web data then puts it into an excel file and names it "Results". I'm looking to get the file name to show the current tim..... More

Print this item

  Hiring Python Dev, remote
Posted by: allpurposeben - Jan-14-2021, 09:42 PM - Forum: Jobs - Replies (2)

Watchman Monitoring is hiring a Python Developer to work on either our client-side Mac or Linux/Synology agents, depending on interest and skill set.
..... More

Print this item

  Poetry Dependency general Help
Posted by: felipesodre - Jan-14-2021, 07:46 PM - Forum: General Coding Help - No Replies

Hi everyone I am glad to be posting my first question in here. Thanks in advance.

I have a module on poetry which imports two other modules.

Wh..... More

Print this item

  How to make a bot in pycharm for youtube for automatically adding python comments
Posted by: kodek2222 - Jan-14-2021, 06:21 PM - Forum: General Coding Help - Replies (1)

How to make a bot in pycharm for youtube for automatically adding python comments.

Print this item

  Control Flow in Python assignment
Posted by: alectheprogrammer - Jan-14-2021, 05:42 PM - Forum: Tutorial Requests and Submissions - Replies (1)

Hi, Python Learners! I'm building out assignments to help people learn Python. Here's the latest one on control flow, which includes conceptual questi..... More

Print this item

  Python for Omron-Fins
Posted by: carlomatto - Jan-14-2021, 05:15 PM - Forum: General Coding Help - Replies (3)

Sorry for my bad english. I'm trying to read data from an omron-fins plc with a python scripts. I read something but that data are incomprehensible. I..... More

Print this item

  Get JSON Value based on Another value
Posted by: sambanerjee - Jan-14-2021, 04:23 PM - Forum: General Coding Help - Replies (2)

Hi -

This is the JSON below. I'm looking to get the value of 'bid' for each 'StockSymbol' - any help for this newbie ?

[output]{
"currentP..... More

Print this item

  Adding a new column to a dataframe
Posted by: lokhtar - Jan-14-2021, 03:45 PM - Forum: General Coding Help - Replies (2)

Hello,

I am working with covid-19 data, and I am trying to add a new column to the dataframe based on the datetime, converting it to a day of the w..... More

Print this item

  Variable Scopes Decorators
Posted by: oclmedyb - Jan-14-2021, 03:26 PM - Forum: General Coding Help - Replies (6)

Hello,

I try to write some Excel functions with xlwings and openpyxl.
For example one function will get details about an item from another Excel f..... More

Print this item

Question Word, adding a hyperlink from a bookmark using Python
Posted by: mart79 - Jan-14-2021, 12:52 PM - Forum: General Coding Help - Replies (1)

I am working python script that composes a document made out of multiple documents, which can be selected by the user.
This means that the composed d..... More

Print this item

  Case Insensitive Censor Function
Posted by: HNiChuimin - Jan-14-2021, 12:10 PM - Forum: Homework - Replies (5)

hello,
I am trying to write a case insensitive censor function which takes an input(text, banned) with banned being a list of banned words to censor ..... More

Print this item

  How to compare strings that have spaces
Posted by: hobbyist - Jan-14-2021, 11:13 AM - Forum: General Coding Help - Replies (2)

I want to compare two strings and check if they are the same. For example, this string:

"This is a sentence"

with this:

" This is a sentence ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Creating a Mindmap progra... 17 minutes ago J_Miller susan General Codin...
  A coding beginner needs h... 3 hours ago Littlefish Littlefish General Codin...
  Is the interpreter that c... 4 hours ago helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 10 hours ago Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
Most views
  The best Prog... 576661
  Tutorial Requ... 498783
  Web Scraping ... 440499
  Newbie with P... 384431
  New Users Int... 367983
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
susan Today
jatinkumar12 Today
angelhealu504 Today
helendamdam Today
pllrdvalery Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020