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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,945
» Latest member: susan
» Forum threads: 38,725
» Forum posts: 175,521

Full Statistics

Online Users
There are currently 68 online users.
» 2 Member(s) | 60 Guest(s)
Bing, Google, AOL, Applebot, AOL, compuman145, snippsat

Latest Threads
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Less than 1 minute ago
» Replies: 0
» Views: 1
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: susan
1 hour ago
» Replies: 4
» Views: 9,077
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
5 hours ago
» Replies: 2
» Views: 413
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
6 hours ago
» Replies: 0
» Views: 63
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:56 PM
» Replies: 9
» Views: 557
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,778
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,096
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,456
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,019
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,768

 
  ONE input => THREE outputs
Posted by: Tricia279 - Jan-12-2021, 01:05 PM - Forum: General Coding Help - Replies (6)

Hi there,
I face the problem that I have no idea yet, how to program this:

pos0 = input() example: pos0 = 160

pos1 and pos2 should also get the..... More

Print this item

  Paho-mqtt fully supports MQTT 5.0 protocol?
Posted by: nitinkothari17 - Jan-12-2021, 11:14 AM - Forum: General Coding Help - No Replies

In my application, I'm using MQTT 5.0 protocol so which is best in python paho-mqtt or gmqtt (with asyncio, Does paho-mqtt fully supports MQTT 5.0 pro..... More

Print this item

  Multi-pop using different loops
Posted by: leoahum - Jan-12-2021, 08:28 AM - Forum: General Coding Help - Replies (6)

I'm doing a multi-pop function as following. The goal is to remove the first few elements in a list. For instance, if I have [1,2,3,4,5,6,7,8,9] and s..... More

Print this item

  pyqt5 layout
Posted by: Nickd12 - Jan-12-2021, 03:06 AM - Forum: GUI - Replies (8)

for anyone that knows about pyqt5 how can i set my BuildDateTime class in a box to group it together then place it in the Qmainwindow the window class..... More

Print this item

  Help in reducing the number of bits for gps latitude and longitude
Posted by: sohaikia - Jan-12-2021, 02:55 AM - Forum: Homework - Replies (1)

