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,437
» Latest member: AlexZolotov
» Forum threads: 38,550
» Forum posts: 174,695

Full Statistics

Online Users
There are currently 493 online users.
» 1 Member(s) | 483 Guest(s)
Bing, Google, Yandex, Applebot, Facebook, Anna_Radnor

Latest Threads
How to understand object-...
Forum: General Coding Help
Last Post: snl_9527
1 hour ago
» Replies: 2
» Views: 117
Picamera2 commands betwee...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 1
» Views: 159
Python script not working...
Forum: Web Scraping & Web Development
Last Post: texwilson47
11 hours ago
» Replies: 2
» Views: 127
PyVisa Query Command fail...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:58 PM
» Replies: 1
» Views: 156
[SOLVED] [Beautiful Soup]...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 03:46 PM
» Replies: 2
» Views: 123
[SOLVED] [Beautiful Soup]...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 03:43 PM
» Replies: 2
» Views: 245
CSV reader with PyQt6
Forum: Code sharing
Last Post: Axel_Erfurt
Yesterday, 11:38 AM
» Replies: 3
» Views: 174
where should DEFAULT_CIPH...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 07:00 AM
» Replies: 8
» Views: 397
what name to give to a ne...
Forum: News and Discussions
Last Post: Skaperen
Apr-30-2025, 09:39 PM
» Replies: 4
» Views: 183
function arguments
Forum: General Coding Help
Last Post: Curbie
Apr-30-2025, 05:23 PM
» Replies: 2
» Views: 234

 
  Need help setting up trusted root ca in virtual environment
Posted by: dstempfley - May-31-2024, 03:14 PM - Forum: General Coding Help - No Replies

I have a RHEL 8 system and am writing a script that uses requests to access an internal website. The environment is configured with the internal cert..... More

Print this item

Question Install Python Using ShellScript
Posted by: Sudheer - May-31-2024, 10:44 AM - Forum: General Coding Help - Replies (1)

Hi,

I have a requirement like to install Python using shellscript...

I'm able to download it, but couldn't silent the steps after downloading
..... More


Attached Files

Thumbnail(s)
   
Print this item

  Need help to identify CNA for automation
Posted by: qatester - May-31-2024, 09:24 AM - Forum: General Coding Help - No Replies

I am trying to automate connecting to a captive network assistant (CNA). Once I change the ssid a popup appears (CNA) and asks the user to either cli..... More

Print this item

  Need help with a while loop
Posted by: ampereap - May-31-2024, 01:27 AM - Forum: General Coding Help - Replies (4)

I'm teaching myself Python over the summer, and I am using the MIT OWC class to get started. In the second problem set we are trying to figure out ho..... More

Print this item

  How can i get the top smallest and top highest value for each row in pandas?
Posted by: mahmoudr899 - May-30-2024, 08:06 PM - Forum: General Coding Help - Replies (4)

I have data that I have sorted, below is a sample of the data:

[output]
missing_values count
0 51
3 ..... More

Print this item

  Need Assistance with Creating an AI Chatbot for Client's Website
Posted by: LauraB - May-30-2024, 04:39 PM - Forum: General Coding Help - Replies (4)

I'm working on a project for a client who wants to integrate an AI chatbot into their website. The chatbot should be able to handle customer inquiries..... More

Print this item

  How to group related products in relationship groups?
Posted by: RegionHUser - May-30-2024, 04:26 PM - Forum: General Coding Help - Replies (2)

Hi,

I have a dataset which consists of relationships between old product and new product. I would like to have them grouped into relationship group..... More

Print this item

  Is changing processes by using match with type function impossible?
Posted by: cametan - May-30-2024, 01:42 PM - Forum: General Coding Help - Replies (1)

Hello.

I know to distinguish 'type' is usually with isinstance function, but examine this:

[python]
def what_is_it(x):
def format():
..... More

Print this item

  web scraping problem
Posted by: jacksfrustration - May-30-2024, 12:07 PM - Forum: General Coding Help - Replies (1)

im trying to build a web scraper using BS4. i want to filter news articles and only get the href links of all the articles that have above a number of..... More

Print this item

  Input error correction.
Posted by: shakoun - May-30-2024, 08:51 AM - Forum: General Coding Help - Replies (4)

I want to catch an input error and allow the user to correct it.

Print this item

  UTF-8 to UTF-16 and UTF-16 to UTF-8
