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,394
» Latest member: braillescribe
» Forum threads: 38,822
» Forum posts: 176,021

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 38 Guest(s)
Bing, Google, Google Image, AOL, Apple, Facebook

Latest Threads
Willing to pay for help w...
Forum: General Coding Help
Last Post: braillescribe
7 minutes ago
» Replies: 2
» Views: 23
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 06:21 PM
» Replies: 1
» Views: 97
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Yesterday, 04:06 PM
» Replies: 9
» Views: 249
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,073
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,908
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 149
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 85
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 154
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,298
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 118

 
  text get index problem
Posted by: philipbergwerf - Feb-02-2022, 06:42 PM - Forum: GUI - Replies (2)

I made a small example of my problem:
[python]from tkinter import *

root = Tk()

text = Text(root)
text.pack()

text.insert('insert', 'some t..... More

Print this item

  longest palindromic subsequence DP solution bug
Posted by: usercat123 - Feb-02-2022, 03:52 PM - Forum: General Coding Help - Replies (9)

Hey,

I am trying to code the following problem: given a string find the length of the longest palindromic subsequence and for the input "GATTACAGAT..... More

Print this item

  When did the number got included in the list?
Posted by: Frankduc - Feb-02-2022, 03:42 PM - Forum: General Coding Help - Replies (14)

Hello,

I am puzzle how to understand when integer are integrated to a list. Here's an example i pick up.

[python]import itertools

def prime_n..... More

Print this item

  Using multiprocessing to produce objects for i in range
Posted by: lucasrohr - Feb-02-2022, 11:13 AM - Forum: General Coding Help - Replies (6)

So I wrote this massive code filling a hotel with fictional objects (i.e. people) with a bunch of attributes with random values, then making a statist..... More

Print this item

  pivot table (excel vs python)
Posted by: Bric - Feb-02-2022, 10:11 AM - Forum: Data Science - Replies (1)

Hello, I'm looking to do a pivot table of a csv file on Python, usually I do it on Excel but I'm looking to automate it. I started with this code
[py..... More

Print this item

  [split] IS there a way to preserve some order in a tSNE/PCA plot?
Posted by: majidvaghari - Feb-02-2022, 08:40 AM - Forum: Data Science - No Replies

Dear Sir/Madam,

I have a question about t-SNE plots?

How can I make a t-SNE plot like the picture:

It’s used to reduce dimensions from6 two 2..... More


Attached Files

Thumbnail(s)
   
Print this item

  How can I get the Middle English and Modern English from this page?
Posted by: Pedroski55 - Feb-02-2022, 04:45 AM - Forum: Web Scraping & Web Development - Replies (5)

I want to get the text of this page because it contains Middle English and Modern Engl..... More

Print this item

  Looking to make a price checking script
Posted by: 6010fd12 - Feb-02-2022, 01:54 AM - Forum: Web Scraping & Web Development - Replies (1)

Spent 10 hours watching some python tutorials so I'm familiar with the very basics of python. I'm looking to make a program with python that:

Print this item

  Print controlled with global-var
Posted by: fmr300 - Feb-01-2022, 10:58 PM - Forum: General Coding Help - Replies (3)

In a script I'm working on, sometimes I'd like to turn off some of the print statements that are informative, while leaving the true-warning print's o..... More

Print this item

  Issue when using open() in converted exe
Posted by: skakalpes - Feb-01-2022, 06:52 PM - Forum: General Coding Help - Replies (2)

Hi. I'm trying to solve a critical issue that prevents to continue working on my project. I think it's something easy to solve and I'm probably just m..... More

Print this item

  a general question
Posted by: barryjo - Feb-01-2022, 06:04 PM - Forum: General Coding Help - Replies (5)

I have the following code, the first method, SendCommandV1, was given to me. My question is do I have to pass ser as an argument when I call SendComm..... More

Print this item

  Pendulum Help Please
Posted by: bill_z - Feb-01-2022, 02:49 PM - Forum: General Coding Help - Replies (6)

In a previous thread, it was suggested I use pendulum to get daylight saving time information. At that time, I was having issues with my Python versi..... More

Print this item

  Using like statement in pandas df
Posted by: bnadir55 - Feb-01-2022, 02:00 PM - Forum: General Coding Help - Replies (1)

Hello,
I have a function in which I want to return in a column all the values that like ABC and return it in a new column as ABC , but I get an erro..... More

Print this item

  remove colon if value is None
Posted by: wardancer84 - Feb-01-2022, 12:57 PM - Forum: General Coding Help - Replies (7)

hey,

i have this comprehension...

extracted_tags = [li['tags'] for li in rule["commands"] if li['tags'] is not None]
wor..... More

Print this item

  port scanner
Posted by: Than999 - Feb-01-2022, 12:24 PM - Forum: General Coding Help - No Replies

Hi, I am learning about cybersecurity and networking by following this Youtube video. For this project I am making a simple port scanner. However, whe..... More

Print this item

  Clearing listboxes
Posted by: klatlap - Feb-01-2022, 09:36 AM - Forum: GUI - Replies (3)

I currently use this function to clear multiple listboxes, but i feel is not a good way to do it and am sure can be done with a for loop but can't wor..... More

Print this item

  Modify project (so that it uses db, QSqlRelationalTableModel etc)
Posted by: panoss - Jan-31-2022, 10:14 PM - Forum: GUI - No Replies

I have this program which displays a form with a QTableView which has 2 columns.
The second column is a combo box.
I want to modify it so that:
-th..... More

Print this item

  use of format function
Posted by: barryjo - Jan-31-2022, 10:09 PM - Forum: General Coding Help - Replies (3)

In the following code, s is returned as an integer
The output is 1
How do I convert the integer s into a string with two decimal places.
i.e. I wou..... More

Print this item

  The use of enumerate
Posted by: Frankduc - Jan-31-2022, 04:32 PM - Forum: General Coding Help - Replies (3)

Hello,

Trying to substract one index by another.

[python]def is_prime_v1(n):
"""Return a boolean indicating if integer n is prime"""
if n ==..... More

Print this item

  Why is this Python code running twice?
Posted by: mcva - Jan-31-2022, 03:09 PM - Forum: General Coding Help - Replies (5)

Hi everybody
Why is this code running twice? Is this related with the variables that the code imports from convert_nc_to_csv1?
Thank you.


[pyth..... More

Print this item

  How to concatenate filepath with variable?
Posted by: Mark17 - Jan-31-2022, 02:30 PM - Forum: General Coding Help - Replies (2)

Hi all,

I'm trying to write a program that will replace a couple lines of a new program (placed in a set filepath) and replace a couple filepath li..... More

Print this item

  How to know coming snmp trap version in python pysnmp?
Posted by: ilknurg - Jan-31-2022, 12:16 PM - Forum: General Coding Help - No Replies

I have a snmp trap receiver for snmp v2. I want to get snmp version in coming traps. If snmp version is 1 or 3 or anything else, return an error. How ..... More

Print this item

  ssues with importing data from ODBC
Posted by: Slavek_d - Jan-31-2022, 09:06 AM - Forum: General Coding Help - Replies (1)

Hi, I am new to Python and I started immediately from importing data I am planning to analyse in pandas(?) to get tables, mean scores etc. I know how ..... More

Print this item

  Give a number for Variable
Posted by: quest - Jan-31-2022, 02:16 AM - Forum: General Coding Help - Replies (2)

I defined symbols via Sympy and I created an array. Then when I want to give a value to the variable, the variable still stay as variable.

[python]..... More

Print this item

  Is it normal so much time training for Training Custom Object Detector??
Posted by: hobbyist - Jan-30-2022, 07:26 PM - Forum: Data Science - Replies (2)

I am following this tutorial: https://tensorflow-object-d[url=https://python-forum.io/thread-36233.html]..... More


Attached Files

Thumbnail(s)
   
Print this item

  Call a function in FormA from FormB
Posted by: panoss - Jan-30-2022, 06:56 PM - Forum: GUI - Replies (3)

Hi everybody.
I 'm looking for a simple example (with SIGNAL, SLOt and Emit()) where we have:
-a main form, say 'FormA' which opens an..... More

Print this item

  question regarding my Python port scanner script
Posted by: Than999 - Jan-30-2022, 04:31 PM - Forum: Networking - No Replies

Hi, I am learning about cybersecurity and networking by following this Youtube video. For this project I am making a simple port scanner. However, w..... More

Print this item

  FTp timeout except
Posted by: korenron - Jan-30-2022, 01:54 PM - Forum: General Coding Help - Replies (2)

Hello
I'm uploading a script file to a server
which casue the server to reboot ( which is what I want )
how do I make the python ignore it? and s..... More

Print this item

  SOlving LInear Equations in Python(Symoy, NUmpy) - Coefficient Problem
Posted by: quest - Jan-30-2022, 11:50 AM - Forum: General Coding Help - Replies (3)

Hello I am trying to solve set of equations and I actually know the how to solve them but I am having some problems and for some reason I cannot give ..... More

Print this item

  Pandas dataframe comparing
Posted by: anto5 - Jan-30-2022, 10:21 AM - Forum: Data Science - No Replies

Hello,

I am reading a csv file using pandas.

my dataframe consist of 3.7 million records and has two column: Date, Subscribers_ID

my datafram..... More

Print this item

  Issue with with list
Posted by: Abdirahman - Jan-30-2022, 09:42 AM - Forum: Homework - Replies (4)

I was solving a challenge on Microsoft course on python, you are given output and asked to reproduce it.

here is the given output:

[output]There..... More

Print this item

  I can't open a link with Selenium in Python
Posted by: jao - Jan-30-2022, 04:21 AM - Forum: General Coding Help - No Replies

Hello, I'm having problems with Selenium in Python.

I'm learning Selenium in python and I can't click on a link.

Usei o:
[python]
link.send_ke..... More


Attached Files

Thumbnail(s)
   
Print this item

  help needed running a simple function in pyqt5
Posted by: diodes - Jan-30-2022, 02:06 AM - Forum: GUI - Replies (27)

Hi

I am new to python and would like to get a small function to accept 2 variables and then execute a small function in a pyqt5 window. I have rea..... More

Print this item

  Trouble selecting attribute with beautiful soup
Posted by: bananatoast - Jan-29-2022, 03:23 PM - Forum: General Coding Help - Replies (3)

I'm writing my first program to download images from a website and have run into a roadblock.
I can't seem to get the src attribute in the variable '..... More

Print this item

  Facing Problem while opening a file through command prompt
Posted by: vlearner - Jan-29-2022, 02:13 PM - Forum: General Coding Help - Replies (4)

Hi Everyone,

Here is the code that I have written for reading a file through command prompt.
[python]
from sys import argv

script, filename =..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Willing to pay for help w... 7 minutes ago braillescribe braillescribe General Codin...
  How to Integrate External... Yesterday, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... Yesterday, 16:06 eedjsa eedjsa General Codin...
  IP address for users Yesterday, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Yesterday, 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 ...
  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...
Most views
  The best Prog... 580381
  Tutorial Requ... 519220
  Web Scraping ... 442774
  Newbie with P... 386957
  New Users Int... 386328
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
braillescribe Today
aurelio12282025 Today
bejaminmaarleyo1374 Today
taylorlitleoz476 Today
desy845 Today

User Panel Messages

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