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,237
» Latest member: alexmaarley8855
» Forum threads: 38,776
» Forum posts: 175,791

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 39 Guest(s)
Bing, Apple, Google

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 4
» Views: 91
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 96
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-07-2025, 07:29 PM
» Replies: 0
» Views: 70
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 106
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,066
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,364
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,555
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 186
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,196
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,442

 
  Mac default python interpreter
Posted by: Viewpoint8455 - Oct-12-2022, 10:49 PM - Forum: General Coding Help - Replies (2)

Hello,
I have a problem with my default python (interpreter) on my Mac.
When I type “which python” in the terminal, it shows: “/opt/anaconda3/bin/py..... More

Print this item

Exclamation My code is not working as I expected and I don't know why!
Posted by: Marinho - Oct-12-2022, 06:15 PM - Forum: General Coding Help - Replies (4)

My goal
[font=Verdana][size=medium]My goal was to remove all elements from "inv..... More

Print this item

  Issue getting mouse location
Posted by: finndude - Oct-12-2022, 02:45 PM - Forum: General Coding Help - Replies (1)

Hi All,

The aim of the code below is to get the mouse location on the canvas when its clicked. The canvas also can play a video when the user wants..... More

Print this item

  mysql and LAN
Posted by: tantony - Oct-12-2022, 01:28 PM - Forum: Networking - Replies (7)

Sorry if I'm asking this in the wrong forum. I like to build a database gui using wxpython and mysql.
My question is, since I'll have multiple users ..... More

Print this item

  Precision conversion
Posted by: garynewport - Oct-12-2022, 11:49 AM - Forum: General Coding Help - Replies (2)

I have an output file with a series of values. Some of these are high precision values...

[inline]1.05200D+09 1.05200D+09 9.94376D+31 3.66..... More

Print this item

  pygame image load error
Posted by: Yegor123 - Oct-12-2022, 02:00 AM - Forum: General Coding Help - Replies (1)

Hi Im new to pygame and Coding in general And I just started a tutorial and Whenever I try and load my png images and I run the code i shows up as an ..... More

Print this item

  other string types to consider?
Posted by: Skaperen - Oct-11-2022, 11:21 PM - Forum: News and Discussions - No Replies

Python3 has string types: str, bytes, bytearray. i am wondering if there are any other types that can be used like a string to do things like carry a..... More

Print this item

  Appending a row to a DataFrame
Posted by: azizrasul - Oct-11-2022, 10:03 PM - Forum: General Coding Help - Replies (4)

[python]import pandas as pd

sampledata = {
'first' : ['Sam', 'Jane', 'John'],
'last': ['Smith', 'Donahue', 'Doe'],
}

df = pd.DataFram..... More

Print this item

  Unknown Expression
Posted by: Led_Zeppelin - Oct-11-2022, 05:28 PM - Forum: General Coding Help - Replies (5)

What does pd.dataframe.from_dic(vaidation.cv_results_

As used in the following python code

[code]
def get_cv_plot(validation, parameter):
..... More

Print this item

  python run multiple file paralaly
Posted by: mg24 - Oct-11-2022, 05:25 PM - Forum: General Coding Help - Replies (2)

Hi Team,

I have sql_table.py files, Which I use to extract sql table into csv files.
sql_table.py files requires two parameter. 1) SQL_Table name ..... More

Print this item

  SQL Injection attacks on Python code
Posted by: rob101 - Oct-11-2022, 03:18 PM - Forum: General Coding Help - Replies (11)

I've been researching sql injection attacks (partly because I want to understand the attack, but mostly because it's cropped up in a few recent thread..... More

Print this item

  code to send attachments contained on the drive.
Posted by: stefanoste78 - Oct-11-2022, 02:41 PM - Forum: General Coding Help - Replies (1)

Good evening.

A friend created me the code to send emails from google app scripts and other functions including the sending that can be done with p..... More

Print this item

  Pandas dataframes and numpy arrays
Posted by: bytecrunch - Oct-11-2022, 12:25 PM - Forum: Data Science - Replies (1)

Hello,

I have some basic questions about using Pandas:

-- Structured and Unstructured Data: my understanding is that Pandas deals only wi..... More

Print this item

  Pygame Zero - no actor image
Posted by: toiling_away - Oct-11-2022, 09:13 AM - Forum: Game Development - Replies (2)

Hi all, I'm learning pygame zero and am trying to make a version of the gamemaker's apprentice game I've previously done. The attached code runs witho..... More


Attached Files

.py   game1.py (Size: 4.01 KB / Downloads: 309)
Print this item

  Image database
Posted by: DPaul - Oct-11-2022, 07:11 AM - Forum: Bar - Replies (3)

Hi,
I have inherited a situation where many thousands of scanned images reside as individual .tif files in a directory.
Not a problem, because I can..... More

Print this item

  python run all py files from main py file
Posted by: mg24 - Oct-11-2022, 05:16 AM - Forum: General Coding Help - Replies (6)

Hi Team,

Need help , is it possible
run all below py files one by one ............