Posted by: Skaperen - May-30-2024, 02:37 AM - Forum: Bar - No Replies

i need to do some conversion between UTF-8 and UTF-16 (both ways). what can Python do for this? any commands already developed in Python (i take C i..... More

Print this item

  Tkinter multiple windows in the same window
Posted by: hosierycouch - May-30-2024, 02:20 AM - Forum: GUI - Replies (1)

Hello everyone,

I am trying to develop an application in Tkinter that have one main screen and 4 sub-screens inside the main screen. I want to cont..... More

Print this item

  Can my crafting system improve?
Posted by: XavierPlatinum - May-29-2024, 09:51 PM - Forum: Game Development - No Replies

Hello all! It works! lol

I've been working on making a efficient, logical crafting system. It seems pretty lean to me, but I would like to get so..... More

Print this item

  Cant install Ethereum 2.3.2
Posted by: Rubenvdw - May-29-2024, 07:43 PM - Forum: General Coding Help - Replies (1)

Hi all,

Iam new to programming and Iam trying to install ethereum 2.3.2 with pip install ethereum.
I get this error:

ERROR: Command errored..... More

Print this item

  python escaping character
Posted by: atom509 - May-29-2024, 07:39 PM - Forum: General Coding Help - Replies (1)

Hi guys,

How can i escape the special character from this sql . it is store as string

SELECT REGEXP_SUBSTR(SYS_CONNECT_BY_PATH(nom, '\'), '[^\..... More

Print this item

  initializing interactive mode
Posted by: Skaperen - May-29-2024, 07:20 PM - Forum: News and Discussions - Replies (4)

i recall reading that interactive mode could be initialized with either a command line option or the file .init.py instead. i tried the latter but it..... More

Print this item

  Media Pipe Python Interfacing with MATLAB
Posted by: cmcreecc - May-29-2024, 03:42 PM - Forum: General Coding Help - Replies (1)

Hi, so I've done some research and I've found that MATLAB can interface with Python in a pretty straightforward manner, but I'm running into an issue...... More

Print this item

  Issues with MySql Connection
Posted by: EMG2024 - May-29-2024, 12:33 PM - Forum: General Coding Help - Replies (2)

[python]import mysql.connector

mydb = mysql.connector.connect(
host="localhost",
user="EMG",
password="JAMESPaige@63"
)

print("C..... More

Print this item

  python code to calculate mean of an array of numbers using numpy
Posted by: viren - May-29-2024, 12:19 PM - Forum: General Coding Help - Replies (3)

Kindly advise with the correct python code to get the mean of an array of numbers using numpy method.

The data variable is an array with randomly-g..... More

Print this item

  how to capitalize letter in list object Python
Posted by: iwonkawa - May-29-2024, 10:17 AM - Forum: General Coding Help - Replies (4)

Could you please kindly help me how to capitalize list object from the dictionary ?

[python]shopping_dict = {
'bakery':['bread', 'doughnut', '..... More

Print this item

  making a form purely with flask-wtf
Posted by: robertkwild - May-29-2024, 08:53 AM - Forum: General Coding Help - Replies (15)

hi all,

i want to design a web form using purely using flask-wtf only, i dont want to use HTML

i want to use labels, text boxes, password fields..... More

Print this item

  a function name dunder
Posted by: Skaperen - May-29-2024, 04:15 AM - Forum: General Coding Help - Replies (3)

for a function there is a name it is initially defined as in the def statement and the name it is called as in which would be different if the ..... More

Print this item

  Which method name would you choose?
Posted by: Gribouillis - May-28-2024, 09:01 PM - Forum: General Coding Help - Replies (7)

I currently have this syntax

preamble, content = mediator.read()
Here, mediator is an instance of a Mediator class, which you can v..... More

Print this item

  My_first_Calendar
Posted by: Finally_Laura - May-28-2024, 06:17 PM - Forum: General Coding Help - Replies (1)

Hola soy muy nueva en Python, estoy intentando crear un calendario con este código.

[python]from tkinter import *
from tkcalendar import *

root..... More

Print this item

  Full Breakout Game With Python
Posted by: fadmo - May-28-2024, 02:23 PM - Forum: Code sharing - Replies (2)

Full Breakout Game With Python including complete code and full explanations.

https://codingwithfad.com/create-a-break...-python-3/

En..... More

Print this item

  Passing web form to powershell
Posted by: robertkwild - May-28-2024, 02:18 PM - Forum: General Coding Help - Replies (1)

hi all,

im going to design a simple tkinter/web form for people to enter there username/old password/new password in a text box and when they click..... More

Print this item

  Install python 2.7 in jupyter lab
Posted by: raman - May-28-2024, 12:08 PM - Forum: General Coding Help - Replies (28)

Hi, i want to use python 2.7 but i don't know how to add it in jupyterlab. https://forum.manjaro.org/t/add-python2-...b/162569/1

Can i u..... More

Print this item

  Exceeding the value - turn on the relay.
Posted by: stsxbel - May-27-2024, 07:17 PM - Forum: General Coding Help - No Replies

Good afternoon, I can’t figure out how to write the code. We read the value from the database, if it exceeds, say, 2000, then we turn on the relay via..... More

Print this item

  Free Online IDE / Interpreter
Posted by: Jameyson72 - May-27-2024, 04:26 PM - Forum: General Coding Help - Replies (3)

I'm trying to get into game development, but for some reason I am unable to install pygame or any of its dependencies on my Chromebook, despite having..... More

Print this item

  How to integrate this function in python symbolically
Posted by: Safinazsalem - May-27-2024, 12:11 PM - Forum: Homework - No Replies

I use the following code to symbolically triple integrate a function f(t1,t2,m) , but it gives an error :



[python]This can happen when it's n..... More

Print this item

  How to integrate a discontinuous function by tplquad or nquad
Posted by: Safinazsalem - May-27-2024, 09:31 AM - Forum: Homework - Replies (2)

I try to triple integrate the following function but it gives many errors:



[python]IntegrationWarning: The integral is probably divergent, or s..... More

Print this item

  which namespace?
Posted by: Skaperen - May-27-2024, 04:03 AM - Forum: General Coding Help - Replies (4)

when i import function foo() from a module with 2 functions, foo() and bar():

from mymodule import foo
and foo() needs to c..... More

Print this item

  [closed] check whether an integer is 32 or 64 bits
Posted by: paul18fr - May-26-2024, 09:16 PM - Forum: General Coding Help - Replies (4)

Hi,

A basic question: how to check if the variable t1 is wheter a 32 bits integer or 64 one? Natively I've been thinking its a 32 bits but I've not..... More

Print this item

  Rotate with just one line
Posted by: MasterIphone - May-26-2024, 03:30 PM - Forum: GUI - Replies (5)

I'm not completely new to Python, but I'm faced with a difficult problem for me.
Previously I wrote parsers and file converters.
Now I need to work ..... More

Print this item

Shocked Script get's really weird error
Posted by: DaJohn - May-25-2024, 06:47 PM - Forum: General Coding Help - Replies (7)

Hello,
I am trying to write a Python script to ask the user for a recipe. The script should look up the ingredients needed for the recipe via OpenAI..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to understand object-... 1 hour ago snl_9527 snl_9527 General Codin...
  Picamera2 commands betwee... 9 hours ago GigiG deanhystad General Codin...
  Python script not working... 11 hours ago texwilson47 texwilson47 Web Scraping ...
  PyVisa Query Command fail... Yesterday, 16:58 dazz deanhystad General Codin...
  [SOLVED] [Beautiful Soup]... Yesterday, 15:46 Winfried Winfried General Codin...
  [SOLVED] [Beautiful Soup]... Yesterday, 15:43 Winfried Winfried General Codin...
  CSV reader with PyQt6 Yesterday, 11:38 suburbanprojects Axel_Erfurt Code sharing
  where should DEFAULT_CIPH... Yesterday, 07:00 Skaperen snippsat General Codin...
  what name to give to a ne... 04-30, 21:39 Skaperen Skaperen News and Disc...
  function arguments 04-30, 17:23 Curbie Curbie General Codin...
  Eight Queens Problem, err... 04-30, 16:22 snl_9527 Gribouillis General Codin...
Most views
  The best Prog... 557452
  Tutorial Requ... 424465
  Web Scraping ... 422932
  Newbie with P... 350997
  Thread remain... 324893
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+ 12036
buran 8165
snippsat 7324
deanhystad 6809
metulburr 5151
Top referrers
Googlepro 22
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
AlexZolotov Yesterday
ekaintan1590 Yesterday
juanadaniel096 Yesterday
dar Yesterday
preethi Yesterday

User Panel Messages

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