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,386
» Latest member: itx_sumeet
» Forum threads: 38,820
» Forum posts: 176,013

Full Statistics

Online Users
There are currently 41 online users.
» 1 Member(s) | 36 Guest(s)
Bing, AOL, Google, Mojeek, snippsat

Latest Threads
IP address for users
Forum: Networking
Last Post: itx_sumeet
1 hour ago
» Replies: 4
» Views: 7,051
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
6 hours ago
» Replies: 5
» Views: 9,869
Calling python from anoth...
Forum: General Coding Help
Last Post: bowlofred
8 hours ago
» Replies: 4
» Views: 120
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 129
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 73
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 129
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,286
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 94
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 751
We open-sourced kubesdk —...
Forum: Code sharing
Last Post: beslanpuzl
Dec-21-2025, 11:52 AM
» Replies: 0
» Views: 160

 
  Need help editing a PDF
Posted by: omar - Oct-20-2022, 01:49 AM - Forum: General Coding Help - Replies (4)

I want to find out what I can do in Python for editing PDFs.
The PDF's will have many pages, each page with have 4 labels.
I need to add extra info..... More

Print this item

  how to replace OR operator with any
Posted by: mg24 - Oct-20-2022, 01:42 AM - Forum: General Coding Help - Replies (7)

Hi Team,

In below code , I am checking Country name if(Ind,US,Aus) then proceed further else exit.
how to use any operator in below situation.

..... More

Print this item

  Where can I find Python training with reading, lecture, labs and assignments?
Posted by: davidorlow - Oct-19-2022, 06:34 PM - Forum: General Coding Help - Replies (2)

Ok, I'm having a really hard time finding this. I paid a few hundred dollars to take an EdX course. It has mostly the way you'd learn in college, but..... More

Print this item

  ModuleNotFoundError: No module named 'omsdk.sdkproto'
Posted by: donvito7 - Oct-19-2022, 01:19 PM - Forum: General Coding Help - Replies (4)

Can anyone help me to fix this?

I am getting the error like in the subject line.

Traceback (most recent call last):
File "/usr/local/nagios/d..... More

Print this item

  Joining two jupyter notebooks and getting an error!
Posted by: Led_Zeppelin - Oct-19-2022, 12:32 PM - Forum: General Coding Help - Replies (1)

I am using the nbmerge command to join two jupyter notebooks into one larger notebook.

It appears to work. However, when running the new notebook, ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Creating a change table - £0.01-£0.50?
Posted by: MrKnd94 - Oct-19-2022, 12:01 PM - Forum: Homework - Replies (9)

Hello,

