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,940
» Latest member: Littlefish
» Forum threads: 38,723
» Forum posts: 175,516

Full Statistics

Online Users
There are currently 40 online users.
» 0 Member(s) | 37 Guest(s)
Bing, Google

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
6 hours ago
» Replies: 1
» Views: 226
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
10 hours ago
» Replies: 8
» Views: 384
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,583
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 957
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,307
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,845
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,628
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,728
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,915
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,465

 
  tkinter get function
Posted by: finndude - Mar-02-2021, 03:41 PM - Forum: GUI - Replies (2)

Hi,

I have the below code. What i want it to do is that when the button is clicked it outputs what is in the two entry boxes. However when I press ..... More

Print this item

  Python Program running a lot slower after change to Ubuntu
Posted by: hubenhau - Mar-02-2021, 11:47 AM - Forum: General Coding Help - Replies (1)

Hello,

I have a program that I wrote and used in Windows.
It's using opencv-pythons template matching to find a lot of pictures very quickly.
On ..... More

Print this item

  Paramiko SSH Session -> Authentification failed
Posted by: werwurm01 - Mar-02-2021, 08:15 AM - Forum: Networking - No Replies

Hello
i am new in Python and in this forum.
For my work i need an SSH Connection to an Ethernet NT from different Company. The Goal should be the au..... More

Print this item

  Code should download and output trading data
Posted by: tayy - Mar-02-2021, 06:57 AM - Forum: General Coding Help - Replies (2)

Hello Python gurus.

I am trying to create and run a Python script that will download and output the AAPL stock data into an Excel file from th..... More

Print this item

  Simple printing the text for a QLineEdit
Posted by: thewolf - Mar-02-2021, 01:41 AM - Forum: GUI - Replies (16)

I'm simply trying to print whatever the user has typed in the QLineEdit named self.snTextBox using the QPushButton called self.cfButton. I tried using..... More

Print this item

  Selenium: Click on a Link Error
Posted by: iamaghost - Mar-02-2021, 12:44 AM - Forum: General Coding Help - No Replies

hey guys,

im currently trying to acces a link via Selenium. The Link named 'Ansehen' exists X amount of times, so the only difference in the source c..... More

Print this item

  say 1st or 2nd?
Posted by: Skaperen - Mar-02-2021, 12:12 AM - Forum: News and Discussions - Replies (5)

suppose my function returns a 2-list or 2-tuple to the caller. documenting this function needs to refer to the item that would be accessed with [1]. ..... More

Print this item

  Question about formula implementation in general format
Posted by: Alienspecimen - Mar-01-2021, 08:39 PM - Forum: General Coding Help - No Replies

Hello,


I have the following formula:

y = a1cos(θ1) +a2cos(θ1+θ2) +...+ancos(θ1+...+θn)

The goal is to implement it in Python so it works wi..... More

Print this item

  pywinauto, anyone use it?
Posted by: thewolf - Mar-01-2021, 08:26 PM - Forum: General Coding Help - Replies (1)

My company uses Ivanti Security Controls to patch our machines. Right now there is no way to start and stop a patch task instantly from the console/se..... More

Print this item

  Help with structuring a program
Posted by: matt_the_hall - Mar-01-2021, 05:26 PM - Forum: General Coding Help - Replies (2)

Hello,

I'm working on building a small, console based IMAP client using the py_cui and imapclient libraries. I got an initial script up and running..... More

Print this item

  GUI calculation mistake
Posted by: rturus - Mar-01-2021, 04:15 PM - Forum: GUI - Replies (5)

Hi all,

