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,418
» Latest member: arturioworker
» Forum threads: 38,542
» Forum posts: 174,661

Full Statistics

Online Users
There are currently 428 online users.
» 1 Member(s) | 422 Guest(s)
Google, Bing, Baidu, Yandex, Google Image, snl_9527

Latest Threads
Get the string after a sp...
Forum: General Coding Help
Last Post: snl_9527
3 minutes ago
» Replies: 4
» Views: 177
where should DEFAULT_CIPH...
Forum: General Coding Help
Last Post: Skaperen
2 hours ago
» Replies: 2
» Views: 167
Eight Queens Problem, err...
Forum: General Coding Help
Last Post: snl_9527
3 hours ago
» Replies: 9
» Views: 516
I am sending messages usi...
Forum: General Coding Help
Last Post: Hendrikb
Yesterday, 09:38 AM
» Replies: 0
» Views: 84
function arguments
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:48 AM
» Replies: 1
» Views: 134
[Beautiful Soup] Replace ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 05:45 AM
» Replies: 1
» Views: 168
how to delete thread
Forum: Board
Last Post: DeaD_EyE
Apr-28-2025, 07:30 PM
» Replies: 4
» Views: 286
Atari Ping Pong Game
Forum: Code sharing
Last Post: deanhystad
Apr-28-2025, 05:04 PM
» Replies: 1
» Views: 162
not running
Forum: General Coding Help
Last Post: deanhystad
Apr-28-2025, 04:08 PM
» Replies: 2
» Views: 269
[split] How to continue c...
Forum: General Coding Help
Last Post: deanhystad
Apr-28-2025, 04:02 PM
» Replies: 1
» Views: 146

 
  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 (2)

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

  Looking for a start to GUI for DB maintenance
Posted by: jehoshua - Nov-22-2024, 05:44 AM - Forum: GUI - Replies (7)

I currently use an OpenOffice spreadsheet for budgeting and cash flow purposes. It has many sheets to 'drive' the main ones. It is for cash flow on a ..... More

Print this item

  what is solution to save and reload a object?
Posted by: eue - Nov-22-2024, 03:06 AM - Forum: General Coding Help - Replies (4)

Dilemma:
In my program, one of my function needs to use a object from past session. However, when session ends, the object is cleared along wit..... More

Print this item

  invaders in new game wandering
Posted by: Oversizewizard - Nov-21-2024, 04:39 PM - Forum: General Coding Help - Replies (1)

hi everyone.

jst new to python and i written a few apps for my phone but im giving gaming a go.

trying to code a simple invaders game as practic..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Get the string after a sp... 3 minutes ago JanJan snl_9527 General Codin...
  where should DEFAULT_CIPH... 2 hours ago Skaperen Skaperen General Codin...
  Eight Queens Problem, err... 3 hours ago snl_9527 snl_9527 General Codin...
  I am sending messages usi... Yesterday, 09:38 Hendrikb Hendrikb General Codin...
  function arguments Yesterday, 06:48 Curbie Gribouillis General Codin...
  [Beautiful Soup] Replace ... Yesterday, 05:45 Winfried Winfried General Codin...
  how to delete thread 04-28, 19:30 Azdaghost DeaD_EyE Board
  Atari Ping Pong Game 04-28, 17:04 Azdaghost deanhystad Code sharing
  not running 04-28, 16:08 Azdaghost deanhystad General Codin...
  [split] How to continue c... 04-28, 16:02 pythonnewbie62 deanhystad General Codin...
  Web Scraping / API 04-28, 13:40 nautifi deepvyas Jobs
Most views
  The best Prog... 557354
  Tutorial Requ... 424383
  Web Scraping ... 422891
  Newbie with P... 350954
  Thread remain... 324887
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 325
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12034
buran 8165
snippsat 7320
deanhystad 6806
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
arturioworker Yesterday
wayenia Yesterday
davidmartin Yesterday
donjon4500 Yesterday
dadsdsdadsad Yesterday

User Panel Messages

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