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,394
» Latest member: braillescribe
» Forum threads: 38,822
» Forum posts: 176,025

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 36 Guest(s)
Bing, Google, AOL, Facebook Dev

Latest Threads
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
3 hours ago
» Replies: 1
» Views: 4,568
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 4
» Views: 122
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
5 hours ago
» Replies: 7
» Views: 3,576
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 135
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 273
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,092
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,936
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 166
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 99
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 170

 
  format json outputs !
Posted by: evilcode1 - Nov-21-2021, 07:56 PM - Forum: General Coding Help - Replies (3)

hello all ...
iam trying to get json data from a website ... this is my code :
[python]import requests
import json
import time

file1 = open('/..... More

Print this item

Big Grin for loop
Posted by: nadun - Nov-21-2021, 05:07 PM - Forum: Homework - Replies (3)

How to write code to this with for loop and without 2 for loops


X
XX
XXX
XXXX
XXXXX
XXXX
XXX
XX
X

Print this item

  Program to move a dot towards a circle center
Posted by: plumberpy - Nov-21-2021, 01:32 PM - Forum: General Coding Help - Replies (10)

Got an idea but dont know where to start.

I want a program that shows a dot moving from the circumference towards the circle center. The size, colo..... More

Print this item

  Application development in Python
Posted by: muralikreddy - Nov-21-2021, 06:09 AM - Forum: GUI - Replies (4)

Hi,

I'm new to this forum and beginner in python programming. I wanted to write a algo application using Python for trading in stock markets which ..... More

Print this item

  Detect if mouse enters area
Posted by: menator01 - Nov-21-2021, 04:03 AM - Forum: Game Development - Replies (2)

Is there a better way of detecting if the mouse cursor enters a rect other than how I'm doing it here?

[python]
#! /usr/bin/env python3.10

# Do..... More

Print this item

  How to transform from wide to long format in python
Posted by: shantanu97 - Nov-21-2021, 12:39 AM - Forum: General Coding Help - Replies (1)

Check the Problem-2.jpg file.

The files will (should) always be the same from columns A to H. The second last column will be S3Link. The columns be..... More


Attached Files

Thumbnail(s)
   

.csv   VY6_Row1_report_url_detections_per_frame.csv (Size: 10.56 KB / Downloads: 335)
.csv   VY6_Row2_report_url_detections_per_frame.csv (Size: 8.5 KB / Downloads: 312)
Print this item

  [split] How to create a new forum post
Posted by: Aaron - Nov-20-2021, 09:38 PM - Forum: Board - Replies (4)

How do you post on this forum??? Why isn't this more clearly stated?

Print this item

  Problem With Database Calls and Load
Posted by: Timbo03 - Nov-20-2021, 05:20 PM - Forum: General Coding Help - Replies (1)

Hi, I have created an API service using FastAPI, Python and MySQL. The API allows acces to some data in a database. An api request from fastapi trigge..... More

Print this item

  Seaborn and Pandas
Posted by: russellm10 - Nov-20-2021, 04:01 PM - Forum: Data Science - No Replies

Hi All,

I am working with a database that contains dates already in the datetime form 'year-month-day'. This database contains data about most days..... More

Print this item

  Python Obstacles | Karate | HTML/Scrape Specific Tag and Store it in MariaDB
Posted by: BrandonKastning - Nov-20-2021, 01:50 PM - Forum: Web Scraping & Web Development - Replies (8)

Python Obstacles | Karate | HTML/Scrape Specific Tag and Store it in MariaDB

I figure the best way to learn is to make a thread for e..... More

Print this item

  creating two points (x,y) and adding them together..
Posted by: azhag - Nov-20-2021, 02:06 AM - Forum: General Coding Help - Replies (2)

Hi,
I have started learning python this week and am trying to write a simple script. I wish to use a function to create two user defined points A and..... More

Print this item

  matplotlib x axis range goes over the set range
Posted by: Pedroski55 - Nov-20-2021, 01:05 AM - Forum: General Coding Help - Replies (5)

I am just trying to do some simple plots, nothing fancy.

So I am trying y = x**2

I thought I set x in the range -4 to +4 with: x = np.arange(-4, 4, ..... More

Print this item

  printing a string in reverse
Posted by: Skaperen - Nov-20-2021, 12:35 AM - Forum: General Coding Help - Replies (2)

i have a string in a variable x. i want to print that string in reverse order. like:
[output]
>>> x = 'foobar'
>>> print(rev(x))
raboof
>>>
[/..... More

Print this item

  python-3.10.0-amd64 build corrupt?
Posted by: lohphat - Nov-19-2021, 10:05 PM - Forum: News and Discussions - Replies (4)

I installed the python-3.10.0-amd64 package and whenever I try to play a YT vid in a browser, my system would hang. Uninstalling this build fixes the ..... More

Print this item

  Dictionary Referencing
Posted by: nickdavis2017 - Nov-19-2021, 08:27 PM - Forum: General Coding Help - Replies (1)

Hi all,

I'm writing a pretty rudimentary code that essentially plays chess with itself. Dictionaries are the data types used to contain all of the ..... More


Attached Files

.txt   ChessBoard.txt (Size: 566 bytes / Downloads: 317)
.py   ChessUDF.py (Size: 7.75 KB / Downloads: 323)
.py   Robots Play Chess 1.2.py (Size: 2.07 KB / Downloads: 325)
Print this item

  Flask basics... url
Posted by: ifigazsi - Nov-19-2021, 05:40 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi!
When I render the movie.html page, is it possible to change the url as well?

Thank you!

[python]
from flask import Flask, render_template,..... More


Attached Files

.html   movie.html (Size: 336 bytes / Downloads: 393)
Print this item

  Sudden Problem with pexpect
Posted by: gw1500se - Nov-19-2021, 03:49 PM - Forum: General Coding Help - Replies (3)

I have a script the uses pexpect that has been working for years (common story, right?) that suddenly is failing. When I run the command manually I fi..... More

Print this item

  Sum the values in a pandas pivot table specific columns
Posted by: klllmmm - Nov-19-2021, 03:04 PM - Forum: General Coding Help - Replies (1)

I have created a pivot table with multiple index as follows:
[python]
df1 = pd.DataFrame(data = {'Customer':['Tom Ford','Susan Mock','Tom Ford','Tom..... More

Print this item

  UI modules: which is most suitable for macOS app design?
Posted by: Anon_Brown - Nov-19-2021, 01:42 PM - Forum: GUI - Replies (1)

Hi all,
I've been developing a music player app for macOS. I initially used the Tkinter module to implement its GUI. However, I noticed its visual de..... More

Print this item

  How to access parent object attribute
Posted by: Pavel_47 - Nov-19-2021, 09:45 AM - Forum: General Coding Help - Replies (2)

Hello,
There are class A and class B.
Class B is inherited from A:

class B(A):
How to access attribut..... More

Print this item

Exclamation Debian 10 Buster Environment - Python 3.x (MariaDB 10.4.21) | Working Connector?
Posted by: BrandonKastning - Nov-19-2021, 06:49 AM - Forum: Web Scraping & Web Development - Replies (9)

Hello again everyone! Admins, Mods (Thank you again for the prior threads, btw).

I am now up against parsing a huge amount of Data and the only wa..... More

Print this item

  Split string
Posted by: knob - Nov-19-2021, 03:15 AM - Forum: General Coding Help - Replies (2)

Hello ! I'm looking for a way to approach the result below.
Basically it consist in move the number at the end of each line (including the K) from t..... More

Print this item

  module detecting if imported vs not
Posted by: Skaperen - Nov-19-2021, 02:30 AM - Forum: General Coding Help - Replies (1)

how can a module detect if it is being imported, possibly by a command script, as opposed to being run directly?

Print this item

  a tree command using Shell Script that displays all the directories recursively
Posted by: apollo - Nov-18-2021, 09:05 PM - Forum: Bar - Replies (1)

Good day dear Python-experts, hello everyone


hope that youre all right and all goes well at your side.

i want to simulate a tree command usi..... More

Print this item

  Access instance of a class
Posted by: Pavel_47 - Nov-18-2021, 03:28 PM - Forum: General Coding Help - Replies (5)

Hello,

In my project there is a lot of different classes, created in different .py files.
To implement some feature I need to dynamically change a..... More

Print this item

  Capture json data
Posted by: JohnnyCoffee - Nov-18-2021, 03:19 PM - Forum: General Coding Help - No Replies

I'm sending form data using JavaScript through Ajax in Json format to the python script ( wsgiref ), so it can capture this data and return the respon..... More

Print this item

  access share attributed among several class methods
Posted by: drSlump - Nov-18-2021, 03:02 PM - Forum: General Coding Help - No Replies

I have developed a GUI using tkinter with python 3.9. It works but I am facing the following problem. When I activate/deactivate one of the defined ch..... More


Attached Files

Thumbnail(s)
   
Print this item

  Why can't I display these dataframes?
Posted by: brady951 - Nov-18-2021, 02:24 PM - Forum: Data Science - No Replies

I'm trying to take an average reading of radio scans I took at different locations. As I understand it I should have created a list of 5 dataframes. I..... More

Print this item

  PySimpleGUI Try Except
Posted by: jamesaarr - Nov-18-2021, 01:37 PM - Forum: GUI - Replies (1)

Hi all,

I'm trying to get my program to try to make a layout with an sg.Image element, however the file path is a variable so it can update the ima..... More

Print this item

  oij
Posted by: allampro16 - Nov-18-2021, 01:27 PM - Forum: Web Scraping & Web Development - No Replies

jedjed

Print this item

  Enum help
Posted by: SephMon - Nov-18-2021, 12:13 PM - Forum: General Coding Help - Replies (3)

How can I pass an Enum into a constructor of a class? so the children classes can use it as well
[python]
class Employee(ABC5):


employ..... More

Print this item

  Cool game made with pygame
Posted by: Milosz - Nov-18-2021, 10:27 AM - Forum: Code Review - Replies (3)

Hello,
I've finished my game which gonna be in my python programmer portfolio. I did my best but it's my first project and I'm not sure if it's well ..... More

Print this item

  Not listen for multi clicks
Posted by: dipbox - Nov-18-2021, 09:28 AM - Forum: GUI - Replies (2)

Hi, I have Kivy app that sometimes making some heavy stuff.
It makes the user to sometimes click/touch two/three times, but I wish to ignore this cli..... More

Print this item

  Issue with program not passing to other elif condition
Posted by: Abdirahman - Nov-18-2021, 09:27 AM - Forum: General Coding Help - Replies (6)

Hello

I am new to this forum and programming in general.

I am trying to create BMI calculator. the issue is that no matter what I do the progra..... More

Print this item

  What should i do, for this code to work -> description
Posted by: hamad - Nov-18-2021, 09:04 AM - Forum: General Coding Help - Replies (2)

What needs to be fixed? so that the part after else works the same way as the part before it, i.e. a question is asked and an answer is given...... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Struggles I Faced While E... 3 hours ago baffa_dbt padma121 Code Review
  Willing to pay for help w... 3 hours ago braillescribe noisefloor General Codin...
  Create dataframe from the... 5 hours ago Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 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...
Most views
  The best Prog... 580400
  Tutorial Requ... 519385
  Web Scraping ... 442776
  Newbie with P... 386976
  New Users Int... 386434
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
braillescribe Yesterday
aurelio12282025 Yesterday
bejaminmaarleyo1374 Yesterday
taylorlitleoz476 Yesterday
desy845 Yesterday

User Panel Messages

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