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,277
» Latest member: NAGASOWMYAGUNDU
» Forum threads: 38,790
» Forum posts: 175,867

Full Statistics

Online Users
There are currently 45 online users.
» 0 Member(s) | 39 Guest(s)
Google, Bing, Mojeek, AOL, Applebot

Latest Threads
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
10 hours ago
» Replies: 2
» Views: 84
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 28
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 5,977
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,282
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 289
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 137
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 204
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,108
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 252
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 166

 
  Python REMi help
Posted by: tantony - Jul-22-2020, 06:15 PM - Forum: General Coding Help - No Replies

I'm writing a Python program using REMi (https://pypi.org/project/remi/).

I'm trying to embed a pdf, but for some reason, the online version of the..... More

Print this item

  def function
Posted by: Kristenl2784 - Jul-22-2020, 06:04 PM - Forum: General Coding Help - Replies (10)

Hello,

I don't really understand the def() function so I'm not really sure what I need to put at line def. Right now nothing is printing out when ..... More

Print this item

  isinstance() always return true for object type check
Posted by: Yoki91 - Jul-22-2020, 05:35 PM - Forum: General Coding Help - Replies (2)

Hey guys,

I am currently learning class special methods.
There's my class:

[python]
class Time_Cal:

def __init__(self, hour=0, minute=..... More

Print this item

  how to check if string contains ALL words from the list?
Posted by: zarize - Jul-22-2020, 04:58 PM - Forum: General Coding Help - Replies (6)

Hi guys,

How can i check if string contains all words from the list?

some_string = 'there is a big apple, but i like banana more than orange'
..... More

Print this item

  Python/C API project - compile to exe
Posted by: MikeTrusky - Jul-22-2020, 03:55 PM - Forum: General Coding Help - No Replies

Hello

I'm working on project where I am using Python/C API and C++. C++ is used for most part of application, mainly for gui (wxWidgets), while Pyt..... More

Print this item

  Deleting a row in SQlite3
Posted by: SmukasPlays - Jul-22-2020, 02:25 PM - Forum: General Coding Help - Replies (3)

I am creating a function to delete a row in SQlite3. It works, but the program just update what I've deleted when I close and run it again. There is a..... More

Print this item

  Find string return different string
Posted by: Kristenl2784 - Jul-22-2020, 02:13 PM - Forum: Homework - Replies (2)

Hello,

I need to find the string inside TFile, and once the string is located I need to return the string 9 cells below it. TFile contains only on..... More

Print this item

  python os.popen is not working for wait method
Posted by: elenaflorence87 - Jul-22-2020, 12:56 PM - Forum: General Coding Help - No Replies

I am trying to automate some manual steps using python, i am opening new command prompt using os.popen and running docker compose up .. its opening ne..... More

Print this item

  How to stop the reading of files
Posted by: Laplace12 - Jul-22-2020, 11:33 AM - Forum: General Coding Help - Replies (4)

I need help with stopping a code from reading files from a folder. I can get my code to read all files starting from the one I assign, but I don't kno..... More

Print this item

  How to match partial sentence in long sentence
Posted by: Mekala - Jul-22-2020, 11:31 AM - Forum: General Coding Help - Replies (1)

Hi,
I have below sentence and I want to check the sub-sentence (continuous appearance of words.

Example:
main_sentence= "The robot turn on and pu..... More

Print this item

  Help: check content of combobox in horizontal header of QTableWidget
Posted by: mart79 - Jul-22-2020, 10:20 AM - Forum: GUI - Replies (1)

Hi,

I need to check the content of a combobox header in a QTableWidget.
I found some snippets of code which I used to set up the table with the d..... More

Print this item

  pyAesCrypt issues
Posted by: SaintFromMsk - Jul-22-2020, 09:42 AM - Forum: General Coding Help - Replies (1)

Hi everyone.

Made a small script for batch file encoding:
[python]
import pyAesCrypt
import glob
import os
bufferSize = 512 * 1024
curDir = o..... More

Print this item

  Understanding tracemalloc results
Posted by: nudler - Jul-22-2020, 08:21 AM - Forum: General Coding Help - No Replies

Hello,
I'm trying to find a memory leak in my program and I'm using tracemalloc.
From my understanding, the idea of tracealloc is that since you cal..... More

Print this item

  random question
Posted by: DPaul - Jul-22-2020, 07:02 AM - Forum: General Coding Help - Replies (2)

Hi,

Suppose a function that runs over and over again.
At a certain point it calls another function with an argument 'A' or '.B'
Randomly 70% of t..... More

Print this item

  Line charts error "'isnan' not supported for the input types,"
Posted by: issac_n - Jul-22-2020, 05:33 AM - Forum: General Coding Help - Replies (1)

I intent to create line charts from df.

[python]class MyTableWidget(QWidget):

def __init__(self, parent):
super(QWidget, self)...... More

Print this item

  Print a certain string only the first time it appears in a test file
Posted by: buttercup - Jul-22-2020, 05:31 AM - Forum: General Coding Help - Replies (5)

Hey all. I have a large text file that contains several repetitive statements along with other text.
(Shown in python tags to get a scrollbar)
[pyth..... More

Print this item

  Homework help:While Loops question
Posted by: Midhat_School - Jul-22-2020, 04:36 AM - Forum: Homework - Replies (6)

I am doing this question for homework which says: Write a Grocery program that acts as a cash register. The program will prompt how many items they ar..... More

Print this item

  Why aren't all curses panel functions supported in python curses.panel?
Posted by: pjfarley3 - Jul-22-2020, 03:40 AM - Forum: General Coding Help - Replies (2)

I recently had an idea that would work well with curses panels using python, only to find that python curses.panel does not support all defined curses..... More

Print this item

  read a parameter after updating it in another class
Posted by: MKS2020 - Jul-22-2020, 03:31 AM - Forum: General Coding Help - Replies (3)

Hello, I am using the managedwindow to live plot IV from a keithley2420 using the pymeasure module. It works but for some reason i cannot read a param..... More

Print this item

  The best Python editor?
Posted by: c_rutherford - Jul-22-2020, 03:15 AM - Forum: News and Discussions - Replies (12)

New to Python, I have some other programming experience but I like it so far.
I'm an old UNIX guy and I've used VI quite a lot, so I wondered what pe..... More

Print this item

  Need help implmenting if/else or case statements for option to choose file format.
Posted by: samlee916 - Jul-22-2020, 01:50 AM - Forum: General Coding Help - Replies (1)

How can I implement an if/else or case statement for choosing a file format of my choice?
[python]
def main():
parser = argparse.ArgumentParser(..... More

Print this item

  Layman, studying Python, wants to live on Python programs
Posted by: julianorodrigues0316 - Jul-21-2020, 11:15 PM - Forum: News and Discussions - No Replies

Hello people
I have a degree in Computer Science and I want to live on Python programs, make programs, be autonomous. Besides Python, what else do I ..... More

Print this item

  pytest, parametrize, neasted list
Posted by: niski1996 - Jul-21-2020, 10:36 PM - Forum: General Coding Help - No Replies

Hi, I tried to write little test:[python]li_1=([[1, 3, 2], [3, 5, 6]],[[2,6]])
li_der_1=[[2,6]]

@pytest.mark.parametrize("lite,expected",(li_1,li_..... More

Print this item

  First time python user - Calculator code review
Posted by: Steamy - Jul-21-2020, 08:13 PM - Forum: Code Review - Replies (1)

I just started learning python a few days ago and I thought I'd mess around and create a calculator for fun. The code itself works fine but I'd apprec..... More

Print this item

  Anaconda programme
Posted by: Sbottaro - Jul-21-2020, 07:40 PM - Forum: Homework - Replies (4)

Hi everyone I have two exercises to do but it's my first time using Python so I found lot of problems...
Does anyone can help me?
The exercises are ..... More

Print this item

  How to calculate the lexical diversity average (with 1000 window word length)
Posted by: AOCL1234 - Jul-21-2020, 05:16 PM - Forum: Homework - Replies (6)

I want to calculate the lexical diversity average over the course of a text. The window word length is 1000, whereas the overlap between constrained t..... More

Print this item

  String Count
Posted by: Kristenl2784 - Jul-21-2020, 04:11 PM - Forum: General Coding Help - Replies (1)

Hello,

Down where my code says Stop2 (close to the bottom) I'm trying to count how many times a string occurs inside a file. It's almost working co..... More

Print this item

  Is there a way i print odd and even numbers separately?
Posted by: spalisetty06 - Jul-21-2020, 03:15 PM - Forum: General Coding Help - Replies (5)

I don't want the following output, I want the odd numbers, even numbers separately. Can you please help.
[python]
'''odd and even numbers under 10''..... More

Print this item

  How to shift data frame rows of specified column
Posted by: Mekala - Jul-21-2020, 02:42 PM - Forum: Data Science - No Replies

Hi,
I have dataframe, I wan to define new column same as Column1, and re-arrange the new columns rows as:
new_col rows 0-end should be replaced with..... More

Print this item

  help Create GUI
Posted by: yan_mhb - Jul-21-2020, 01:47 PM - Forum: GUI - Replies (9)

Hello,

I have a project in Python and I want to create an application.

the content of the Graphical interface is to create several windows for e..... More

Print this item

  Script for accepting GTC automatically
Posted by: maxtik2 - Jul-21-2020, 01:01 PM - Forum: Networking - Replies (2)

Hello together,

I want to write a script which automatically accepts the GTC when connecting to an open WIFI Network.
After my MikroTik (kind of a..... More

Print this item

  IMAPLIB
Posted by: PR3636 - Jul-21-2020, 11:19 AM - Forum: Networking - No Replies

Hello everyone,
I'm new to python, so any help would be much appreciated.
My project is to create a script that logs in to a Gmail account and provi..... More

Print this item

  need help with binning data
Posted by: figure8 - Jul-21-2020, 11:17 AM - Forum: Homework - Replies (3)

Hi there, I need help with binning some data for a homework question.
Say I have a list, [2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 19, 21], I need to sort t..... More

Print this item

  Problems with windows paths
Posted by: delphinis - Jul-21-2020, 11:03 AM - Forum: General Coding Help - Replies (6)

Hello,
i try to create a button with an image. Problem: The correct Path is not interpreted correctly.
When i try this code
[python]
image_pat..... More

Print this item

  Need help with checkio problem
Posted by: saratha - Jul-21-2020, 10:57 AM - Forum: Homework - Replies (6)

Ok, so the problem is to solve this question...Can anyone help ?

In a given text you need to sum the numbers. Only separated numbers should be coun..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [SOLVED] [BeautifulSoup] ... 10 hours ago Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Yesterday, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
Most views
  The best Prog... 579183
  Tutorial Requ... 511858
  Web Scraping ... 442136
  Newbie with P... 386215
  New Users Int... 379081
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday
eastnoob 11-19
SavingSquirrel199835 11-18
Astrobert 11-18

User Panel Messages

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