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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 55 online users.
» 1 Member(s) | 45 Guest(s)
Apple, Bing, Google, AOL, Facebook Dev, kshahzad1985

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
6 hours ago
» Replies: 1
» Views: 42
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
6 hours ago
» Replies: 11
» Views: 243
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
6 hours ago
» Replies: 3
» Views: 92
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
11 hours ago
» Replies: 5
» Views: 226
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 84
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,600
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 181
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 168
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,815
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,407

 
  Using .hdf5 files only once they are finished writing
Posted by: pyhill00 - Nov-02-2021, 09:42 PM - Forum: General Coding Help - Replies (7)

I am trying to use .hdf5 files once they are done writing (in my case, trying to emit them). But the problem is that I don't have a way to 1) test i..... More

Print this item

  Library or website for multiplayer games Flask/Python
Posted by: drimades - Nov-02-2021, 07:53 PM - Forum: Game Development - Replies (1)

I am working on a multiplayer game for Flask. Right now I’m using socket programming. Do you know of any websites or libraries or tutorial that can fa..... More

Print this item

  From list of bits to PDF
Posted by: drimades - Nov-02-2021, 07:51 PM - Forum: General Coding Help - Replies (1)

Hello!
I am working on a simple program that works for PDF files. So far I’ve been able to read the PDF into a list of bytes with the following code:..... More

Print this item

  About QTimer and QThread and some general question
Posted by: catlessness - Nov-02-2021, 03:21 PM - Forum: GUI - Replies (1)

1. if the interval of a QTimer is very small that not enough to let the slot function finish before timeout. What will happen? will QTimer wait for th..... More

Print this item

  Extracting Data from tables
Posted by: DataExtrator - Nov-02-2021, 12:24 PM - Forum: General Coding Help - No Replies

Hi

I have code which works to extract data from tables in a PDF. The code puts the data into columns and transfers to a CSV file. The code works b..... More


Attached Files

Thumbnail(s)
   
Print this item

  Populate Dropdown list from Database
Posted by: TommyAutomagically - Nov-02-2021, 12:18 PM - Forum: General Coding Help - Replies (4)

I'm just starting out with Python, which I think is amazing, but I've not really grasped it yet. So I'm probably doing it completely wrong but here go..... More

Print this item

  What is bug template using python
Posted by: Anldra12 - Nov-02-2021, 11:36 AM - Forum: General Coding Help - No Replies

In python what actual mean of bug template is, the bug is related library installation that is required for run codes from IDLE or Linux.
I am confu..... More

Print this item

  Dynamic list of choices
Posted by: Lentjes - Nov-02-2021, 07:43 AM - Forum: GUI - No Replies

My first Python project is an app which manages recipes using SQLite. While entering a new recipe, I would like to present a choice of ingredients fro..... More

Print this item

  Isometric Movement on Tiled Map
Posted by: Josselin - Nov-02-2021, 06:56 AM - Forum: Game Development - No Replies

Hello ! I would like to create a isometric game but how make isometric movement in Pygame on a map created with Tiled ?

I want to make a thing like..... More


Attached Files

Thumbnail(s)
   
Print this item

  Translation API
Posted by: snippyro - Nov-02-2021, 01:09 AM - Forum: General Coding Help - No Replies

Hello, I'm currently looking for a free translation API I can use with the requests module. Got any suggestions? Thanks!

Print this item

  Extracting Text
Posted by: standenman - Nov-01-2021, 08:22 PM - Forum: Data Science - Replies (5)

I am trying to create some functionality that will harvest text date from a text file. The text file is basically a series of questions and answers. ..... More

Print this item

Photo print output none
Posted by: 3lnyn0 - Nov-01-2021, 06:38 PM - Forum: General Coding Help - Replies (4)

Hi! I have an json (I will attach photo) and I want to extract from it a dictionary e.g. {name: [longitude, longitude]}
[python]
import json
..... More


