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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,402
» Latest member: bryanptrovz7447
» Forum threads: 38,825
» Forum posts: 176,036

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 31 Guest(s)
Apple, Google, Bing, AOL

Latest Threads
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 2
» Views: 174
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:47 AM
» Replies: 2
» Views: 139
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,189
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Dec-31-2025, 07:58 AM
» Replies: 28
» Views: 15,683
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 217
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,634
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 295
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,652
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 266
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 408

 
  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

  Regular expression: return string, not list
Posted by: Pavel_47 - Jan-14-2021, 11:10 AM - Forum: General Coding Help - Replies (3)

Hello,

In the following string I want to eliminate ';'.
The code

aaa = 'ABCD;'
bbb = re.findall('[A-z]', aaa)
returns list:
[..... More

Print this item

  Print output not working
Posted by: xninhox - Jan-14-2021, 10:45 AM - Forum: General Coding Help - Replies (7)

Dear All,

i started studying python and i have been facing some issues with command print. I will do an exaple:
[python]
>>>print=('Hello World'..... More

Print this item

  QR code data missing in some of my QR codes
Posted by: Pedroski55 - Jan-14-2021, 08:11 AM - Forum: General Coding Help - Replies (6)

Does this indicate a computer memory problem?

I read a csv file with student names and number in to a dictionary: numsnames

The dictionary has 1..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Check if running from she... Yesterday, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help Yesterday, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Merge video with subtitle... 12-31, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580486
  Tutorial Requ... 520213
  Web Scraping ... 442805
  Newbie with P... 387023
  New Users Int... 386853
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
bryanptrovz7447 Today
oliviajuior7959 Yesterday
aoliiapetrov4786 Yesterday
zanaalietexaxd4208 Yesterday
zasamueluniorz7349 Yesterday

User Panel Messages

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