Hi all, I'm new to Python programming. I'm currently doing my school project and my supervisor has tasked me to reduce the number of bits for GPS (lat..... More

Print this item

  Cutting and Pasting from terminal programs
Posted by: matt_the_hall - Jan-12-2021, 02:13 AM - Forum: Bar - Replies (2)

Hi,

I am doing most of my python scripting these days using kaa edit. I ssh to the box I run my server on and run kaa whateverscript.py and get hac..... More

Print this item

  (HELP GREATLY APPRECIATED) New user- Huge Pygame Installation Problem!
Posted by: Jbomb - Jan-12-2021, 12:16 AM - Forum: Game Development - Replies (1)

Hey all Python Enthusiasts!
I recently obtained the Python Crashcourse and am working through the book. I now need to install Pygame for the first bi..... More

Print this item

  Python Coding Help: Calculating Sums
Posted by: bperez - Jan-11-2021, 10:51 PM - Forum: Homework - Replies (9)

Hello,

I am completely new to python and I'm taking a course online that has the following question:

When inputting a number, how can you verify..... More

Print this item

  Numpy array
Posted by: BrianPA - Jan-11-2021, 10:48 PM - Forum: Data Science - Replies (13)

Please excuse my ignorance, just trying to learn. This is my first attempt at writing a program myself. I'm self taught through courses on the web. ..... More

Print this item

  pyqt5
Posted by: Nickd12 - Jan-11-2021, 10:18 PM - Forum: GUI - Replies (2)

is there any way to use timer object to set text in pyqt5 with out creating another function to get the time to upsate or is there any alternative way..... More

Print this item

Question Pandas - Creating additional column in dataframe from another column
Posted by: Azureaus - Jan-11-2021, 08:47 PM - Forum: Data Science - Replies (2)

I currently have a some financial data (Date, Price, Return). Assume the number of rows is 20,000.

Date Price Return
03/01/1950 16..... More

Print this item

  A dynamic link library (DLL) initialization routine failed
Posted by: ish93 - Jan-11-2021, 08:22 PM - Forum: General Coding Help - No Replies

Hi There,

I am having trouble with accessing C++ dll with python 3.7 with ctypes library(WinDLL). This dll works fine with python version of 2.7 ju..... More

Print this item

  Seleniun does not work with a website element
Posted by: flote21 - Jan-11-2021, 06:57 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello guys!

I am trying to automatic a website ckick button using selenium and the next method:

[python]
WebDriverWait(driver, 10).until(EC.ele..... More

Print this item

  Get Python 101 2nd Edition FREE for 72 Hours!
Posted by: snippsat - Jan-11-2021, 06:27 PM - Forum: News and Discussions - Replies (1)

Hurry up🚑
[quote=Mike Driscoll]This book is meant to help you learn Python and then go beyond the basics.
I’ve always felt that a beginner’s book sh..... More

Print this item

  JSON Decode error when using API to create dataframe
Posted by: Rubstiano7 - Jan-11-2021, 04:57 PM - Forum: General Coding Help - Replies (4)

Hi there. I am new to python and I'm attempting to use the capiq-python api to create a dataframe. I'm hoping that someone with a Capital IQ account w..... More

Print this item

  How to use -> or
Posted by: Flora_The_Pious - Jan-11-2021, 02:59 PM - Forum: General Coding Help - Replies (4)

Im trying to figure out why "1" get me out of the loop but "2" doesnt. (started learning coding 2 days ago.)


[python]num = input("answer:")

wh..... More

Print this item

  Function to delete data
Posted by: SmukasPlays - Jan-11-2021, 01:46 PM - Forum: General Coding Help - Replies (1)

I'm trying to create a function to delete the last item of a list of things (when you insert the incorrect information and want to delete to insert it..... More

Print this item

  Extracting results from a dictionary...
Posted by: banidjamali - Jan-11-2021, 11:38 AM - Forum: Homework - Replies (4)

Hello everyone, I hope you are having a great day.
Here's a simple question.

I have a dictionary:
[python]
dictName = {"Jane": 90, "Max": 88, "D..... More

Print this item

  SVD Image Compression
Posted by: Pythia8 - Jan-11-2021, 11:23 AM - Forum: Code sharing - Replies (2)

Uses singular value decomposition to compress an grayscale image by removing small singular values.
[python]import numpy as np
import scipy.misc as..... More

Print this item

  How do I pass a dictionary for the in3_registry value for the Incubed Python API?
Posted by: nilesh - Jan-11-2021, 11:19 AM - Forum: General Coding Help - No Replies

I am using Python 3, and I have installed the in3 (Incubed) Python module. I want to invoke the ..... More

Print this item

  Gershgorin discs
Posted by: Pythia8 - Jan-11-2021, 11:13 AM - Forum: Code sharing - Replies (1)

Showing how the Gershgorin discs coincide with the spectrum for a diagonal matrix. In the first image is the original matrix as the scaling factor p=1..... More

Print this item

  Check if all the numbers are higher than five and if not...
Posted by: banidjamali - Jan-11-2021, 10:11 AM - Forum: Homework - Replies (3)

Hello everyone, I hope you are having a great day.
Here's a simple question.

I have a list of numbers:
[python]numbersList = [6, 3, 9, 36, 96, 1,..... More

Print this item

  How to update Python package remotely?
Posted by: olegk - Jan-11-2021, 08:31 AM - Forum: News and Discussions - No Replies

Not sure if this is the right forum category for this. It seems that mostly these forums are about coding. In our company we have Python installed on ..... More

Print this item

  Sum based on conditions
Posted by: Scott - Jan-11-2021, 06:23 AM - Forum: General Coding Help - Replies (3)

Hi Everyone,

I am trying to sum a column in a dataframe where the substring of another column is equal to a certain value.

My code is:

[pyth..... More

Print this item

  Scrape for html based on url string and output into csv
Posted by: dana - Jan-10-2021, 08:51 PM - Forum: Web Scraping & Web Development - Replies (13)

Crawl an email from specified website.

I have list of a specific company registration codes in csv format which are updated weekly basis.

I want to ..... More

Print this item

  Delete Qt Layout manager
Posted by: deanhystad - Jan-10-2021, 07:16 PM - Forum: GUI - Replies (2)

I cannot find a way to change the layout manager for a Qt widget. In the code below I first set the layout manager to a horizontal box layout and the..... More

Print this item

  reverse math in python, who will find the correct answer?
Posted by: Kakha - Jan-10-2021, 04:55 PM - Forum: Homework - Replies (11)

[python]
'''
this formula is calculated from right to left, but only if a = c, for example: 11 * 15, 55 * 59, 97 * 92
who can change the formula so th..... More

Print this item

  Advantages of Pygame
Posted by: BenBach18 - Jan-10-2021, 04:11 PM - Forum: Homework - Replies (2)

Hi guys,

I have a quick question. What are the concrete advantages of Pygame? I can't find anything concrete except that it's easy...
Would help ..... More

Print this item

  DataFrame operations didn't change orginal
Posted by: HoldYourBreath - Jan-10-2021, 12:09 PM - Forum: General Coding Help - Replies (5)

hi, i just want to fully understand dataframe operations. i read some documantations. but i have some questions

1)i want to change my dataframe. no..... More

Print this item

  multiple condition if statement problem
Posted by: FelixReiter - Jan-10-2021, 11:48 AM - Forum: General Coding Help - Replies (3)

Hey everyone, i'm trying filter items out of a list, which contains specific characters.
i tried to do it like shown below, but it is not doing what..... More

Print this item

  cannot create animation on 2D array using Matplotlib and FuncAnimation
Posted by: Caffeine_Addict - Jan-10-2021, 11:41 AM - Forum: General Coding Help - Replies (1)

Hello,

I'm trying to animate a 2D array, but it's not Working :(
Here is my code :
[python]
import numpy as np
import matplotlib.pyplot as plt..... More

Print this item

  unable to find module in su mode?
Posted by: korenron - Jan-10-2021, 11:19 AM - Forum: General Coding Help - Replies (2)

Hello ,
stange issue
I wrote a code with module "can"
when I run it using this command :

[python] python3 Documents/ReadData.py
Setup can0 f..... More

Print this item

  Extracting data without showing dtype, name etc.
Posted by: tgottsc1 - Jan-10-2021, 11:14 AM - Forum: General Coding Help - Replies (3)

Hello,

I have a basic question and would be happy if someone could help me out.

I've extracted the prices of 2 stocks (Varta and Softcat) from..... More

Print this item

  Scaler fit with different colums
Posted by: HoldYourBreath - Jan-10-2021, 10:41 AM - Forum: General Coding Help - No Replies

hi, i just want to learn differences between scalar.fit command with differant coulumns
becuse in general programmers use just fit with 1 column and t..... More

Print this item

  Magic Method Arithmetic Operators
Posted by: ClownPrinceOfCrime - Jan-10-2021, 10:04 AM - Forum: General Coding Help - Replies (3)

Is it possible to use more than 2 parameters for magic methods/Dunders for arithmetic operators? The following is my code

[python]
class Point():..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IBKR Purchasing code issu... â–¼ Less than 1 minute ago compuman145 compuman145 General Codin...
  Creating a Mindmap progra... â–¼ 1 hour ago J_Miller susan General Codin...
  A coding beginner needs h... â–¼ 5 hours ago Littlefish Littlefish General Codin...
  Is the interpreter that c... â–¼ 6 hours ago helendamdam helendamdam General Codin...
  Using a For Loop to subtr... â–¼ Yesterday, 20:56 Anunderling deanhystad General Codin...
  403 Error â–¼ 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... â–¼ 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... â–¼ 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... â–¼ 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. â–¼ 09-17, 10:31 Dibbley Dibbley General Codin...
  real community â–¼ 09-15, 20:16 decuser decuser News and Disc...
Most views
  The best Prog... 576681
  Tutorial Requ... 498815
  Web Scraping ... 440509
  Newbie with P... 384448
  New Users Int... 368045
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
susan Today
jatinkumar12 Today
angelhealu504 Today
helendamdam Today
pllrdvalery Yesterday

User Panel Messages

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