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,535
» Latest member: rb9594
» Forum threads: 38,663
» Forum posts: 175,195

Full Statistics

Online Users
There are currently 33 online users.
» 0 Member(s) | 29 Guest(s)
Baidu, Bing, Yandex, Google

Latest Threads
pip3 install certifi fail...
Forum: General Coding Help
Last Post: rb9594
4 hours ago
» Replies: 0
» Views: 22
Custom Sorting List of Di...
Forum: Homework
Last Post: deanhystad
10 hours ago
» Replies: 2
» Views: 180
Unable to define function...
Forum: Homework
Last Post: deanhystad
10 hours ago
» Replies: 1
» Views: 48
RemoTe server operation w...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 10:14 AM
» Replies: 6
» Views: 668
Qt Event Filtering
Forum: GUI
Last Post: deanhystad
Yesterday, 09:36 AM
» Replies: 3
» Views: 159
processing nested json da...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 01:32 AM
» Replies: 1
» Views: 113
Convert .pdf to .txt
Forum: General Coding Help
Last Post: Pedroski55
Jul-13-2025, 11:23 AM
» Replies: 7
» Views: 481
Trouble Importing cell2lo...
Forum: General Coding Help
Last Post: snippsat
Jul-12-2025, 04:00 PM
» Replies: 3
» Views: 271
Why is bool() an instance...
Forum: General Coding Help
Last Post: deanhystad
Jul-12-2025, 02:41 AM
» Replies: 5
» Views: 254
[SOLVED] Why does regex f...
Forum: General Coding Help
Last Post: Pedroski55
Jul-11-2025, 11:52 PM
» Replies: 7
» Views: 4,012

 
  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

  I use VsCode with Python and it currently won't let me run any code
Posted by: NordicMonkey - Sep-18-2022, 02:46 PM - Forum: General Coding Help - Replies (2)

I'm currently starting with Python, I use VsCode; Hadn't had any problems until yesterday.

Basically the problem is that I can execute individual l..... More


Attached Files

Thumbnail(s)
                   
Print this item

  MatplotibTicks every 24 hours
Posted by: TamP - Sep-18-2022, 10:48 AM - Forum: General Coding Help - Replies (4)

My code displays temperatures imported from an excel sheet.
The graph works as I want but I cannot see how to show an xtick every 24 hours rather tha..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  pip3 install certifi fail... 4 hours ago rb9594 rb9594 General Codin...
  Custom Sorting List of Di... 10 hours ago aryasinner deanhystad Homework
  Unable to define function... 10 hours ago gmonroe deanhystad Homework
  RemoTe server operation w... Yesterday, 10:14 mario17 snippsat General Codin...
  Qt Event Filtering Yesterday, 09:36 deanhystad deanhystad GUI
  processing nested json da... Yesterday, 01:32 Kumo_Koloo Pedroski55 Web Scraping ...
  Convert .pdf to .txt 07-13, 11:23 vmars316 Pedroski55 General Codin...
  Trouble Importing cell2lo... 07-12, 16:00 haileyp snippsat General Codin...
  Why is bool() an instance... 07-12, 02:41 voidtrance deanhystad General Codin...
  [SOLVED] Why does regex f... 07-11, 23:52 Winfried Pedroski55 General Codin...
  Coding Standards 07-11, 13:12 kency snippsat General Codin...
Most views
  The best Prog... 572689
  Tutorial Requ... 485721
  Web Scraping ... 437145
  Newbie with P... 380089
  Thread remain... 351375
Most reputation
buran 581
snippsat 507
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+ 12073
buran 8174
snippsat 7352
deanhystad 6857
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
rb9594 Today
homerpalmer Yesterday
aihancaiji31 Yesterday
gmonroe Yesterday
Tharindu Yesterday

User Panel Messages

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