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,574
» Latest member: Donaldabani
» Forum threads: 38,632
» Forum posts: 175,025

Full Statistics

Online Users
There are currently 456 online users.
» 0 Member(s) | 449 Guest(s)
Bing, Yandex, Google, Baidu, MSN, AOL

Latest Threads
[split] Simple webbot for...
Forum: Code Review
Last Post: Larz60+
2 hours ago
» Replies: 2
» Views: 78
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: snippsat
4 hours ago
» Replies: 2
» Views: 116
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Today, 03:37 AM
» Replies: 2
» Views: 108
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 09:15 PM
» Replies: 4
» Views: 213
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 03:52 PM
» Replies: 7
» Views: 273
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Yesterday, 06:40 AM
» Replies: 4
» Views: 987
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 04:47 AM
» Replies: 1
» Views: 94
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Yesterday, 02:19 AM
» Replies: 2
» Views: 124
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jun-17-2025, 02:23 AM
» Replies: 1
» Views: 138
Webscraping: Attendance L...
Forum: Web Scraping & Web Development
Last Post: Larz60+
Jun-17-2025, 02:20 AM
» Replies: 1
» Views: 110

 
  Pandas ExcelWriter path name rejected
Posted by: morningglory - Jul-15-2024, 06:36 PM - Forum: General Coding Help - No Replies

