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,384
» Latest member: Michaelhauct
» Forum threads: 38,820
» Forum posts: 176,012

Full Statistics

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

Latest Threads
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
29 minutes ago
» Replies: 5
» Views: 9,846
Calling python from anoth...
Forum: General Coding Help
Last Post: bowlofred
2 hours ago
» Replies: 4
» Views: 101
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 126
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 69
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 118
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,284
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 92
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 749
We open-sourced kubesdk —...
Forum: Code sharing
Last Post: beslanpuzl
Dec-21-2025, 11:52 AM
» Replies: 0
» Views: 153
a function to watch files
Forum: News and Discussions
Last Post: Gribouillis
Dec-21-2025, 07:43 AM
» Replies: 1
» Views: 136

 
  How to set new opened form activate and minimize main from after new for opened?
Posted by: jalal0034 - Sep-23-2022, 03:08 AM - Forum: GUI - Replies (5)

Hi everyone, my new from is in front of my main form but its not activate! I have to click on in to become activate.
How can I handle it ?
Is it pos..... More

Print this item

  Python-Can I get some help with this ModuleError
Posted by: AlexPython - Sep-23-2022, 12:02 AM - Forum: General Coding Help - Replies (12)

The program works fine if I run it on Pycham but if I try to run it on IDLE 3.9 it displays an error. I already try the (pip install k) but It don't w..... More

Print this item

  writing data from Amazon Workspaces to CSV
Posted by: isaac_python - Sep-22-2022, 10:36 PM - Forum: News and Discussions - Replies (5)

Hello,

I'm trying to get my output from Amazon Workspaces to print to a file. I can get the data from workspaces, but I have not been able to write..... More

Print this item

  Installing Pillow from remote archive in Linux Flatpak
Posted by: ChrisOfBristol - Sep-22-2022, 07:57 PM - Forum: General Coding Help - Replies (6)

I've got a Flatpak which uses Python and Pillow (among other things). The installation of Pillow (was written for me, had contradictions and probably ..... More

Print this item

  Stock Return calculation problem
Posted by: LFin - Sep-22-2022, 01:14 PM - Forum: General Coding Help - Replies (10)

Hello,

I am trying to solve a portfolio management kind of exercise and I don't know what is wrong in my code. I am a beginner in Python but I know ..... More

Print this item

  How to make use of this button with selenium?
Posted by: Nohah - Sep-22-2022, 10:22 AM - Forum: Web Scraping & Web Development - No Replies

Any one know how to get a usful ID from this:

//*[@id="main-content"]/div/div[2]/div/div[1]/div/div/div[12]/div/div[2]/div/header/div/span/button/d..... More

Print this item

  List Sorting Problem
Posted by: ZZTurn - Sep-22-2022, 02:55 AM - Forum: General Coding Help - Replies (5)

Sorry I am a novice.

I am trying to sort a custom dictionary consisting of a list of 2-element lists, (lexical entry and definition), using sort()..... More

Print this item

  managing new windows
Posted by: JonWayn - Sep-22-2022, 01:29 AM - Forum: General Coding Help - Replies (1)

I need to control a website at which the links i interact with open in a new popup/tab. The href attribute of the links do me no good because using it..... More

Print this item

  War with deck of cards
Posted by: menator01 - Sep-21-2022, 07:44 PM - Forum: Code sharing - No Replies

My attempt at war with a deck of cards. Not all of the Player attributes are used right now.


..... More

Print this item

  Populating list items to html code and create individualized html code files
Posted by: ChainyDaisy - Sep-21-2022, 07:18 PM - Forum: Web Scraping & Web Development - No Replies

I need to create a bunch of individualized e-mail signatures in html from data collected in an Excel file. I need a separate html/txt file as output f..... More

Print this item

  Why both loops don't work in python?
Posted by: nau - Sep-21-2022, 01:45 PM - Forum: General Coding Help - Replies (3)

Hi,

I have 2 if loops to be executed based on input from user, but only 1 loop works at a time even if the condition satisfices, I had to comment o..... More

