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,531
» Latest member: thomasjoe604
» Forum threads: 38,661
» Forum posts: 175,193

Full Statistics

Online Users
There are currently 383 online users.
» 1 Member(s) | 377 Guest(s)
Bing, Yandex, Baidu, AOL, Google, snippsat

Latest Threads
RemoTe server operation w...
Forum: General Coding Help
Last Post: snippsat
33 minutes ago
» Replies: 6
» Views: 623
Qt Event Filtering
Forum: GUI
Last Post: deanhystad
1 hour ago
» Replies: 3
» Views: 130
processing nested json da...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
9 hours ago
» Replies: 1
» Views: 96
Convert .pdf to .txt
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:23 AM
» Replies: 7
» Views: 461
Trouble Importing cell2lo...
Forum: General Coding Help
Last Post: snippsat
Jul-12-2025, 04:00 PM
» Replies: 3
» Views: 258
Why is bool() an instance...
Forum: General Coding Help
Last Post: deanhystad
Jul-12-2025, 02:41 AM
» Replies: 5
» Views: 244
[SOLVED] Why does regex f...
Forum: General Coding Help
Last Post: Pedroski55
Jul-11-2025, 11:52 PM
» Replies: 7
» Views: 4,004
Custom Sorting List of Di...
Forum: Homework
Last Post: Larz60+
Jul-11-2025, 03:34 PM
» Replies: 1
» Views: 157
Coding Standards
Forum: General Coding Help
Last Post: snippsat
Jul-11-2025, 01:12 PM
» Replies: 2
» Views: 235
Make code run faster: poi...
Forum: General Coding Help
Last Post: FrankBuckland
Jul-11-2025, 07:24 AM
» Replies: 3
» Views: 774

 
  API Post issue "TypeError: 'str' object is not callable"
Posted by: makeeley - Oct-29-2022, 05:20 PM - Forum: General Coding Help - Replies (2)

Hi, I am new to the forums and this is my first post.

I am new to python, more familiar with bash scripting, however I am trying to write a python..... More

Print this item

  OCR again
Posted by: DPaul - Oct-29-2022, 06:19 AM - Forum: Bar - Replies (22)

Hi,
Not a coding problem, but:
I have inherited zillions of scanned documents (prayer cards & the likes),
produced by a scanner that outputs them as t..... More

Print this item

  Flask, read H5 text value
Posted by: tantony - Oct-28-2022, 08:39 PM - Forum: Web Scraping & Web Development - Replies (4)

I'm writing a Flask grocery list app.

How would I get the text value of H5 tag? So I can delete or modify it?

Screenshot: ..... More

Print this item

  returning a List of Lists
Posted by: nafshar - Oct-28-2022, 05:36 PM - Forum: General Coding Help - Replies (3)

I am trying to return an empty list of lists from a function so that, when printed, will look like : [[""]]

But a return like the following result ..... More

Print this item

  Hover over highlighted text and open popup window
Posted by: DrakeSoft - Oct-28-2022, 11:19 AM - Forum: GUI - Replies (2)

Hi,

I am looking for an approach that might allow me to hover over a highlighted work in a QTextEdit widget and on hovering open a pop-up window to..... More

Print this item

  python gzip all files from a folder
Posted by: mg24 - Oct-28-2022, 04:16 AM - Forum: General Coding Help - Replies (3)

Hi Team,

I want to gzip all files of a folder \or complete folder. save with different name.
before deleting all files from a folder. how to achi..... More

Print this item

  python r string for variable
Posted by: mg24 - Oct-28-2022, 01:56 AM - Forum: General Coding Help - Replies (3)

Hi Team,

how to apply r(raw string) for a variable path
r"\\IND200300400.XXX.XXXX.XXX\Recon Project\output1" ---------here directly attached r it..... More

Print this item

  TkInter Realtime calculation
Posted by: marlonsmachado - Oct-28-2022, 12:35 AM - Forum: GUI - Replies (3)

Hello all,

I have a program where I receive a real-time data via TCP-IP using sockets, where I want to use one specific data to make a calculation ..... More

Print this item

  How to get cell(x,y).value = "\'=name(p)" to show correctly ??
Posted by: ozlevia - Oct-27-2022, 09:54 PM - Forum: General Coding Help - Replies (9)

