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,400
» Latest member: BioNanoTech
» Forum threads: 38,825
» Forum posts: 176,033

Full Statistics

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

Latest Threads
Sorry Help
Forum: General Coding Help
Last Post: BioNanoTech
3 hours ago
» Replies: 0
» Views: 29
IP address for users
Forum: Networking
Last Post: DeaD_EyE
7 hours ago
» Replies: 6
» Views: 7,151
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
7 hours ago
» Replies: 1
» Views: 56
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,608
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 164
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,612
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 241
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,629
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 210
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 361

 
  Closing Web Browser
Posted by: rdwessex - Jul-16-2024, 07:30 AM - Forum: General Coding Help - Replies (5)

Hi. I'm very new to Python coding. This is my code (attached).

import webbrowser
url = ""https://newholland.com"
webbrowser.open(url)

How do I..... More


Attached Files

Thumbnail(s)
   
Print this item

Question How to get calling directory?
Posted by: franklin97355 - Jul-16-2024, 04:01 AM - Forum: General Coding Help - Replies (4)

Is there a way to get the calling directory in Python? I want to have the program in one spot and call it from more than one spot. The program and Pyt..... More

Print this item

  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: 208)
.wav   example1.wav (Size: 699.79 KB / Downloads: 181)
.wav   example2.wav (Size: 693.04 KB / Downloads: 199)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sorry Help 3 hours ago BioNanoTech BioNanoTech General Codin...
  IP address for users 7 hours ago Robots DeaD_EyE Networking
  Check if running from she... 7 hours ago rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Yesterday, 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... 580463
  Tutorial Requ... 519941
  Web Scraping ... 442796
  Newbie with P... 387009
  New Users Int... 386742
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
BioNanoTech Today
arachlmaarley4839 Yesterday
CarlApome Yesterday
JulioLet Yesterday
aellatsz9602 12-30

User Panel Messages

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