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,392
» Latest member: bejaminmaarleyo1374
» Forum threads: 38,822
» Forum posts: 176,019

Full Statistics

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

Latest Threads
How Much Does The New Iph...
Forum: General Coding Help
Last Post: bejaminmaarleyo1374
11 minutes ago
» Replies: 0
» Views: 2
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 06:21 PM
» Replies: 1
» Views: 70
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Yesterday, 04:06 PM
» Replies: 9
» Views: 235
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,070
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,894
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 139
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 83
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 151
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,297
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 111

 
  How to horizontally align and display images side-by-side in an email using Python?
Posted by: shantanu97 - Feb-21-2023, 05:50 AM - Forum: General Coding Help - No Replies

How can I horizontally align and display two images side-by-side using Python and HTML in an email? I've tried adding the images using HTML code, but ..... More

Print this item

  post disappeared then re-appeared
Posted by: Skaperen - Feb-21-2023, 12:30 AM - Forum: Board - No Replies

i tried to post a new thread and nothing showed up. so i typed it all again and both showed up. since i can't delete my own posts i just edited it t..... More

Print this item

  creating an unlinked invisible file, writing it, then linking it
Posted by: Skaperen - Feb-21-2023, 12:16 AM - Forum: News and Discussions - Replies (2)

in C on Linux (maybe also on POSIX) i can create a regular file on a specific filesystem that has no link and no inode (it is in memory, not on disk) ..... More

Print this item

  invisible temporary files that become linked permanent
Posted by: Skaperen - Feb-20-2023, 11:55 PM - Forum: News and Discussions - No Replies

this post did not show up after i tried to post it.

Print this item

  A question about setting up Python
Posted by: JanOlvegg - Feb-20-2023, 10:06 PM - Forum: General Coding Help - Replies (1)

Hi, I am new to Python development and have a question about setting up the python development and best practices. I currently have Python install on ..... More

Print this item

  Flask error sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) UNIQUE constraint
Posted by: pythonpaul32 - Feb-20-2023, 07:34 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi all,

I have been trying to built a web app that's a book store for ecommerce website. I finally think I got the SQLAlchemy db working. Items an..... More

Print this item

  Save and Close Excel File
Posted by: avd88 - Feb-20-2023, 07:08 PM - Forum: General Coding Help - No Replies

Hello,

I'm not an expert in regards to coding but I've been coding for a bit and leverage that skillset in my day to day work.

Recently started lear..... More

Print this item

  Python3 - How to deny access to users without api key using localhost and postman
Posted by: Alan2023 - Feb-20-2023, 02:48 PM - Forum: Web Scraping & Web Development - No Replies

Hi everybody,
I am using python and Flask, and I need to deny access for not authorized users, users without an api key will not be allowed to access..... More

Print this item

  Merging multiple csv files with same X,Y,Z in each
Posted by: Auz_Pete - Feb-20-2023, 12:31 AM - Forum: General Coding Help - Replies (3)

As the name suggests, looking for help building a script to merge multiple csv files. Each file has; X, Y, Z and Value(W). I am wanting to match the x..... More

Print this item

  ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED]certificate verify fail
Posted by: byronbonkers - Feb-19-2023, 10:13 PM - Forum: Networking - No Replies

[python]
import time
import logging
import paho.mqtt.client as mqtt
from OpenSSL import SSL
import os
import ssl