I want to call main.py file and it has to run all (add,su..... More

Print this item

  Getting rid of old string values
Posted by: Pedroski55 - Oct-11-2022, 03:18 AM - Forum: General Coding Help - Replies (3)

Recently I posted something here, can't remember exactly which thread, in which I started with an empty string and kept adding bits to it.

deanhyst..... More

Print this item

  Session id http, how to capture ?
Posted by: JohnnyCoffee - Oct-11-2022, 02:00 AM - Forum: Networking - Replies (1)

Studying the tcp/ip protocol stack I could see that the session layer ( osi table ) is part of the application layer na ( ... tcp/ip ) and that it gen..... More

Print this item

  Why is the 'meta description' html tag not translated?
Posted by: Melcu54 - Oct-10-2022, 06:47 PM - Forum: General Coding Help - Replies (2)

I have this python code which works very well.

But I can translate all my HTML tags except this one: <meta name="description" content="...">

c..... More

Print this item

  Wildcards in a String?
Posted by: pajd - Oct-10-2022, 03:31 PM - Forum: General Coding Help - Replies (19)

Hello,

So Im trying to use python to locate a user in SQL and remove it. There will be more than one user that has a username beginning with ROadmi..... More

Print this item

  Training a model to identify specific SMS types and extract relevant data?
Posted by: lord_of_cinder - Oct-10-2022, 04:35 AM - Forum: Data Science - No Replies

Hi all,

I have been playing around with data extraction from SMS messages and had a conundrum. I wanted to create a system that would identify paymen..... More

Print this item

  Zeep AWS problem
Posted by: centorillion - Oct-10-2022, 02:59 AM - Forum: General Coding Help - Replies (2)

Hello guys,

Thanks in advance for helping me. I tried multiple times to upload zeep library in AWS lambda but it never works. I tried this one:

..... More

Print this item

  Format String
Posted by: NewPi - Oct-09-2022, 11:19 PM - Forum: General Coding Help - Replies (2)

Hey,

I try to print some formatted integers with padded 0.

But there is always a blank character in front of the print.

My code is:
[python]..... More

Print this item

  Deleting rows based on cell value in Excel
Posted by: azizrasul - Oct-09-2022, 10:07 PM - Forum: General Coding Help - Replies (11)

The following snippet of code deletes empty rows. How can I change the code such that a row is deleted if a value of 'x' appears in any row in column ..... More

Print this item

  Help adding a loop inside a loop
Posted by: Extra - Oct-09-2022, 09:36 PM - Forum: General Coding Help - Replies (31)

Hello,

I have my virtual assistant's code which is in a while true loop & runs fine, but I want to add a loop inside my virtual assistant's while loo..... More

Print this item

  Code Assistance needed in saving the file
Posted by: MithunT - Oct-09-2022, 03:50 PM - Forum: General Coding Help - No Replies

Hi Pythonians,

I am trying to retrieve data from MagicBricks,
The code runs fine, however when the file is saved, there is no data stored.

Re..... More

Print this item

  Python project - sport results
Posted by: Qn91 - Oct-09-2022, 02:26 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello,

I compete with my friend in various racket sports. These are: Tennis, Badmintor, Table Tennis, Squash.

I want to create an application t..... More

Print this item

  Adapting mnist model with personal dataset
Posted by: GJG - Oct-09-2022, 02:18 PM - Forum: Data Science - No Replies

Hi guys! wondering if it is possible to use the exact same training model used for mnist digit recognition model, but instead of 10 classifications u..... More

Print this item

  Pycharm and Windoze
Posted by: Pedroski55 - Oct-09-2022, 01:37 PM - Forum: General Coding Help - Replies (3)

I don't use Windows normally, but I can't buy a laptop here without Windows, so I have Windows 10.

I wanted to see what Pycharm is like, so I insta..... More

Print this item

  QVBoxLayout default (minimum) size
Posted by: malonn - Oct-09-2022, 11:10 AM - Forum: GUI - Replies (5)

I noticed that the minimum size of a layout is related to its contents margins. All layouts have contentsMargins(9, 9, 9, 9) by defa..... More

Print this item

  Error I don't understand
Posted by: finndude - Oct-09-2022, 11:02 AM - Forum: General Coding Help - Replies (2)

Hi,

Heres is the code below:

[python]

from tkinter import *
from PIL import ImageTk, Image
import cv2
import time


data = cv2.VideoCap..... More

Print this item

  Pyinstaller question
Posted by: DPaul - Oct-09-2022, 07:45 AM - Forum: Bar - Replies (3)

Hi,
Not a showstopping question, but very confusing.
I can make an executable like so : pyinstaller --onefile --clean --windowed MYprogram.py ==> ....... More

Print this item

  Why widget is resized
Posted by: malonn - Oct-08-2022, 09:06 PM - Forum: GUI - Replies (4)

I have a QGridLayout that, when it is complete, has 3 columns. I don't understand something though. Column 0 is a fixed-width frame (has [b]Q..... More

Print this item

  Why is IDLE not opening on a MacOS Montery 12.6 and using Python 3.10.7?
Posted by: Merlin385 - Oct-08-2022, 06:30 PM - Forum: General Coding Help - Replies (7)

Greetings,

I have MacOS Montery 12.6 (latest). I have downloaded Python 3.10.7 (latest) for mac. Everything installed as expected however when I cl..... More

Print this item

  How to use the LIKE clause in Python
Posted by: Columbo - Oct-08-2022, 04:13 PM - Forum: General Coding Help - Replies (9)

In my app I have a database of dinosaurs. The user types in the name of the dinosaur that they are looking for and it displays information about that..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 1 hour ago Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578684
  Tutorial Requ... 509129
  Web Scraping ... 441841
  Newbie with P... 385793
  New Users Int... 375066
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
alexmaarley8855 Yesterday
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07

User Panel Messages

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