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,251
» Latest member: ftk456
» Forum threads: 38,780
» Forum posts: 175,822

Full Statistics

Online Users
There are currently 47 online users.
» 1 Member(s) | 42 Guest(s)
Bing, Google, Applebot, kshahzad1985

Latest Threads
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 2
» Views: 50
New to python and coding
Forum: Homework
Last Post: jefsummers
10 hours ago
» Replies: 4
» Views: 116
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 10:11 AM
» Replies: 6
» Views: 204
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 326
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 287
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 119
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,625
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 217
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 205
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,426

 
  python keeps opening script directory
Posted by: Tyrel - Jul-27-2021, 06:23 PM - Forum: General Coding Help - Replies (5)

Could someone please help,

openwebsites.py:

[python]import webbrowser
import os


def websites():
websitelist = "Setup1\\web_value.txt"..... More

Print this item

  asyncio stops responding to requests
Posted by: mansky - Jul-27-2021, 05:48 PM - Forum: Networking - Replies (1)

Hi All,

I have a interesting problem with a server script I am working on.

The Python 3.6 server script takes requests from a client program wri..... More

Print this item

  Logstash - sending Logstash messages to another host in case of Failover in python
Posted by: Suriya - Jul-27-2021, 02:02 PM - Forum: General Coding Help - No Replies

I'm currently using TCPLogstashHandler to send Logstash messages using TCP. The below code is used to add the TCPLogstashHandler to the root logger.
..... More

Print this item

  Unable to access jarfile
Posted by: Rakshan - Jul-27-2021, 11:44 AM - Forum: General Coding Help - Replies (2)

I had a java application which was testing servers.
We are migrating to python, and for a start we are making use of the jar from the java applicatio..... More

Print this item

  Fastest Way of Writing/Reading Data
Posted by: JamesA - Jul-27-2021, 10:17 AM - Forum: General Coding Help - Replies (1)

I have inherited a script that scrapes data from the web every few seconds and stores it in a mysql database. It then deletes data that is more than 3..... More

Print this item

  Pool multiprocessing - know current status in loop?
Posted by: korenron - Jul-27-2021, 08:36 AM - Forum: General Coding Help - No Replies

Hello,
wanted to know if there is a way to know what is the current status in the loop while running pool?
for example
I have a list of 10000 ite..... More

Print this item

Question PDF generation / edit
Posted by: SpongeB0B - Jul-27-2021, 07:58 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

I made a little website with flask, now I would like to generate a pdf (static) with the content of that website.

By static I mean ..... More

Print this item

  Nested Conditionals
Posted by: shen123 - Jul-27-2021, 07:43 AM - Forum: General Coding Help - Replies (3)

Hi All Big Grin

I am new to python. I am doing this tutorial on nested conditions coding however I am stuck. I appreciate some help with it.
..... More

Print this item

Lightbulb Feedback needed! Controlled entropy in programs with 'ordered' module
Posted by: grandrew - Jul-27-2021, 01:49 AM - Forum: News and Discussions - No Replies

Hi all!

Me and my team are working on a very new concept - controlled entropy in program code.

It should make a lot easier to solve very..... More

Print this item

  Apache 2.0 Licensed Python code
Posted by: Furkan - Jul-26-2021, 11:12 PM - Forum: General Coding Help - No Replies

Hi, i want to use Apache 2.0 Licensed module in my code and i have a few questions:

1- If i use an Apache 2.0 licensed code, should my code be lice..... More

Print this item

  Idle debugger pops up Run.py - library?
Posted by: fred1232 - Jul-26-2021, 10:24 PM - Forum: General Coding Help - Replies (1)

I'm learning Python basics using Python IDLE. When I step through code I keep getting a page of incomprehensible data with the following heading: "Ru..... More

Print this item

  Arrays faster than pandas?
Posted by: Mark17 - Jul-26-2021, 06:07 PM - Forum: Data Science - Replies (4)

I just learned that Python is slow with regard to numbers because they are generally wrapped as objects with associated attributes. The memory burden..... More

Print this item

  Looking for discord bot to make loop ping for address ip
Posted by: tinkode - Jul-26-2021, 03:51 PM - Forum: General Coding Help - No Replies

Hello i'am Looking for discord bot source code to make loop ping for any address ip to check if working or not

exemples :

