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,396
» Latest member: aellatsz9602
» Forum threads: 38,823
» Forum posts: 176,026

Full Statistics

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

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:11 AM
» Replies: 1
» Views: 104
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,598
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 195
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,609
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 165
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 316
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,120
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,980
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 190
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 123

 
  Play the next music in a list
Posted by: Pymax - Jul-28-2021, 07:26 PM - Forum: General Coding Help - No Replies

Hi everyone, I'm looking for a way to play the next music from a list. I use pygame.mixer to play a music from lists_of_songs, I can't find a way to p..... More

Print this item

  Problem Using SQL Placeholder In MySQL Query
Posted by: AdeS - Jul-28-2021, 03:57 PM - Forum: General Coding Help - Replies (11)

Hi all, I'm very new to Python (7 days and counting) and seem to be having problems with passing in variables into my SELECT query.

The intention i..... More

Print this item

  MD
Posted by: nio74maz - Jul-28-2021, 02:15 PM - Forum: GUI - Replies (2)

Good Day I’m trying to implement a Mddatatable on a file.py that in turn uses a filke.kv for buttons etc, how do I get them to work together as the Md..... More

Print this item

  Error using mariadb select query with form in python?
Posted by: shams - Jul-28-2021, 11:36 AM - Forum: General Coding Help - Replies (2)

I want to use form with mariadb in python, i want to pass the id from form to mariadb select query to print the selected table row, this is index.htm..... More

Print this item

  Accessing varying command line arguements
Posted by: Rakshan - Jul-28-2021, 11:15 AM - Forum: General Coding Help - Replies (3)

I am using a java jar in Pycharm environment to achieve testing in a pythion environment.
To make the application more interactive, we plan to use com..... More

Print this item

  Plotting simple graph (AttributeError)
Posted by: Laplace12 - Jul-28-2021, 10:58 AM - Forum: General Coding Help - No Replies

Hey,

I'm trying to plot energy as a function of My. I want to plot the function for values of n between 1-10, but the code returns an AttributeErro..... More

Print this item

  Extracting and printing data
Posted by: ajitnayak1987 - Jul-28-2021, 09:30 AM - Forum: General Coding Help - No Replies

I am a newbie here. I have written simple code for reading purposes. I wanted to how can print the value from the Base class itself

I have a Breed ..... More

Print this item

  'str' object is not callable
Posted by: ZYSIA - Jul-28-2021, 09:27 AM - Forum: General Coding Help - Replies (8)

this is my script below :
when i first run, everything is normal and prompt user "Do you want a new reading :"
but when i key in yes and the error ..... More

Print this item

  first time use of locust - this is the place to ask?
Posted by: korenron - Jul-28-2021, 08:26 AM - Forum: Web Scraping & Web Development - No Replies

Hello,
wanted to know if someone can explain to me something :

I have a remove server that work as a syslog server. getting around 100 udp message..... More

Print this item

  Pandas Data frame column condition check based on length of the value
Posted by: aditi06 - Jul-28-2021, 01:35 AM - Forum: Data Science - Replies (1)

I have pandas data frame which gets created by reading an excel file. The excel file has a column called serial number. Then I pass a serial number to..... More

Print this item

  python3 vs python
Posted by: Skaperen - Jul-28-2021, 01:12 AM - Forum: News and Discussions - Replies (4)

are we ever going to use the name "python" (without the "3") as an alias/equivalent for "python3" in the context of the name of the executable? or wi..... More

Print this item

  Converting 'Time' to AM/PM
Posted by: tester_V - Jul-27-2021, 08:58 PM - Forum: General Coding Help - Replies (18)

Greetings to all!
I'm sure I'm trying to invent a bicycle.
I need to convert strings in the following format to AM/PM:
[python]
st = '2021-07-05-..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q Today, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 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...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
Most views
  The best Prog... 580435
  Tutorial Requ... 519688
  Web Scraping ... 442788
  Newbie with P... 386993
  New Users Int... 386622
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
aellatsz9602 Today
cruisesfares Today
azam Today
zcharlesoogleto9533 Today
MaxTranslate Yesterday

User Panel Messages

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