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,933
» Latest member: goodvicent
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

Online Users
There are currently 38 online users.
» 2 Member(s) | 32 Guest(s)
AOL, Bing, Google, AOL, Pedroski55, goodvicent

Latest Threads
LOST OF INVESTMENT SCAM
Forum: News and Discussions
Last Post: goodvicent
2 minutes ago
» Replies: 0
» Views: 1
Too much space between gr...
Forum: GUI
Last Post: deanhystad
3 hours ago
» Replies: 3
» Views: 906
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 358
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-15-2025, 08:58 PM
» Replies: 8
» Views: 2,495
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,543
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 424
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 133
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 2,923
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,177
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 862

 
  Replace Meson with PIP
Posted by: ChrisOfBristol - Sep-23-2022, 06:28 PM - Forum: General Coding Help - Replies (4)

I have a Flatpak which uses Meson to install the main Python program. There is a meson.build file which finds appropriate directory names and does thi..... More

Print this item

  How to calculated how many fail in each site(s) in csv files
Posted by: SamLiu - Sep-23-2022, 03:25 PM - Forum: General Coding Help - Replies (4)

Hi all,

I just get how many test quantity for each site(s),and then want to calculated each site pass quantity. I have no idea to do that,someone c..... More

Print this item

  pip install pystyle doesnt work
Posted by: person_probably - Sep-23-2022, 02:30 PM - Forum: General Coding Help - Replies (2)

i cant use pip install because it does... Invalid Syntax specified on install
i dont know how it works can i get help please <button>help me</button..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LOST OF INVESTMENT SCAM 2 minutes ago goodvicent goodvicent News and Disc...
  [Tkinter] Too much space ... 3 hours ago RonR deanhystad GUI
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  403 Error 09-15, 20:58 CaptainNewb snippsat Web Scraping ...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575833
  Tutorial Requ... 497140
  Web Scraping ... 439839
  Newbie with P... 383547
  New Users Int... 365493
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
goodvicent Today
XenonBlack Yesterday
tobey12 Yesterday
Lenowell Yesterday
luisshulez6883 09-15

User Panel Messages

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