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,251
» Latest member: ftk456
» Forum threads: 38,780
» Forum posts: 175,822

Full Statistics

Online Users
There are currently 49 online users.
» 1 Member(s) | 42 Guest(s)
Google, Bing, Internet Archive, AOL, kshahzad1985

Latest Threads
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 2
» Views: 50
New to python and coding
Forum: Homework
Last Post: jefsummers
11 hours ago
» Replies: 4
» Views: 116
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 10:11 AM
» Replies: 6
» Views: 204
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 329
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 287
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 121
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,625
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 218
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 207
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,438

 
  [SOLVED] Special characters in XML
Posted by: ForeverNoob - Dec-03-2024, 12:11 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm building an XML for file catalog. One of the files contains the character ö (o with umlaut), and it seems to invalidate the XML. What is..... More

Print this item

  hyperlink
Posted by: DPaul - Dec-03-2024, 07:23 AM - Forum: Bar - No Replies

Hi,
I was handed an excel file with names and dates for genealogy purposes.
Normally the original document is a .jpeg or .tif representing e.g. a p..... More

Print this item

  matching calendars
Posted by: Skaperen - Dec-03-2024, 12:52 AM - Forum: Bar - No Replies

i'm posting this in the bar because i don't know where else to post it. besides, you likely will need to be drunk to do this. Big Grin

there a..... More

Print this item

  How to select between 2 variables
Posted by: c_birdsong22 - Dec-02-2024, 04:41 PM - Forum: General Coding Help - Replies (1)

Hi - super noob here.... so thanks in advance for any help on this.

I am trying to write a script for sports betting, just for fun...

I am get..... More

Print this item

  A torrent creation tool that can...
Posted by: I3ordo - Dec-02-2024, 11:50 AM - Forum: General Coding Help - Replies (10)

Hello,
I am having trouble finding a torrent creator module that can receive multiple lines of filepaths AS CONTENTS to create a single .torrent file..... More

Print this item

  [SOLVED] Sub string not found in string ?
Posted by: jehoshua - Dec-02-2024, 06:17 AM - Forum: General Coding Help - Replies (4)

[python]#!/usr/bin/python

# Creating an output file in writing mode
output_file = open("newfile.txt", "w")

# write 3 header records
output_fil..... More

Print this item

  I want to eliminate git bash from the setup process
Posted by: 1bitboolean - Dec-02-2024, 01:45 AM - Forum: General Coding Help - Replies (3)

Complete noob here following tutorials and frankenstaining something together.
I am creating a gemini AI chat bot and every time I want to open the s..... More

Print this item

  pip install problem
Posted by: taufanjs - Dec-02-2024, 01:17 AM - Forum: General Coding Help - Replies (4)

Dear all,

I have problems installing python libraries (pyautogui).

The error is shown below:

Downloading/unpacking pyautogui
Cannot fetc..... More

Print this item

  Make a GUI for a CLI package
Posted by: snakes - Dec-01-2024, 11:12 PM - Forum: GUI - No Replies

I'm wondering how one would go about writing a GUI for a CLI package? I've tried doing internet searches to see how it's done but I'm using wrong sear..... More

Print this item

  PIP file location
Posted by: JackG29 - Dec-01-2024, 11:47 AM - Forum: General Coding Help - Replies (1)