I'm trying to complete my workbook for university, but I'm stuck on this question: Write a program that determines how many of each coin ( f..... More


Attached Files

Thumbnail(s)
   
Print this item

  Numpy Structure and Efficiency
Posted by: garynewport - Oct-19-2022, 11:34 AM - Forum: General Coding Help - Replies (2)

I have the following code:

[python]
import matplotlib.pyplot as plt
import matplotlib.cbook as cbook

import numpy as np
import math

SIGMA ..... More

Print this item

  what version has the fix for the CVEs?
Posted by: juniarti - Oct-18-2022, 09:01 PM - Forum: News and Discussions - Replies (11)

Hi,
I have list of CVE for python and how do I find out what python version did has the fix for these list of CVE?
CVE-2018-20060, CVE-2019-16935, C..... More

Print this item

  Taking any 2d image and passing it to create a level
Posted by: iki_a_toure - Oct-18-2022, 09:00 PM - Forum: General Coding Help - Replies (4)

Hello,

I need help please. I am trying to figure out how can I take any 2d image I got and pass it in a python program with outlines that would act..... More

Print this item

  help RuntimeError: no running event loop
Posted by: marpaslight - Oct-18-2022, 07:14 PM - Forum: General Coding Help - Replies (5)

[python]from dataclasses import dataclass
from tkinter.messagebox import YES
from telethon import TelegramClient
from telethon import utils
from t..... More

Print this item

  mysql id auto increment not working
Posted by: tantony - Oct-18-2022, 02:25 PM - Forum: General Coding Help - Replies (10)

I deleted ID 2 from mySQL db, but then I have the following to AUTO INCREMENT

[python]import mysql.connector

mydb = mysql.connector.connect(
..... More

Print this item

  Post Request containing username/password using python for jwt
Posted by: anna - Oct-18-2022, 02:24 PM - Forum: Networking - Replies (1)

Hi All,

I am trying to get token through requests with user and password, there one small javascript provided by Vendor (this was demo in postman)...... More

Print this item

  NameError
Posted by: nafshar - Oct-18-2022, 01:24 PM - Forum: General Coding Help - Replies (3)

I am getting a NameError that I do not understand.
It appears the function "combo" is defined in the proper place, so "combo not found" is puzzling ..... More

Print this item

  Unresolved reference problem
Posted by: john7 - Oct-18-2022, 10:05 AM - Forum: General Coding Help - Replies (1)

In the function

[python]
def parse_message(msg_data):
ival = 0
fval = 0.0
opcode = msg_data[3]

if opcode == MSG_OPCODE_V..... More

Print this item

  Saving the times a script is run to a file or ...
Posted by: 3Pinter - Oct-18-2022, 05:46 AM - Forum: General Coding Help - Replies (7)

Hi,

I have a lot of scripts from which I'd like to know the amount of times it was run.

I coded a working version a long time ago plus I was eve..... More

Print this item

  Python Snippets Source
Posted by: kucingkembar - Oct-18-2022, 12:50 AM - Forum: General Coding Help - No Replies

hi, sorry for my bad English,
after previously I ask about "subscripts" in https://python-forum.io/thread-38441.html,
turn out it is called "Snippet..... More

Print this item

  Error TypeError: output_type_handler() takes 2 positional arguments but 6 were given
Posted by: paulo79 - Oct-17-2022, 06:23 PM - Forum: General Coding Help - Replies (1)

Hi all, I'm running a python code that was working before with older version. Now using 3.10 I'm gettin error below:

[python]TypeError: output_typ..... More

Print this item

  import module error
Posted by: tantony - Oct-17-2022, 04:29 PM - Forum: General Coding Help - Replies (5)

I'm learning Flask by watching a YouTube tutorial

https://www.youtube.com/watch?v=dam0GPOAvVI
https://github.com/techwithtim/Flask-Web-App-Tutorial/t..... More

Print this item

  Code
Posted by: StoneCherry0119 - Oct-17-2022, 03:03 PM - Forum: General Coding Help - Replies (4)

Python code

Print this item

  export project to an installable software in Pycharm
Posted by: jalal0034 - Oct-17-2022, 12:25 PM - Forum: General Coding Help - Replies (2)

Hi everybody
How can create an installable software with all needed files and packages in Pycharm ?

Print this item

  python call stored procedure
Posted by: mg24 - Oct-17-2022, 08:07 AM - Forum: General Coding Help - Replies (2)

Hi Team,

Need help how to call stored procedure via python.

I am using pyodbc libarary.

[python]query = """EXEC[DBS_database].[dbo].[sp_Reco..... More

Print this item

  Can't stop if statement from executing even though False + Messy code?
Posted by: monkeydesu - Oct-17-2022, 01:46 AM - Forum: Homework - Replies (1)

I'm doing the 100 days of Python on Udemy and am doing the day 15 challenge. I'm tasked with making a coffee machine, ask which drink from user, ask f..... More

Print this item

  401 Unauth error
Posted by: GUaro5555 - Oct-17-2022, 01:06 AM - Forum: Web Scraping & Web Development - Replies (7)

Hi gurus .

I m still very new to python so go easy on me, I have been trying to create this project that login to a website, what I have so far is ..... More

Print this item

  black
Posted by: Skaperen - Oct-17-2022, 12:59 AM - Forum: News and Discussions - Replies (10)

it turns out that i do not like various details of how black formats my code. so, i hope this is just defaults that can be changed, somehow. ..... More

Print this item

  Something the code dont work
Posted by: AlexPython - Oct-17-2022, 12:39 AM - Forum: General Coding Help - Replies (13)

I have a little problem with this code, it works sometimes, and something it doesn't. I don't know what is causing the problem. beneath, I will provid..... More

Print this item

  Convert Excel file into csv with Pipe symbol..
Posted by: mg24 - Oct-16-2022, 06:01 PM - Forum: General Coding Help - Replies (4)

Hi Team,

I have excel file, I want to read that excel file and save it into csv files.
But delimiter I expect "|" symbol instead of comma,


1..... More

Print this item

  num+1
Posted by: astral_travel - Oct-16-2022, 02:15 PM - Forum: General Coding Help - Replies (12)

hi,
in the following code:

[python]
__author__ = 'jeffreyhunt'

num = int(input("Please choose a number to divide: "))

listRange = list(rang..... More

Print this item

  Hopfield network for classification
Posted by: saoko - Oct-16-2022, 11:30 AM - Forum: News and Discussions - Replies (1)

Hi everyone!
I had a task to create Hopfield network for classification with Iris dataset. I went through Internet, but found nothing about it.
Is..... More

Print this item

  Transform 2d plot into 1d plot for som
Posted by: saoko - Oct-16-2022, 09:12 AM - Forum: General Coding Help - No Replies

Hi everyone!
I'm trying to understand self-organising map neural network with Python. Here's a code:

[python]
import numpy as np
from numpy.ma...... More

Print this item

  Row Count and coloumn count
Posted by: Yegor123 - Oct-15-2022, 06:13 PM - Forum: General Coding Help - Replies (4)

Im making my first game on python and it was talking about adding row and coloumn counts could someone explain what that means and what does it do ?

Print this item

  Add root node to xml
Posted by: SriRajesh - Oct-15-2022, 02:20 PM - Forum: General Coding Help - Replies (3)

Hi,
I generated xml string and want to add root node:

#lets create a dataframe
df=pd.DataFrame({'A':[1,2,3],'B':['a','b','c']})

[python]def to..... More

Print this item

  Python presentation materials
Posted by: PA3040 - Oct-15-2022, 07:18 AM - Forum: News and Discussions - Replies (2)

Hi Team,
I am teacher of middle school
we have decided to teach python for our school students from grade 8 onwards
it would be grate if some one ..... More

Print this item

  Get http header ?
Posted by: JohnnyCoffee - Oct-14-2022, 11:06 PM - Forum: Networking - Replies (1)

I'm using the wsgiref module to run an application and I need to get the request header that comes from the client's browser to handle http responses,..... More

Print this item

  is there an unused character in Python?
Posted by: Skaperen - Oct-14-2022, 10:59 PM - Forum: News and Discussions - Replies (8)

is there an unused character in Python? i'm looking for a character i won't see outside of quotes that i can drop into my code for some source proces..... More

Print this item

  Starting place for Pygame Mobile app
Posted by: XavierPlatinum - Oct-14-2022, 10:46 PM - Forum: Game Development - Replies (2)

For anyone who's made mobile apps before, where is a smart place to start making a pygame game for android? Is there a simple template I can dissect ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IP address for users 1 hour ago Robots itx_sumeet Networking
  Lottery generator (beginn... 6 hours ago Hullari Pedroski55 General Codin...
  Calling python from anoth... 8 hours ago eedjsa bowlofred 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 ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
  a function to watch files 12-21, 07:43 Skaperen Gribouillis News and Disc...
Most views
  The best Prog... 580336
  Tutorial Requ... 518864
  Web Scraping ... 442759
  Newbie with P... 386943
  New Users Int... 386063
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
itx_sumeet Today
zaathonyshulze4201 Today
Michaelhauct Yesterday
eedjsa Yesterday
byanfrances6176 Yesterday

User Panel Messages

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