/ping [ip:port] [secon..... More

Print this item

  saving each iteration of a loop
Posted by: sgcgrif3 - Jul-26-2021, 03:39 PM - Forum: General Coding Help - Replies (3)

I have a code which is converting between file types. I have 10 .vtp files and I am converting these to .mat files.
My code works, but it only saves ..... More

Print this item

  When I tried to make an index for a walking animation and it didnt worked
Posted by: izmamonke - Jul-26-2021, 01:09 PM - Forum: Game Development - Replies (1)

I tried to make a walking animation using an index and when I tried to put the image in the index this error shows up
[python]import pygame

pygame..... More

Print this item

  comparing floating point arrays to arrays of integers in Numpy
Posted by: amjass12 - Jul-26-2021, 11:58 AM - Forum: Data Science - No Replies

I am using sklearns OneHotEncoder and MultiLabelBinarizer to one-hot encode some target labels.

I am working on a multi-label classification task ..... More

Print this item

Bug Help Debug please
Posted by: jamesaarr - Jul-26-2021, 09:11 AM - Forum: General Coding Help - Replies (12)

Hello,

I am trying to make a Python program that takes user input and generates labels as a pdf based on what was put in. The proof of concept is d..... More

Print this item

  Keep inner Values of 2D array
Posted by: timste - Jul-26-2021, 09:04 AM - Forum: Data Science - No Replies

Hi
I have a tiff with lakes, which I converted into a 2D array. I would like to keep the outline of the lakes in a 2D array.

[python]import raster..... More

Print this item

  Image to Sound Python Project
Posted by: ankitdixit - Jul-26-2021, 08:25 AM - Forum: General Coding Help - Replies (1)

Hey Everyone, Can anyone tell me below code is correct or not? I am working on Image to Sound based python project and looking to source code. I have..... More

Print this item

  NameError: name 'u1' is not defined (on parser code Python)
Posted by: Melcu54 - Jul-26-2021, 08:15 AM - Forum: General Coding Help - Replies (1)

hello. I test a code, and it's not working:

[python]from bs4 import BeautifulSoup
import bs4
import requests
import os
import re

def getHTML..... More

Print this item

  How can we attach sample data files?
Posted by: eveabion - Jul-26-2021, 06:10 AM - Forum: Board - Replies (7)

Hello Everyone, I am newbie to python and the forums. I have a question that I wanted to ask and attach my sample data.
How do I attach a csv file wi..... More

Print this item

  How to send data from a python application to an external application
Posted by: aditya_rajiv - Jul-26-2021, 04:29 AM - Forum: General Coding Help - Replies (1)

I wanted to know a way to send some data from a python application to another application. The other application i am referring to over here runs on t..... More

Print this item

Exclamation win32com: How to pass a reference object into a COM server class
Posted by: Alfalfa - Jul-25-2021, 08:11 PM - Forum: General Coding Help - Replies (3)

I'm trying to implement a cross-platform python interface for a third-party API (Antidote), so that it can communicate with a PyQt application.

First..... More

Print this item

  Creating step function
Posted by: erdemath - Jul-25-2021, 06:33 PM - Forum: Data Science - Replies (1)

Hi,

For some time dependent biophysical model, I´m trying to visualize the certain
impulses occured on certain time. I define some step function b..... More

Print this item

  Assignment with or
Posted by: Mark17 - Jul-25-2021, 04:12 PM - Forum: General Coding Help - Replies (2)

Hi all,

Here's my code

[code]
def arithmetic_arranger(problems,answers=False):
for problem in problems:
print(problem)
if '+' not ..... More

Print this item

  cbot ctrader automate trading
Posted by: hl29951 - Jul-25-2021, 10:31 AM - Forum: General Coding Help - Replies (1)

I need know modules, software, library to build a software that make RSI forex trading cbot with the following idea:
- Enter a buy order when RSI cro..... More

Print this item

  Using import in python script offline - HELP!!
Posted by: blackhatter1001001 - Jul-25-2021, 03:52 AM - Forum: General Coding Help - Replies (1)

Hi,

I am completely new to the python world so please bear with me, I am hoping someone can help me understand something.

I am currently trying ..... More

Print this item

  Could not find a version that satisfies the requirement
Posted by: tester_V - Jul-24-2021, 08:03 PM - Forum: General Coding Help - Replies (5)

Greetings to those that work on Saturday ! Wink Big Grin

I noted I cannot install any of the modules from the network.
The error goes u..... More

Print this item

  write a program which prints the day in english
Posted by: ben1122 - Jul-24-2021, 05:52 PM - Forum: General Coding Help - Replies (10)

Hi, I made post before ( dont mind it, it was when i just started ).
I have a question:
how to print the day in english if i have a date ( input dat..... More

Print this item

  Path to the desired value
Posted by: Irv1n - Jul-24-2021, 03:38 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi I try to read text from path:
[python]browser.find_element_by_xpath("//table[@class=' example display cell-border records_list']/tbody/tr/td[5]")...... More


Attached Files

Thumbnail(s)
   
Print this item

  remove file from current project
Posted by: rwahdan - Jul-24-2021, 03:02 PM - Forum: GUI - Replies (2)

Hi,

I created a file and after done it is opened and saved by user. I then need to delete from my current directory in my project. I tried the remo..... More

Print this item

Shocked Help for COM server implementation ("Unspecified error" on Dispatch())
Posted by: Alfalfa - Jul-23-2021, 11:50 PM - Forum: General Coding Help - Replies (2)

I'm trying to implement a COM server that will expose some methods, in order to link a third-party API with a PyQt application. The application is a g..... More

Print this item

  Login through a protected directory
Posted by: ebolisa - Jul-23-2021, 10:39 PM - Forum: General Coding Help - Replies (3)

Hi,

I've an index.html page stored in a protected folder, how do I get to it?

The code below doesn't work.
TIA

[python]import requests

ur..... More

Print this item

  load sqlite3 data into pdf
Posted by: rwahdan - Jul-23-2021, 06:56 PM - Forum: GUI - Replies (5)

Hi,

I searched for code sample to learn how to put one of my db. table fields into pdf with many pages. Is there any tutorials out there that teach..... More

Print this item

  Button clicked not working
Posted by: catlessness - Jul-23-2021, 05:02 PM - Forum: GUI - Replies (10)

[python]
import sys,os,re,time
import numpy as np
import PI_GUI_App_Map as pgam
import PI_GUI_Func as pgfunc
from PyQt5 import QtWidgets, QtGui
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  why is the image not show... 3 hours ago sarbogast deanhystad General Codin...
  New to python and coding 10 hours ago lary_p jefsummers Homework
  Help with Serial.write in... Today, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
Most views
  The best Prog... 578870
  Tutorial Requ... 509992
  Web Scraping ... 441926
  Newbie with P... 385936
  New Users Int... 376426
Most reputation
buran 581
snippsat 510
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+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ftk456 Today
sarbogast Today
bmurray Today
kai_cow2710 Today
Kacper Yesterday

User Panel Messages

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