I am trying to make devs aware of issue I ran into.
Basically, `pd.ExcelWriter(output_path+'\\'+'HiT Nano battery title info2.xlsx',engine='xlsxwrit..... More

Print this item

  API Loop Help
Posted by: tturner2304 - Jul-15-2024, 06:25 PM - Forum: General Coding Help - Replies (1)

Hi All

Firstly i am a complete beginner to Python (2 Weeks), but have experience in other languages.
I have the following piece of code which i am..... More

Print this item

  Exploring Content Marketing's Impact on UK Businesses
Posted by: IslaBrown - Jul-15-2024, 10:04 AM - Forum: Web Scraping & Web Development - No Replies

As I explore ways to enhance my business's growth, I'm curious about the potential impact of content marketing specifically in the UK market. How have..... More

Print this item

  ImportError: cannot import name 'scipy_namespace_for' from 'scipy._lib._array_api'
Posted by: AgileAVS - Jul-15-2024, 08:45 AM - Forum: General Coding Help - No Replies

[python]import numpy as np
import keras
import matplotlib.pyplot as plt
import pandas as pd
from sklearn.preprocessing import MinMaxScaler
scaler..... More

Print this item

  NameError: name 'pi' is not defined
Posted by: katebishop - Jul-15-2024, 02:59 AM - Forum: General Coding Help - Replies (2)

I'm working on a Python program to calculate the area of different shapes (square, rectangle, and circle). I've written the code for squares and recta..... More

Print this item

  will using conda fix my frustration?
Posted by: snakes - Jul-14-2024, 10:55 AM - Forum: General Coding Help - Replies (4)

Essentially, my question is regarding my misunderstanding of the differences between venv, conda and virtualenv.

I have always used venv for python..... More

Print this item

Sad The issue with compare 2D lists
Posted by: przonak007 - Jul-12-2024, 09:48 PM - Forum: General Coding Help - Replies (18)

Hi I have a little problem with 2 lists. These are lists 2D.

It should be like:
The compartment no. 1 (110, 260)
Saved items:
171
172
173
174
175
17..... More

Print this item

  sharepoint: Access has been blocked by Conditional Access policies
Posted by: CAD79 - Jul-12-2024, 09:35 AM - Forum: General Coding Help - No Replies

I'm trying to access an excel sheet to extract data, but it is on sharepoint which makes things a bit more complicated.

I'm using this code (snippet)..... More

Print this item

  To access already running remote desktop application using pywinauto
Posted by: vyom - Jul-12-2024, 07:10 AM - Forum: GUI - Replies (1)

Hi ,
Greetings!!!
I am new to python and pywinauto. I learnt that pywinauto can access already running application hence i would like to know solut..... More

Print this item

  Fire and forget
Posted by: Terry - Jul-12-2024, 05:18 AM - Forum: General Coding Help - No Replies

Hi,
Is there a way to run a function in a fire and forget manner in python using asyncio from a synchronous function

The code below doesn't work f..... More

Print this item

  code help
Posted by: nosaj - Jul-12-2024, 12:09 AM - Forum: General Coding Help - Replies (4)

I'm trying to test one of my forums to make sure its not vulernable to CVE-2019-16759

here is a link to the code ..... More

Print this item

  Failing to iterate over captured StdOut
Posted by: tester_V - Jul-11-2024, 11:33 PM - Forum: General Coding Help - Replies (4)

Greetings!
I’m using a subprocess to run and capture an output of the “ARP- A” command to a list.
I’d like to iterate and filter some of the IPs fr..... More

Print this item

  using last 2 characters of a file name to identify it
Posted by: CAD79 - Jul-11-2024, 03:10 PM - Forum: General Coding Help - Replies (5)

For an application I'm creating, a combobox displays all customer names that are inside the active customer orders directory. In the customer order, t..... More

Print this item

  Executable file compiled by PyInstaller does not work on Windows 7
Posted by: amusaber - Jul-11-2024, 02:24 PM - Forum: General Coding Help - Replies (1)

How to build Executable (.exe) file from Python for all Versions of Windows (Seven,8,10,11)
i used PyInstaller in windows 10 ,but the Executable file..... More

Print this item

  sqlalchemy error connecting to SQL Server
Posted by: anthonyn5 - Jul-11-2024, 11:11 AM - Forum: Data Science - Replies (3)

Hello everyone,

I just moved to a new company and the IT installed anaconda python for me as well local SQL server (SQL Express).

I usually use ..... More

Print this item

  Printing PDF files
Posted by: CAD79 - Jul-11-2024, 10:01 AM - Forum: General Coding Help - Replies (2)

I'm trying to create an application to automate a file creation process, but the first thing that I need to print out is a PDF file. I've tried to jus..... More

Print this item

  building a chatbot that fetches data from mongodb using RAG
Posted by: saisankalpj - Jul-10-2024, 04:49 PM - Forum: Data Science - No Replies

I am developing a chatbot ,which fetches the required data from mongodb based on question user asks from chatbot ex: if user asks total number of emp..... More

Print this item

  Web Scraping Question
Posted by: fernandoarthur - Jul-10-2024, 08:41 AM - Forum: Web Scraping & Web Development - Replies (1)

How do you scrape CVE-2022-24266 from this ?

[align=right][size=1]geometry dash subzero[/si[url=https://python-forum.io/thread-42436.html]..... More

Print this item

  Module not found error even though installed
Posted by: NZGeorge - Jul-10-2024, 04:06 AM - Forum: General Coding Help - Replies (1)

I want to use paramiko for SFTP transfers on a Windows PC. Have installed it. By running command "pip list" tells me that paramiko 3.4.0 is installed...... More

Print this item

  no debug messages going into log file
Posted by: robertkwild - Jul-09-2024, 05:30 PM - Forum: General Coding Help - No Replies

hi all,

the below code works

[python]
logger = logging.getLogger("Rotating Log")
logger.setLevel(logging.DEBUG)
handler = TimedRotatingFileHa..... More

Print this item

Question PDF Automation with Unique ID + Logs in xls File
Posted by: pollos - Jul-09-2024, 07:58 AM - Forum: General Coding Help - Replies (1)

Hello,

I created a code base to generate PDFs from a JPG file, automatically adding a unique ID to each PDF. Additionally, these IDs are linked to ..... More

Print this item

  Cannot run kill -9 through pyvomi on ESXi host
Posted by: nicktx - Jul-08-2024, 02:05 PM - Forum: General Coding Help - Replies (1)

Hi all,

Hopefully someone can assist. I have a python script that uses pyvomi to connect to an ESXi host. I'm trying to run a "kill -9" command and..... More


Attached Files

Thumbnail(s)
   
Print this item

  Extract text from PDF
Posted by: goryee - Jul-08-2024, 04:19 AM - Forum: General Coding Help - Replies (2)

   

Hi. Newbie to python.

I have this PDF that i review each week to make sure the records are setup correctly in excel.

I am ..... More

Print this item

  Need Selenium Help with Popup
Posted by: gw1500se - Jul-07-2024, 04:11 PM - Forum: Web Scraping & Web Development - Replies (4)

I'm trying to write a script (Python 2) to log in to a web site. However, in doing so there is a popup that occurs (allow cookies) preventing me from ..... More

Print this item

  Extract and rename a file from an Archive
Posted by: tester_V - Jul-07-2024, 04:14 AM - Forum: General Coding Help - Replies (4)

Greetings and happy Holidays!
I’m trying to extract a specific file from archives without the whole directory structure.
Each archive holds the same..... More

Print this item

  ValueError: could not broadcast input array from shape
Posted by: makingwithheld - Jul-05-2024, 08:28 PM - Forum: General Coding Help - Replies (1)

I am an artist creating a sound installation. I want to create to sounds files which contain small fragments of each other.
The code has an error in ..... More


Attached Files

.py   OPlus.py (Size: 1.81 KB / Downloads: 147)
.wav   example1.wav (Size: 699.79 KB / Downloads: 124)
.wav   example2.wav (Size: 693.04 KB / Downloads: 121)
Print this item

  TTP: Line not being included but should match
Posted by: Calab - Jul-05-2024, 05:17 PM - Forum: Data Science - Replies (1)

I don't understand why one line of my data is not being matched in TTP.

Using the template and data found below, I would expect to see {'slot_12': ..... More

Print this item

Photo Template Matching Pages
Posted by: standenman - Jul-05-2024, 03:30 PM - Forum: Data Science - Replies (3)

I am trying to develop a strategy for automated classification of pages in a large pdf file. I have come up with a strategy in python cv2 and numpy. ..... More

Print this item

  No Script Folder in Python 3.6.2 when download
Posted by: sarah5smith - Jul-05-2024, 04:51 AM - Forum: Data Science - Replies (2)

I downloaded Python 3.6.2 on my iMac and PC. I attempted to use the pip install ..... to download NumPy, Matplotlib, etc. and it doesn't work. I notic..... More

Print this item

  filtering csv file problem
Posted by: jacksfrustration - Jul-04-2024, 11:41 AM - Forum: General Coding Help - Replies (1)

i am trying to write a function to send emails for reminders if todays date matches the dates saved on a csv file. i first go through the csv file, i ..... More

Print this item

Question SOLVED: TTP match when final column may or may not be present
Posted by: Calab - Jul-03-2024, 01:31 PM - Forum: Data Science - Replies (1)

I have another TTP problem where I can't figure out a solution...

My data:
[code]10/0.2/0 33 49 49 48 130 0 ..... More

Print this item

  Wont create Image from function
Posted by: the_muffin_man - Jul-03-2024, 12:26 PM - Forum: GUI - Replies (10)

Hi - First Post as I get into Python. Really enjoying it so far.

I am trying (and failing) to create a button that when clicked destroys the exist..... More

Print this item

  Black jack game simulation
Posted by: RoxaneParis1 - Jul-03-2024, 11:48 AM - Forum: General Coding Help - Replies (3)

Hi everybody,
I have some questions regarding a code experiment I would like to adapt.

This code was done to stimulate a blackjack experiment. Bas..... More

Print this item

  Help with graceful shutdown of MP thread with asyncio
Posted by: sawtooth500 - Jul-02-2024, 11:14 PM - Forum: General Coding Help - Replies (3)

This is my main code:

[python]if __name__ == "__main__":
queue_dict = {item[0]: mp.Queue() for item in symlist}

# Start market data pro..... More

Print this item

  Random student selection from groups.
Posted by: esahan - Jul-02-2024, 05:41 PM - Forum: General Coding Help - Replies (7)

There are students in different groups according to their grade levels. I want to make a selection so that students in the same grade level do not com..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] Simple webbot for... 2 hours ago AB073 Larz60+ Code Review
  Dynamic Module Import Err... 4 hours ago DaddyMAN snippsat General Codin...
  What Are the Most Overloo... Today, 03:37 shreyapatel Plyth News and Disc...
  Setting AST node lineno c... Yesterday, 21:15 voidtrance deanhystad General Codin...
  How do select this table ... Yesterday, 15:52 MarkMan snippsat Web Scraping ...
  Wish to write a code for ... Yesterday, 06:40 Hasan2025 Hasan2025 General Codin...
  I have a question Yesterday, 04:47 Clictithe Pedroski55 General Codin...
  How to produce a CPU load... Yesterday, 02:19 Calab Plyth General Codin...
  Venv - Python Virtual Env... 06-17, 02:23 DanneA Larz60+ General Codin...
  Webscraping: Attendance L... 06-17, 02:20 ThatsMe Larz60+ Web Scraping ...
  Convert any Python expres... 06-16, 14:06 voidtrance voidtrance General Codin...
Most views
  The best Prog... 572254
  Tutorial Requ... 484752
  Web Scraping ... 436797
  Newbie with P... 379622
  Thread remain... 351214
Most reputation
buran 581
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12067
buran 8173
snippsat 7337
deanhystad 6838
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Donaldabani Today
linnchinnn Today
crobertson Today
PeterBoowl Today
ldbdragon Today

User Panel Messages

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