Print this item

  I need a mentor
Posted by: classik16 - Sep-21-2022, 01:34 PM - Forum: Bar - Replies (5)

Hello, My name is Frank from Ghana in the west africa, Please I just started learning python today.
Can i get a dedicated mentor i can ask question ..... More

Print this item

  In SQL Server, mix data types.
Posted by: shiv11 - Sep-21-2022, 12:50 PM - Forum: General Coding Help - No Replies

While reading an article of SQL server on wiki thought that, In SQL Server, is it possible to merg..... More

Print this item

  Python Regex
Posted by: quest - Sep-21-2022, 12:16 PM - Forum: General Coding Help - Replies (2)

I have the following text file:
[output]S = 0, X are: (1, 0, 1, 1, 0, 0, )S = 0, Z are: (0, 1, 1, 1, 0, 1, )Data bits measurement:0, 0, 0, 1, 1, 1, 1..... More

Print this item

  Simple calculator
Posted by: ryza - Sep-21-2022, 11:02 AM - Forum: Homework - Replies (3)

[python]
import math

def allString(first, second):

operation = ('add', 'subtract', 'multiply', 'divide')
for v in operation:
print(f"..... More

Print this item

  Import a module one step back of the path
Posted by: prathampatel9 - Sep-21-2022, 09:31 AM - Forum: General Coding Help - Replies (1)

Hi I have the following file structure

Backend
|
--->Main --> app.py
|
--->package --> test.py

[b]NOTE: Here Main and package directories a..... More

Print this item

  How to sort a list with duplicates and return their unique indices.
Posted by: Echoroom - Sep-21-2022, 09:19 AM - Forum: Homework - Replies (3)

Given a list:

lst = [48,52,35,35,44,35]
I want to sort the list in descending order, so I use this:


[python]sorted..... More

Print this item

  Mac os (M2) "Python is loading libcrypto in an unsafe way"
Posted by: jpelayo - Sep-21-2022, 09:11 AM - Forum: General Coding Help - Replies (1)

Hi,

I have migrated to a mac os 12.6 with Python 3.10.7, and scripts involving ssl and hashing now complain with the error

[error]
/Library/Fr..... More

Print this item

  Pylint
Posted by: DPaul - Sep-21-2022, 07:00 AM - Forum: Bar - No Replies

Hi,
Question: to what extent is "pylint" a reliable analysis.
I have applied pylint to a program, and over half the comments are about vars not bein..... More

Print this item

  Hangman Game
Posted by: monkeydesu - Sep-21-2022, 03:11 AM - Forum: Code Review - Replies (1)

I've been teaching myself how to code for a few weeks and did a hangman game all by myself! I'm so chuffed ! Such a good feeling and I still can't bel..... More

Print this item

  i'm back to f-strings, again
Posted by: Skaperen - Sep-20-2022, 06:10 PM - Forum: General Coding Help - Replies (4)

i have a list of file name patterns. where each parameter is expected in the file name varies between names. but, this list has it all. the list wa..... More

Print this item

  Several xml files to dataframe
Posted by: mfernandes - Sep-20-2022, 03:46 PM - Forum: General Coding Help - Replies (2)

I have several xml files that I want to transform into a dataframe. Each xml file should be in one row. Here is an example of a xml file:
[python]
<..... More

Print this item

  create a "sound" server
Posted by: korenron - Sep-20-2022, 01:56 PM - Forum: General Coding Help - Replies (4)

Hello,
I have a mic connected to my pi
and up until now - when I wanted to hear from the mic I have run this command
[python]ffmpeg -ar 44100 -a..... More

Print this item

  Beginner Python Question: FIzz Buzz using while loop
Posted by: camoyn13 - Sep-20-2022, 03:53 AM - Forum: Homework - Replies (2)

Hello,

Having an issue with the Fizz Buzz challenge using the While Loop. Any help would be greatly appreciated. Please note I HAVE TO USE t..... More

Print this item

  Problems with understanding class index.
Posted by: Brainbit - Sep-20-2022, 03:16 AM - Forum: General Coding Help - Replies (3)

[python]class Store():
Money = 5.00
Day = 1
Stores = []
def __init__(self,StoreName,StoreProfit,storecost):

self.StoreName = ..... More

Print this item

  pyqt6 and random emoji
Posted by: menator01 - Sep-19-2022, 06:46 PM - Forum: Code sharing - No Replies

Just thought it was kinda cool.

[python]from PyQt6.QtWidgets import (QLabel, QApplication, QWidget, QMainWindow, QVBoxLayout, QPushButton)
import ..... More

Print this item

  Unsupported Format Character
Posted by: Led_Zeppelin - Sep-19-2022, 03:48 PM - Forum: General Coding Help - Replies (2)

I got this error of unsupported format character, As shown:

[output]
ValueError Traceback (most recent call last)
..... More

Print this item

  Remove tag several xml files
Posted by: mfernandes - Sep-19-2022, 03:43 PM - Forum: General Coding Help - Replies (5)

Dear python users,
I want to drop the same tag in several xml files in one folder. Here is a sample of one xml file:
[python]
<?xml version='1.0' e..... More

Print this item

  WebDriver' object has no attribute 'find_element_by_css_selector
Posted by: rickadams - Sep-19-2022, 01:48 PM - Forum: General Coding Help - Replies (3)

[output]DevTools listening on ws://127.0.0.1:56769/devtools/browser/34ec545d-5d6c-434d-86c6-fc77922dbfe6

DevTools listening on ws://127.0.0.1:56770..... More

Print this item

  processes shall be parallel
Posted by: flash77 - Sep-19-2022, 12:54 PM - Forum: General Coding Help - Replies (4)

Hi,

how can I get this multi processing example working in the easiest way?

I 've got 4 processes, each process lasts 2 seconds.

How can I ge..... More

Print this item

  Server Http and Https
Posted by: JohnnyCoffee - Sep-18-2022, 08:03 PM - Forum: Networking - Replies (2)

[align=justify]I started a project of a web server that accepts http and https requests for the python language. The idea is to no longer depend on ws..... More

Print this item

  python installation/running inside singularity container
Posted by: erdemath - Sep-18-2022, 05:16 PM - Forum: General Coding Help - Replies (2)

I have singularity-ce version 3.10.2 on ubuntu 20.02. I am trying to install python package. It always says;

[error]
Singularity> apt-get -y updat..... More

Print this item

  Converting python to FileMaker
Posted by: DWolf - Sep-18-2022, 04:45 PM - Forum: General Coding Help - Replies (6)

I need to convert a client's python code for generating a login code to something similar in FileMaker. I didn't think this could be done in FileMaker..... More

Print this item

  Controlling date and time in tests
Posted by: ndc85430 - Sep-18-2022, 03:38 PM - Forum: Tutorial Requests and Submissions - No Replies

Often, the programs we write and systems we build have to do something based on date and/or time. One example could be a library application that comp..... More

Print this item

  Transparent Canvas
Posted by: finndude - Sep-18-2022, 02:59 PM - Forum: GUI - Replies (8)

Hi,

I have this code here:

[python]

from tkinter import *

window=Tk()

window.title("Drawing Shapes on Button Press")

window.attribut..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Lottery generator (beginn... 29 minutes ago Hullari Pedroski55 General Codin...
  Calling python from anoth... 2 hours ago eedjsa bowlofred 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...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
  a function to watch files 12-21, 07:43 Skaperen Gribouillis News and Disc...
  Spaces in string 12-19, 13:04 Mallard Mallard General Codin...
Most views
  The best Prog... 580330
  Tutorial Requ... 518798
  Web Scraping ... 442753
  Newbie with P... 386937
  New Users Int... 386019
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
Michaelhauct Yesterday
eedjsa Yesterday
byanfrances6176 Yesterday
Amowtonyl Yesterday
sofiadavis1840 Yesterday

User Panel Messages

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