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,399
» Latest member: kylausasd5428
» Forum threads: 38,826
» Forum posts: 176,037

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 31 Guest(s)
Bing, Google, AOL, AOL

Latest Threads
Для кулінарів, хто іноді ...
Forum: Code sharing
Last Post: kylausasd5428
8 minutes ago
» Replies: 0
» Views: 9
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 2
» Views: 108
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 2
» Views: 102
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,175
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,638
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 187
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,614
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 275
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,633
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 247

 
  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

Question SMS sending using USRobotics modem
Posted by: Jacobus - Feb-27-2021, 11:43 AM - Forum: General Coding Help - Replies (2)

[python]
# windows 10 Home 64-bit
# python 3.9.2
# modem: USRobotics 5637
# dailing is oke
# no erors
# not sms sending/recieving
# what to do...... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Для кулінарів, хто іноді ... 8 minutes ago kylausasd5428 kylausasd5428 Code sharing
  Check if running from she... 4 hours ago rjdegraff42 noisefloor General Codin...
  Sorry Help 4 hours ago BioNanoTech noisefloor General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
Most views
  The best Prog... 580478
  Tutorial Requ... 520033
  Web Scraping ... 442797
  Newbie with P... 387015
  New Users Int... 386791
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
kylausasd5428 Today
zasamueluniorz7349 Today
BioNanoTech Today
CarlApome Yesterday
cruisesfares 12-30

User Panel Messages

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