Creating an excel file that is designed to be processed by another package (OpenL).
I am trying to enter into a call the string:
=name(parameter..... More

Print this item

  Creating csv files from Excel file
Posted by: azizrasul - Oct-27-2022, 09:37 PM - Forum: General Coding Help - Replies (40)

I want to transfer worksheets in a workbook into individual csv files per worksheet (I am experimenting with 1 worksheet at the moment). I found the f..... More

Print this item

  Determine whether text in QTableView cell is fully visible or not
Posted by: random_nick - Oct-27-2022, 09:29 PM - Forum: GUI - No Replies

Hi!

I need to implement a feature for QTableView which many spreadsheet programs have. For example, LibreOffice Calc shows an arrow for a cell if t..... More

Print this item

  Version Control with GIT
Posted by: Larz60+ - Oct-27-2022, 08:15 PM - Forum: News and Discussions - Replies (1)

This site is new to me, but started in 2018 and appears to be updated on a regular basis.
I have used git for a long time, but am only familiar with ..... More

Print this item

  Modifying a date format
Posted by: jehoshua - Oct-27-2022, 08:14 PM - Forum: General Coding Help - Replies (17)

I have some QIF data in a file, and the 'Date" record needs modifying. The Dates are of the format

D4/7'2004

and they need to be changed to

D..... More

Print this item

  run a command, capture output, what form do you want?
Posted by: Skaperen - Oct-27-2022, 07:04 PM - Forum: News and Discussions - Replies (7)

when you run a command with the intent to get the output of that command, in what form would be most convenient for you?

1. what if the command is..... More

Print this item

  Wsgiref with asyncio ?
Posted by: JohnnyCoffee - Oct-27-2022, 06:59 PM - Forum: Networking - Replies (8)

I'm wanting to relate the asyncio module with wsgiref to work with asynchronous requests could anyone give me an idea of a functional implementation ?..... More

Print this item

  ibm_db install problem
Posted by: mesi1000 - Oct-27-2022, 05:52 PM - Forum: General Coding Help - Replies (1)

I have problem to install ibm_db on Windows Home 10
I managed to install it in Visual Studio with the info successfull instalation but when trying to..... More

Print this item

  delete all files and subdirectory from a main folder
Posted by: mg24 - Oct-27-2022, 12:54 PM - Forum: General Coding Help - Replies (7)

Hi Team,

I want to delete all files and subfolder from a main directory.
D:\\Data\abc.txt,abc.csv,xyz.pdf etc.
Delete all content from Data folde..... More

Print this item

  reading in a doc
Posted by: IOHANNES - Oct-27-2022, 10:53 AM - Forum: General Coding Help - Replies (4)

Hi i come back with a problem. Again. I code the second module of my program, this one have to match two docs, one containing a novel's list and the s..... More

Print this item

  Etiquette
Posted by: rob101 - Oct-27-2022, 08:41 AM - Forum: Bar - Replies (2)

As I'm relatively new to this Forum site, I'm unsure about the etiquette with regards to a reputation boost.

First of all: my sincere thanks to eve..... More

Print this item

  can I setup another IP for my computer while running app?
Posted by: korenron - Oct-27-2022, 08:32 AM - Forum: General Coding Help - Replies (3)

Hello,
can I run a code that will add another IP to my network card?

for example
my computer is now 10.0.0.2/24
can I make it add 192.168.1.2/..... More

Print this item

Video Need help creating game menu with clickable buttons
Posted by: BliepMonster - Oct-27-2022, 08:12 AM - Forum: News and Discussions - Replies (2)

Hello

I've been developing a game for the last 7 weeks or so, but it's just a text game. I want to have like a menu for the game with clickable but..... More

Print this item

  Automate MML Commands
Posted by: saisankalpj - Oct-27-2022, 07:46 AM - Forum: General Coding Help - Replies (10)

I need to extract files from U2020 server. For this purpose i need to run MML Commands.I have the commands with me.But each time instead of manually e..... More

Print this item

  Explain the python code in this definition
Posted by: Led_Zeppelin - Oct-26-2022, 08:32 PM - Forum: General Coding Help - Replies (1)

I found the following python o online and it looks very useful to me.

[code]
def get_mean_features(sensor_list, df):
"""
Function to ge..... More

Print this item

  Plotly send pandas.errors.UndefinedVariableError.
Posted by: Frankduc - Oct-26-2022, 07:18 PM - Forum: General Coding Help - Replies (3)

Hello,

I am trying to create a chart from data in xlsx.

[python]
import pandas as pd
import plotly.express as px


dataframe1 = pd.read_exc..... More

Print this item

  how to make sure an input is from the wanted type
Posted by: astral_travel - Oct-26-2022, 05:56 PM - Forum: General Coding Help - Replies (16)

hey guys,
so as a continuation of the previous thread - and taking my own code (as it is easier for me to comprehend) , how do you make sure an input..... More

Print this item

  newbie here
Posted by: blacknero004 - Oct-26-2022, 05:18 PM - Forum: Homework - Replies (2)

hi.i am struggling with my code because i dont get it why.
my code is:
[python]
def isPrime(x):
"""Returns whether or not the given number x i..... More

Print this item

  Command line argument issue space issue
Posted by: mg24 - Oct-26-2022, 03:48 PM - Forum: General Coding Help - Replies (5)

Hi Team,

I am running this script via command line it is working.
python test.py sql_Table1 "\\IND200300400.XXX.XXXX.XXX\Recon Project\output1"
..... More

Print this item

Bug Writing in a document problem
Posted by: IOHANNES - Oct-26-2022, 11:45 AM - Forum: General Coding Help - Replies (4)

Hi everyone, i'm French and i try to code in python language. In university we have to code in html/xml and i try to developp an app that put automati..... More

Print this item

  Code won't break While loop or go back to the input?
Posted by: MrKnd94 - Oct-26-2022, 09:36 AM - Forum: General Coding Help - Replies (2)

Hello,

I'm trying to input a list with a While loop, and then print the list when it is over 100 (the number), but it keeps going even though I put..... More

Print this item

  a wish
Posted by: Skaperen - Oct-26-2022, 12:35 AM - Forum: Bar - No Replies

i wish i really could get my real life weight down to that of a duck. oh wait. that would be too far underweight.

Print this item

  1 in (True,)
Posted by: Skaperen - Oct-26-2022, 12:31 AM - Forum: News and Discussions - Replies (1)

Output:
>>> 1 in (True,) True
i finally got a round tuit and tested this. and it was so simple to test. what i need to do is m..... More

Print this item

  Asyncio | Websockets - general problem starting the server
Posted by: dreamer - Oct-25-2022, 09:40 PM - Forum: Networking - Replies (5)

Hi,

Unfortunately, my experience in websocket programming is not yet great.

I am trying to migrate my current simplewebsocket server to the sock..... More

Print this item

  BeautifulSoup - I can't translate html tags that contain <a href=..</a> OR <em></em>
Posted by: Melcu54 - Oct-25-2022, 05:22 PM - Forum: General Coding Help - Replies (10)

I can't translate html tags that contain other tags (such as <a href=..</a> OR <em></em>)

In example below, the paragraph [b]<p class JAGAAA>..</p>..... More

Print this item

  Сheck if an element from a list is in another list that contains a namedtuple
Posted by: elnk - Oct-25-2022, 04:26 PM - Forum: General Coding Help - Replies (8)

Hello, i have this code:

[python]def some_generator(some_args):
Import = namedtuple("Import", ["module", "name", "alias"]) # "module", "name" and..... More

Print this item

  repeating a user_input
Posted by: astral_travel - Oct-25-2022, 03:49 PM - Forum: General Coding Help - Replies (17)

okay, so i have this code:

[python]
import random

RNumber = random.randint(0,10)

user_input = int(input("please guess a number between 0 and..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  RemoTe server operation w... 33 minutes ago mario17 snippsat General Codin...
  Qt Event Filtering 1 hour ago deanhystad deanhystad GUI
  processing nested json da... 9 hours ago Kumo_Koloo Pedroski55 Web Scraping ...
  Convert .pdf to .txt Yesterday, 11:23 vmars316 Pedroski55 General Codin...
  Trouble Importing cell2lo... 07-12, 16:00 haileyp snippsat General Codin...
  Why is bool() an instance... 07-12, 02:41 voidtrance deanhystad General Codin...
  [SOLVED] Why does regex f... 07-11, 23:52 Winfried Pedroski55 General Codin...
  Custom Sorting List of Di... 07-11, 15:34 aryasinner Larz60+ Homework
  Coding Standards 07-11, 13:12 kency snippsat General Codin...
  Make code run faster: poi... 07-11, 07:24 Bennygib FrankBuckland General Codin...
  Cleaning my code to make ... 07-11, 07:20 BSDevo FrankBuckland General Codin...
Most views
  The best Prog... 572684
  Tutorial Requ... 485710
  Web Scraping ... 437137
  Newbie with P... 380069
  Thread remain... 351371
Most reputation
buran 581
snippsat 507
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+ 12073
buran 8174
snippsat 7352
deanhystad 6855
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
thomasjoe604 Today
psychologiss443 Today
AlexanderJack Today
ramzi_romdhan Today
Kunalmalik126 Today

User Panel Messages

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