Can anyone tell me why my calculation (total_hscore (at the end of the code) is coming to zero please?
Thanks,

[python]
def openHistor..... More

Print this item

  How to get utcnow + 2 hours?
Posted by: korenron - Mar-01-2021, 02:30 PM - Forum: General Coding Help - Replies (2)

Hello ,
I have a running code the send to a client current_time
I have notice that it send him time in this way:

[python]current_time=datetime.u..... More

Print this item

  multi np.where
Posted by: dawid294 - Mar-01-2021, 02:17 PM - Forum: Data Science - Replies (2)

Hello guys. I need help. Can you help me with code. I have not found it anywhere. I use np.where but I would like to use np.where as if in excel. I ne..... More

Print this item

  find an replace not in all entries
Posted by: Monsterherz - Mar-01-2021, 10:43 AM - Forum: General Coding Help - Replies (1)

hello, i am new in python. I try to make a programm wich translate russian pattern in german pattern. It works but not in all words. Why?

[python]..... More

Print this item

Lightbulb Error found! please help.
Posted by: bisma - Mar-01-2021, 06:42 AM - Forum: Data Science - Replies (1)

[python]# Importing the libraries
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from sklearn.utils import shuffle
from s..... More

Print this item

  Reading and appending list
Posted by: MrSwiss - Mar-01-2021, 04:58 AM - Forum: General Coding Help - Replies (1)

I have to read code from a .csv file and put specific columns of data into separate lists. However when I get to column 21 and 22 it says there is not..... More

Print this item

  HackerRank Problem: Code works on VS Code but not on the HackerRank site
Posted by: Pnerd - Feb-28-2021, 06:12 PM - Forum: General Coding Help - Replies (3)

Hi, I'm trying to solve this HackerRank problem: https://www.hackerrank.com/challenges/p[url=https://python-forum.io/thread-32724.html]..... More

Print this item

  How to define a variable in Python that points to or is a reference to a list member
Posted by: JeffDelmas - Feb-28-2021, 04:18 PM - Forum: General Coding Help - Replies (4)

I have a Python list, r[], and would like to define references, or aliases to specific members of the list. This is easy to do in languages with point..... More

Print this item

  how to read multispectral images on python
Posted by: noorasim - Feb-28-2021, 03:54 PM - Forum: General Coding Help - No Replies

I am having multispectral images with .tif extension. How to read these multispectral images on python? Is there any specific library to read these im..... More

Print this item

  Class project
Posted by: nayo43 - Feb-28-2021, 01:40 PM - Forum: Homework - Replies (7)

hello, I have to make a kind of interpreter to read books of choice.
But we are blocking on the addition of the text with the chapters to have a great..... More

Print this item

Question Need some help to fix my code
Posted by: SantiagoPB - Feb-28-2021, 01:38 PM - Forum: General Coding Help - Replies (6)

Hello every one Wink
I got a little problem with my code and I don't know how to fix it Confused .

Is a homework from python, I have to..... More

Print this item

  ListBox Update Issue
Posted by: antonello - Feb-28-2021, 01:11 PM - Forum: GUI - Replies (1)

Hi,

I'm trying to update a PySimpleGui LixtBox contents on run time. I've done done that using

[python]window['_LISTBOX_'].update(['new','valu..... More

Print this item

  urgent I got a syntax errors
Posted by: alm - Feb-28-2021, 12:49 PM - Forum: Homework - Replies (2)

This is what I am asked to do :
[size=small]
Five Star Retro Video rents VHS tapes and DVDs to the same connoisseurs who ..... More

Print this item

  Python Matplotlib: How do I save (in pdf) all the graphs I create in a loop?
Posted by: JaneTan - Feb-28-2021, 12:07 PM - Forum: General Coding Help - Replies (1)

Hi,

Refer to the entire code appended at the end. Thanks

1) I meet with "Cannot assign to operator (pyflakes E)" when I try to assign a variable..... More

Print this item

  Python Matplotlib: How do I plot lines with different end point in the same graph?
Posted by: JaneTan - Feb-28-2021, 11:56 AM - Forum: General Coding Help - No Replies

Hi

Basically I have Revenue that ends at year 2000 and Profit that ends at year 1998. I want to plot both set of data on the same graph.

I read in t..... More

Print this item

Question How to extract multiple text from a string?
Posted by: chatguy - Feb-28-2021, 07:00 AM - Forum: General Coding Help - Replies (2)

Hi All,

Would anyone know how to create a list of a substring prior to "==>" ?

Example String input:
[color=#3498DB]'\r\nExecuting: /u..... More

Print this item

Question Read and view image.png ?
Posted by: JohnnyCoffee - Feb-28-2021, 04:09 AM - Forum: General Coding Help - Replies (12)

I'm having trouble viewing an image.png. ? When using the code below do I get a problem visualization (image with black background and a white squar..... More

Print this item

  insert row and write to xlsx in python
Posted by: scttfnch - Feb-28-2021, 01:17 AM - Forum: General Coding Help - No Replies

I had assumed inserting a row and writing to an xlsx file in python would be fairly simple, though i am struggling to actualize the results I had inte..... More

Print this item

  file system path representation
Posted by: Skaperen - Feb-27-2021, 10:41 PM - Forum: News and Discussions - Replies (7)

why is a special function needed to get the "file system path representation" (how the documentation refers to it)? isn't the existing representation..... More

Print this item

Heart I need some help with my code
Posted by: SantiagoPB - Feb-27-2021, 08:17 PM - Forum: Homework - Replies (5)

Hello everyone I am Santiago Big Grin

I am doing a homework with python, I let the homework:

LONGEST INCREASING SUB-SEQUENCE
Writ..... More

Print this item

  <class 'str'> ?
Posted by: pprod - Feb-27-2021, 07:12 PM - Forum: General Coding Help - Replies (2)

Why is that '\d' in a regular expression finds digits but then if those digits are stored in a variable, print(type(variable)) returns <class 'str'>?..... More

Print this item

  Expanding on (+,*,%,/,//, etc...)= operator
Posted by: cuppajoeman - Feb-27-2021, 06:59 PM - Forum: News and Discussions - Replies (1)

I had an idea for how we write shorthand for a few binary functions (I'll use + as my example).

When we write

x += 2
, it really m..... More

Print this item

  Applying function
Posted by: mapypy - Feb-27-2021, 02:30 PM - Forum: General Coding Help - Replies (1)

code

Hi,

I still see nulls in X_train and my pipline seems to not have applied. For example, there s..... More

Print this item

  Cramped UI
Posted by: LalaGhost - Feb-27-2021, 02:20 PM - Forum: GUI - Replies (2)

I have a problem that my UI is all cramped up:
https://www.dropbox.com/s/65v77yn5znsajc...P.jpg?dl=0

I use a custom ListWidgetItem:
[python]fr..... More

Print this item

Question UnicodeDecodeError . . .
Posted by: JohnnyCoffee - Feb-27-2021, 02:14 PM - Forum: General Coding Help - Replies (5)

When making a request for a file in .png format through the browser url I receive the following message ( UnicodeDecodeError: 'utf-8' codec can't deco..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 6 hours ago Littlefish paul18fr General Codin...
  Using a For Loop to subtr... 10 hours ago 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...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576595
  Tutorial Requ... 498600
  Web Scraping ... 440454
  Newbie with P... 384362
  New Users Int... 367578
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 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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