Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,653
» Latest member: pyry
» Forum threads: 37,398
» Forum posts: 169,949

Full Statistics

Online Users
There are currently 359 online users.
» 0 Member(s) | 352 Guest(s)
Bing, Facebook, Baidu, Google, Yandex, Applebot

Latest Threads
How To Make A PyQt5 Progr...
Forum: GUI
Last Post: menator01
1 hour ago
» Replies: 1
» Views: 72
ModulNotFoundError matplo...
Forum: General Coding Help
Last Post: deanhystad
2 hours ago
» Replies: 1
» Views: 53
Problem Converting Tradin...
Forum: General Coding Help
Last Post: kralxs
8 hours ago
» Replies: 0
» Views: 80
New on python. Needs help...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 1
» Views: 90
Can provide python tutori...
Forum: Jobs
Last Post: carellapansullon
11 hours ago
» Replies: 1
» Views: 187
Win or Loss Prediction
Forum: General Coding Help
Last Post: ksasi2k3
Yesterday, 01:46 PM
» Replies: 4
» Views: 184
Good way to ignore case w...
Forum: General Coding Help
Last Post: menator01
Yesterday, 12:39 PM
» Replies: 1
» Views: 109
how to edited Tkinter Top...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:16 AM
» Replies: 7
» Views: 190
using mutable in function...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 10:10 AM
» Replies: 1
» Views: 129
Cucumber installation
Forum: General Coding Help
Last Post: SandraYokum
Yesterday, 07:52 AM
» Replies: 2
» Views: 128

 
  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

  Meltdown Mitigation (operators + conditionals) beware: Exercism potential spoiler
Posted by: Drone4four - Jan-29-2022, 12:23 PM - Forum: Homework - Replies (5)

I’m working on a coding challenge courtesy of exercism.org. It’s self-paced study courseware. Even though it is not for-credit, I’d still like to pres..... More

Print this item

  Tkinter Image buttons
Posted by: menator01 - Jan-29-2022, 11:32 AM - Forum: Code sharing - Replies (1)

Using Yoriz's BoolImage class from this post, I made an example of using mu..... More

Print this item

  Frames layout adding widgets
Posted by: klatlap - Jan-29-2022, 12:51 AM - Forum: GUI - Replies (7)

Hi, i have been struggling with this for days looking at tutorial but just can't get it, i am creating an applications, my thought is to create app, t..... More

Print this item

  [] vs *[]
Posted by: hshivaraj - Jan-28-2022, 11:34 PM - Forum: General Coding Help - Replies (3)

Hey guys

what the different between sending a send as [] and *[]? For instance

[python]def main():
x = [1] * 10
print(list(chain(*x)))..... More

Print this item

  The infinite sequence of prime numbers
Posted by: Gribouillis - Jan-28-2022, 09:57 PM - Forum: Code sharing - Replies (4)

[python]
#!/usr/bin/env python
# SPDX-FileCopyrightText: 2022 Member Gribouillis of www.python-forum.io
#
# SPDX-License-Identifier: MIT

__vers..... More

Print this item

  Looking for some general advice
Posted by: Extra - Jan-28-2022, 09:40 PM - Forum: General Coding Help - Replies (5)

Saw this cool 1985 Home Automation system GUI (Link) and I was thinking about replicating it. I..... More

Print this item

  ValueError: not enough values to unpack (expected 4, got 1)
Posted by: vlearner - Jan-28-2022, 05:47 PM - Forum: General Coding Help - Replies (2)

while trying to execute the program I got the error mention in the subject.
kindly help me in this, I am new to argv concept
[python]
from sys impo..... More

Print this item

  Information about api.sunrise-sunset please
Posted by: bill_z - Jan-28-2022, 03:35 PM - Forum: General Coding Help - Replies (20)

I'm having some difficulties understanding this python code I found on the Internet. It is suppose to return sunrise and sunset time relative the the..... More

Print this item

  How to fine tune cutecharts?
Posted by: Gigux - Jan-28-2022, 03:02 PM - Forum: General Coding Help - Replies (1)

Hello,
I have made a graph with cutecharts but how can I customize the plot? Specifically, how:

  1. do I add a horizontal dashed black li..... More

Print this item

  Escape indentation
Posted by: Frankduc - Jan-28-2022, 02:25 PM - Forum: General Coding Help - Replies (11)

Hello,

Its probably the wrong way to do this, but i am trying to print my list and because of the if statement to get rid of the false returned, i ..... More

Print this item

  "while" loop is looping back too early
Posted by: mangurian - Jan-28-2022, 04:08 AM - Forum: General Coding Help - Replies (1)

I have some code with a "while" loop. The loop encompasses fewer instructions than I want. In other words, it loops back too early. I am a hobbiest an..... More

Print this item

  Clearing an asyncio queue if it's empty
Posted by: H84Gabor - Jan-28-2022, 02:25 AM - Forum: General Coding Help - No Replies

Hi all,

I was wondering if anyone would know the simplest way (I don't know any) to check if an asyncio queue is empty and how to clear it. I use t..... More

Print this item

  Strange write()/File behavior
Posted by: kaega2 - Jan-28-2022, 01:09 AM - Forum: General Coding Help - Replies (2)

Hello everyone,
I ran into some strange behavior I don't understand while completing this online course. I was hoping you could help me understand it..... More

Print this item

  Trouble with a turtle movement assignment.
Posted by: JosephSondgeroth - Jan-27-2022, 10:02 PM - Forum: Homework - Replies (1)

In this assignment we are supposed to put ten balls in a list and have the bounce around in a set area defined by a border. We then make another turtl..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How To Make A PyQt5 Progr... 1 hour ago rcwildabeast menator01 GUI
  ModulNotFoundError matplo... 2 hours ago WicardBohnam deanhystad General Codin...
  Problem Converting Tradin... 8 hours ago kralxs kralxs General Codin...
  New on python. Needs help... 9 hours ago jeromep deanhystad General Codin...
  Can provide python tutori... 11 hours ago Zahiba_Siddiqui carellapansullon Jobs
  Win or Loss Prediction Yesterday, 13:46 ksasi2k3 ksasi2k3 General Codin...
  Good way to ignore case w... Yesterday, 12:39 Winfried menator01 General Codin...
  how to edited Tkinter Top... Yesterday, 10:16 kucingkembar deanhystad General Codin...
  using mutable in function... Yesterday, 10:10 akbarza snippsat General Codin...
  Cucumber installation Yesterday, 07:52 SDS SandraYokum General Codin...
  if else statements Yesterday, 07:27 remy DeaD_EyE General Codin...
Most views
  The best Prog... 412992
  Web Scraping ... 303943
  Tutorial Requ... 293379
  Newbie with P... 251494
  Thread remain... 233697
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11871
buran 8090
snippsat 7087
deanhystad 6218
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
pyry Today
WicardBohnam Yesterday
rcwildabeast Yesterday
tuctboh Yesterday
kralxs Yesterday

User Panel Messages

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