log = logging.getLogger('Rem..... More

Print this item

  input variable choice
Posted by: MCL169 - Feb-19-2023, 06:54 PM - Forum: General Coding Help - Replies (7)

I'm using simple ideas and theories to practice coding. I'm simply trying to except a input from user that returns a variable string. I want the user ..... More

Print this item

  Windows 10: AttributeError: 'WM_PenProvider' object has no attribute 'hwnd'
Posted by: mikepy - Feb-19-2023, 03:47 PM - Forum: GUI - Replies (1)

Hello, when I execute my kivy program I get the following error message:
[quote]AttributeError: 'WM_PenProvider' object has no attribute 'hwnd'[/quote..... More

Print this item

  method call help
Posted by: sollarriiii - Feb-19-2023, 03:14 PM - Forum: General Coding Help - Replies (6)

bonjour,
Je reçois une résultat non qui j'attend, et je ne sais pas pourquoi ?
quand j'appel la méthode pricing_mac(self): de class HardwareGeek(E..... More

Print this item

  KEY input....
Posted by: ATARI_LIVE - Feb-19-2023, 01:47 PM - Forum: General Coding Help - Replies (5)

I am doing code to read a key is pressed.

The KEYBOARD module is works but it will read keys even I use another window-box which I do not want.

..... More

Print this item

  How to access text files, hidden behind 'm3u8' resources
Posted by: Pavel_47 - Feb-19-2023, 11:06 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello,

yt-dlp downloaded doesn't differentiate between 2 subtitles of the same languages: when specifying language code (e.g. 'fr') it takes by def..... More

Print this item

  how hard would it be to integrate CPython in a web browser?
Posted by: Skaperen - Feb-19-2023, 03:18 AM - Forum: News and Discussions - Replies (1)

how hard would it be to integrate CPython in a web browser? how secure could be made to run?

Print this item

  Read text file, modify it then write back
Posted by: Pavel_47 - Feb-18-2023, 10:35 AM - Forum: General Coding Help - Replies (5)

Hello,

The goal is to read text file, modify the content, then write this modified content to file:
Here is code that doesn't work:
[python]impor..... More

Print this item

Information Python for web apps - where to start?
Posted by: a1ch3myst - Feb-17-2023, 09:16 PM - Forum: Web Scraping & Web Development - Replies (6)

Hi, I have some basic programming knowledge (can read syntax, and understand functions and statements) I have never programmed in Python so I'm lookin..... More

Print this item

  How to always select the item in the first column when a row is selected
Posted by: DrakeSoft - Feb-17-2023, 07:32 PM - Forum: GUI - Replies (1)

I am using the code below to try and understand how to be able to select the data in the first column of a treeview irrespective of where in the row I..... More

Print this item

  Pandas AttributeError: 'DataFrame' object has no attribute 'concat'
Posted by: Sameer33 - Feb-17-2023, 02:05 PM - Forum: General Coding Help - Replies (5)

Dears

I am trying to merge multiple excel files into a single file with Python, but I get an error and I can't fix it.


My Code is
[python]
i..... More


Attached Files

.xlsx   Sales1.xlsx (Size: 13.14 KB / Downloads: 362)
.xlsx   Sales2.xlsx (Size: 13.25 KB / Downloads: 348)
Print this item

  Launch Python IDLE Shell from terminal
Posted by: Pavel_47 - Feb-17-2023, 01:50 PM - Forum: General Coding Help - Replies (5)

Hello,
Searching the web I found a suggestion to type idle3 in the terminal.
Tried, doesn't work (neither idle, BTW).
Normally I laun..... More

Print this item

  Listing directories (as a text file)
Posted by: kiwi99 - Feb-17-2023, 05:52 AM - Forum: General Coding Help - Replies (1)

Is there a simple alternative to os.listdir that returns a text file of image sizes (height, width, MB) as well as document name?

I wondered if th..... More

Print this item

  choose checkbox
Posted by: devilonline - Feb-16-2023, 11:48 PM - Forum: GUI - Replies (1)

Hi, I have this code with pyqt5:

[python]
elif (content1 == "next"):
todos = ["one" , "two" , "three" , "four", "five"]
..... More

Print this item

  Trying to access excel file on our sharepoint server but getting errors
Posted by: cubangt - Feb-16-2023, 08:11 PM - Forum: General Coding Help - No Replies

So initial error was a forbidden error. I then tried using sharepy and it says it cant find it.. When i try to install it using conda, it fails.
I ..... More

Print this item

  Tkinter object scope
Posted by: riversr54 - Feb-16-2023, 07:40 PM - Forum: GUI - Replies (6)

New to Python but really new to Tkinter...

Working on a simple app that has multiple child pages and one 'home' page that dispatches to the 'child'..... More

Print this item

  Grouping Data based on 30% bracket
Posted by: purnima1 - Feb-16-2023, 07:14 PM - Forum: Data Science - No Replies

Hello All,

I am sharing use case which I am not sure falls under this forum or not , so need guidance for that. I only have basic knowledge of pyt..... More

Print this item

  use of escape character in re.sub and find
Posted by: WJSwan - Feb-16-2023, 04:48 AM - Forum: General Coding Help - Replies (1)

Where can I find documentation so that I can learn how to use escape characters in re.sub and with find method correctly?

I tend to find that I alw..... More

Print this item

  defining function in a functio and sharing variables
Posted by: Skaperen - Feb-16-2023, 02:28 AM - Forum: News and Discussions - No Replies

i can def foo(): within the definition of bar(). then foo() can access bar()'s va..... More

Print this item

Photo exe created by pyinstaller only works in the dist directory
Posted by: dee - Feb-15-2023, 10:21 PM - Forum: General Coding Help - Replies (7)

I want to create an exe for a user to run the Python program. In Visual Studio Code Terminal I typed PS C:\Users\dee.dee> pyinstaller "C:\Users\dee.de..... More

Print this item

  What is the Target value in this GridSearchCV problem?
Posted by: Led_Zeppelin - Feb-15-2023, 07:32 PM - Forum: General Coding Help - No Replies

I have a question on the following document where I will now post its link.

https://becominghuman.ai/predict-pump-fa...ns-using-d..... More

Print this item

  Program doesnt return beginning
Posted by: bilisim19 - Feb-15-2023, 05:45 PM - Forum: General Coding Help - Replies (2)

num=int(input("age:" ))

if num>18:
    print("old")
else:
   print("young")
When this code is first running there is no pr..... More

Print this item

  unittest generates multiple files for each of my test case, how do I change to 1 file
Posted by: zsousa - Feb-15-2023, 05:34 PM - Forum: General Coding Help - No Replies

I've build a framework using the data driven approach. Basically, a test case represents 1 file and each file can have several assertion points.
Curr..... More

Print this item

  Unsure why module is not working
Posted by: garynewport - Feb-15-2023, 03:21 PM - Forum: General Coding Help - No Replies

I am trying to run a piece of code acquired from someone online (trusted source). I run the program and I get the following error...

[error]
C:\Us..... More

Print this item

  How do I instantiate a class with **kwargs?
Posted by: palladium - Feb-15-2023, 02:17 PM - Forum: General Coding Help - Replies (6)

Consider the following:

[code]
class TestClass():

def __init__(self, param_1 , **kwargs):
self.param_1 = param_1
#?? how..... More

Print this item

  tkinter.TclError: can't invoke "canvas" command
Posted by: cybertooth - Feb-15-2023, 10:16 AM - Forum: GUI - Replies (8)

I am getting this tcl error and unable to solve it. Here is the full exception. This happens when I exit the program
[error]Exception in Tkinter callb..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How Much Does The New Iph... 11 minutes ago bejaminmaarleyo1374 bejaminmaarleyo1374 General Codin...
  How to Integrate External... Yesterday, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... Yesterday, 16:06 eedjsa eedjsa General Codin...
  IP address for users Yesterday, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Yesterday, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
Most views
  The best Prog... 580374
  Tutorial Requ... 519138
  Web Scraping ... 442771
  Newbie with P... 386955
  New Users Int... 386289
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
bejaminmaarleyo1374 Today
taylorlitleoz476 Today
desy845 Today
atalieyandext4063 Yesterday
finallen321 Yesterday

User Panel Messages

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