Attached Files

Thumbnail(s)
   
Print this item

  Stream via socket with multiple clients
Posted by: principemestizo - Nov-01-2021, 06:25 PM - Forum: General Coding Help - No Replies

The code that I have already works. What I do is create two servers and two clients to open two different codes with different ports, because when I u..... More

Print this item

  Sqla wrapper
Posted by: Slojure - Nov-01-2021, 03:33 PM - Forum: General Coding Help - Replies (1)

Hy, i am wondering what is the difference between sqla wrapper and sqlalchemy in python? Why arent manny tutorials on sqla wrapper? I am starting to l..... More

Print this item

  TicTacToe Game Add Exception Handling and Warning Function
Posted by: ShaikhShaikh - Nov-01-2021, 03:22 PM - Forum: General Coding Help - Replies (5)

I built a TicTacToe game in Python, but I want to add exception handling in it And i also want to create a warning function which shows the position i..... More

Print this item

  An interactive image that allows a selection of a specific point
Posted by: Saksa - Nov-01-2021, 12:30 PM - Forum: GUI - Replies (3)

Hi all,

I am creating a program/script that displays an image of a product with several hundred screw positions. I have a separate list of the coor..... More


Attached Files

Thumbnail(s)
   
Print this item

  SQLALCHEMY - Not selecting data from table
Posted by: jamesaarr - Nov-01-2021, 11:39 AM - Forum: General Coding Help - Replies (4)

Hi all,

I thought it best to create a new thread instead of replying to the old one. Basically I'm querying a Postgresql server using SQLAlchemy. ..... More

Print this item

  SQLALCHEMY - Column doesn't exist
Posted by: jamesaarr - Nov-01-2021, 10:35 AM - Forum: General Coding Help - Replies (9)

Hi all,

Very simple issue - code in question is:

[python]
for data in engine.execute('select style_no from data where style_size_no_in = "' +m..... More

Print this item

  Extract a string between 2 words from a text file
Posted by: OscarBoots - Nov-01-2021, 06:29 AM - Forum: General Coding Help - Replies (2)

Hi Forum,

I have a very long Code script containing SAS Proc SQL. There's a lot of excess code that I don't need and I know that the individual scr..... More

Print this item

Information Parssing Json.dump from PYTHON to PHP for output on browser
Posted by: jodqueshiva - Nov-01-2021, 03:41 AM - Forum: Data Science - Replies (1)

[python]import warnings
warnings.filterwarnings('ignore')
import en_core_web_sm
nlp= en_core_web_sm.load()
import spacy
#nlp = spacy.load('en_co..... More


Attached Files

.json   OmkarResume_result.json (Size: 117 bytes / Downloads: 1)
.pdf   OmkarResume.pdf (Size: 52.19 KB / Downloads: 1)
Print this item

Photo how I write the output into xml file in python?
Posted by: 3lnyn0 - Oct-31-2021, 05:14 PM - Forum: General Coding Help - Replies (1)

I have an automatically generated j son, I load it in the file (it is a list of dictionaries) and then I convert it to xml but how do I move the outpu..... More


Attached Files

Thumbnail(s)
   
Print this item

  install.bat pymem not working?
Posted by: ChickenNugget - Oct-31-2021, 12:47 PM - Forum: General Coding Help - Replies (1)

Hi, I have CMD prompt on windows 10 running python 3.10. I'm trying to run the command "Install.bat pymem". Someone told me to do it to make something..... More

Print this item

  making variables in my columns and rows in python
Posted by: kronhamilton - Oct-31-2021, 03:28 AM - Forum: General Coding Help - Replies (2)

I've been searching the internet for the answer to my problem, but to no avail. I'm trying to put data into rows and columns, but I have variables and..... More

Print this item

  Class Method to Calculate Age Doesn't Work
Posted by: gdbengo - Oct-30-2021, 10:45 PM - Forum: General Coding Help - Replies (1)

Hello Everyone,

I'm new to Python programming, I need your help to fixing a code I'm working. It's a class that has a method that calculate a perso..... More

Print this item

  Beginner Coding Help
Posted by: calpro - Oct-30-2021, 01:29 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm brand new to Python and don't understand what I've done wrong here, could someone please enlighten me?
___________________________________..... More

Print this item

  Programming robots using Python
Posted by: OscarBoots - Oct-30-2021, 11:43 AM - Forum: General Coding Help - Replies (5)

Hi Forum,
I hope I'm in the right part of the forum to post my question, pls correct me if I'm wrong.

I'm learning Python and I want to buy a product..... More

Print this item

  How can i fix json.decoder.JSONDecodeError ?
Posted by: JgKSuperstar - Oct-30-2021, 11:04 AM - Forum: General Coding Help - Replies (9)

Hello, how do I solve this problem?

[python]import json

def write_json(new_date, filename='data.json'):
try:

with open(f..... More

Print this item

  mongodb beatles data scraping question
Posted by: darter - Oct-30-2021, 12:02 AM - Forum: Data Science - No Replies

As a hobbyist I wanted to scrape data and store it in mongodb and that has worked fine. My focus was to get data related to each Beatles song and so I..... More

Print this item

  Lost Module
Posted by: standenman - Oct-29-2021, 07:52 PM - Forum: General Coding Help - Replies (10)

I install a package via pip
"pip install pypdf2". I see it install. I then try to import it "import pydf2". It complains about "import" as an inva..... More

Print this item

  List comprehension:
Posted by: paul18fr - Oct-29-2021, 04:56 PM - Forum: Data Science - Replies (1)

Hi

I'm trying to figure out how a list comprehesion works from a "memory" point of view?

I mean that append corresponds to a dynamic allo..... More

Print this item

  Controller Buzzer as Distance Decreases
Posted by: barkster - Oct-29-2021, 01:25 PM - Forum: General Coding Help - Replies (6)

I have a raspberry pi and am trying to simulate something similar to backup sensors on a car. I have some ultrasonic sensors that turn on buzzer when ..... More

Print this item

  How to use pexpect in python?
Posted by: tiho_bg - Oct-29-2021, 01:19 PM - Forum: General Coding Help - Replies (1)

I would like to control a robot using pexpect. Here is my code:

[python]#!/usr/bin/env python

from pexpect import pxssh
import pexpect

s = p..... More

Print this item

  Find the highest value of a list
Posted by: Menthix - Oct-29-2021, 10:25 AM - Forum: General Coding Help - Replies (4)

Hello,
I'm trying to build a small program to find the highest value of a list. I tried this :

[python]def nb_max(L):
maxi = L[0]
for x ..... More

Print this item

  Python BeautifulSoup gives unusable text?
Posted by: dggo666 - Oct-29-2021, 05:12 AM - Forum: Web Scraping & Web Development - No Replies

Hello, everyone
I apologize for my english.
I have a Python script that extracts the complete text from a domain and every single subdomain. So then..... More


Attached Files

.py   webscraper.py (Size: 2.3 KB / Downloads: 350)
Print this item

  Tiny Linux Development Kit
Posted by: Larz60+ - Oct-29-2021, 03:21 AM - Forum: News and Discussions - No Replies

Seeedstudio Quantum Tiny Linux Development Kit – With SoM and Expansion Board

This is an interesting product for anyone who wants to develop a low ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 6 hours ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... 6 hours ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 6 hours ago racingsubby Larz60+ General Codin...
  Backward compatibility qu... 11 hours ago yutaozhou Gribouillis News and Disc...
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578792
  Tutorial Requ... 509691
  Web Scraping ... 441902
  Newbie with P... 385891
  New Users Int... 375815
Most reputation
buran 581
snippsat 510
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Kacper Today
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday

User Panel Messages

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