Hello everyone,
I am 64 years old and completely new to programming. I bought a Python book from No Starch Press (Automate The Boring Stuff With Pyt..... More

Print this item

  Help about a specific time selection
Posted by: QJZ - Dec-01-2024, 11:25 AM - Forum: General Coding Help - No Replies

Hi, I use jupyter notebook to learn Python code,
I am writing a code
"Using the adjusted closing price, calculate the percentage daily return for J..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to get the accurate end of the tex widget for highligtng
Posted by: ImportRobertPy - Dec-01-2024, 07:30 AM - Forum: GUI - Replies (1)

Hello, I have been struggling with this problem for some time now. The code below is supposed to highlight text added to the text widget if the "bg_co..... More

Print this item

  newspaper3k
Posted by: adeyeyej - Nov-30-2024, 10:01 PM - Forum: Web Scraping & Web Development - Replies (4)

I am trying to web scrape news articles:

After installing newspaper3k, my code got stuck on the next line trying to import the required module.

..... More

Print this item

  Python 3.13 : def setup size
Posted by: HansieB - Nov-30-2024, 10:49 AM - Forum: General Coding Help - Replies (6)

Dear Forum member,

How do I define "define setup : size"?

"
def setup ():
...
size(600,600)

" : Attachment : Size

Result : At..... More


Attached Files

Thumbnail(s)
       
Print this item

  python 3.13 : import whois
Posted by: HansieB - Nov-30-2024, 10:15 AM - Forum: General Coding Help - Replies (1)

Dear forum member,
How do I install whois?

import whois as ws : No module named 'whois' : First attachment

python -m pip install whois : Syntax..... More


Attached Files

Thumbnail(s)
       
Print this item

  Help To Get Started
Posted by: HansieB - Nov-29-2024, 10:33 AM - Forum: General Coding Help - Replies (5)

Dear member,

In ..\python\python 313-32\ I created cAdd.py (See first attachment)

With IDLE I tryed to run cAdd.py, but I got a NameError : cAdd..... More


Attached Files

Thumbnail(s)
       
Print this item

  How to create dictionary based editor
Posted by: maiya - Nov-29-2024, 04:42 AM - Forum: GUI - Replies (2)

Hello All,

I would like to edit the QPlainTextEdit() widgets with dictionary format. For example like below.
[python]
data:
rootdict:
sub..... More

Print this item

  MetaTrader 5 and Python problems with RSI and Alligator chart integration
Posted by: arturolv - Nov-28-2024, 06:25 PM - Forum: General Coding Help - No Replies

How can I implement RSI and Alligator on the same chart?

I am developing a robot in Python to automate trading operations. I saw that RSI works in a ..... More

Print this item

  hashlib md5 - Different hashes for requests content
Posted by: dev01 - Nov-28-2024, 04:18 PM - Forum: General Coding Help - Replies (4)

Hello everyone,

I have noticed a very strange behavior with the hashlib library in connection with md5 hashes -> Python 3.11.9

URLs are transfer..... More

Print this item

Question TypeError: argument of type 'NoneType' is not iterable
Posted by: Tajaldeen - Nov-28-2024, 04:12 PM - Forum: General Coding Help - Replies (7)

Every time i try to run the bellow code it gives me back this Error message
(TypeError: argument of type 'NoneType' is not iterable)
can anyone tell..... More

Print this item

  GUI and special listbox
Posted by: MacTommy - Nov-28-2024, 01:11 PM - Forum: GUI - Replies (5)

Try to make a GUI for one application I'am working on. Try Tkinter, but I can´t handle a While-loop and reciving UDP-messages at the same time I use T..... More

Print this item

  Bright Black Screen Issue in Tkinter GUI Application
Posted by: rommy - Nov-28-2024, 09:17 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

Bright Black screen appears when I run my Python script using Tkinter to build a GUI application. The window opens, but it stays blank..... More

Print this item

  [SOLVED] Retrieving the filename from a shell
Posted by: jehoshua - Nov-28-2024, 05:58 AM - Forum: General Coding Help - Replies (3)

Needing to find the latest filename in a specific directory. This is very basic but works

[python]# Importing required module
import subprocess
..... More

Print this item

Question [SOLVED] [Windows] Is this right way to run a CLI app?
Posted by: Winfried - Nov-27-2024, 12:49 PM - Forum: General Coding Help - Replies (2)

Hello,

From Python, I need to run a couple of command-line apps in Windows.

Is this the right way to do it, including how to tell if the apps ra..... More

Print this item

  Radar (spider) chart in python - 360 evaluation quiz
Posted by: jedan_decko - Nov-26-2024, 09:40 PM - Forum: General Coding Help - No Replies

Hello,

I am new here, so if I make some mistake please don`t take it seriously. :-)

I have one situation on my job. I need to execute 360 questions ..... More


Attached Files

Thumbnail(s)
           
Print this item

  Pandas and MongoDB question
Posted by: Majority390 - Nov-25-2024, 08:24 PM - Forum: Data Science - Replies (1)

Hi, I am new to pandas and MongoDB. This is the problem I have:
I have some data stored in MongoDB. My database is simply called 'mydata'. I have two..... More

Print this item

  Python doesn't run!
Posted by: leon_heller - Nov-25-2024, 03:32 PM - Forum: General Coding Help - Replies (2)

Python 3.13 using Windows 10 doesn't run, it immediately exits. Python 3.12 is OK.
.

Print this item

  White Screen Issue with Toolbar After Python Installation
Posted by: evelynfreya - Nov-25-2024, 05:02 AM - Forum: General Coding Help - Replies (3)

Hi everyone,

White color screen issue with options like help, license, etc when I install Python on my computer. However, during my course, Python ..... More

Print this item

  Trying to create a simple linear regression module but getting
Posted by: Forrestgump_1980 - Nov-24-2024, 05:41 PM - Forum: Data Science - Replies (1)

Hi all,

I am trying to create a simple linear regression model in python but I am getting an error.

[python]import pandas as pd
import matplot..... More


Attached Files

.csv   HRDataset_v14.csv (Size: 75.06 KB / Downloads: 0)
Print this item

Smile Unable to display Devanagari ligatures correctly in python tkinter
Posted by: Anamika - Nov-24-2024, 08:47 AM - Forum: GUI - Replies (4)

I am trying to display Devanagari (Hindi) text in python3 tkinter. I find that the display of text is incorrect in tkinter for all the widgets capable..... More


Attached Files

Thumbnail(s)
       
Print this item

Question [SOLVED] Why "import foo" + "from foo import bar"?
Posted by: Winfried - Nov-23-2024, 05:09 PM - Forum: General Coding Help - Replies (4)

Hello,

Googling didn't help.

I often see examples that look like this:

import foo
from foo import bar
Why the second lin..... More

Print this item

  Error in the method "count" for tuple
Posted by: fff - Nov-23-2024, 01:15 PM - Forum: General Coding Help - Replies (2)

I just wrote this simple code to count the number of 1 in this tuple. Ironically, it returns 2 instead of 1. I have the last version of Python. Also, ..... More

Print this item

  RuntimeError: threads can only be started once
Posted by: Raysz - Nov-22-2024, 08:24 PM - Forum: General Coding Help - Replies (10)

So I made this very simple tkinter python program

That where you enter start and stop time
and that works perfectly fine

If you reenter a new t..... More

Print this item

  How to make it so whatever I input into a script gets outputted on a different file
Posted by: spermatozwario - Nov-22-2024, 08:19 PM - Forum: General Coding Help - Replies (4)

I am a newbie so please do not judge me, this is not the script its just an example of what it'd be like but I'd just like to get the understanding
[..... More

Print this item

  Numpy: repeat cells variable number of times
Posted by: paul18fr - Nov-22-2024, 06:34 PM - Forum: Data Science - No Replies

Hi

In the following snippet, each cell of CellsToDuplicateVariableTimes is repeated the number of times defined in [inline]Number..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  why is the image not show... 3 hours ago sarbogast deanhystad General Codin...
  New to python and coding 11 hours ago lary_p jefsummers Homework
  Help with Serial.write in... Today, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [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...
Most views
  The best Prog... 578870
  Tutorial Requ... 509996
  Web Scraping ... 441926
  Newbie with P... 385937
  New Users Int... 376438
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+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ftk456 Today
sarbogast Today
bmurray Today
kai_cow2710 Today
Kacper Yesterday

User Panel Messages

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