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,936
» Latest member: MihaiPope
» Forum threads: 38,723
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 65 online users.
» 0 Member(s) | 55 Guest(s)
Apple, AOL, Google, Facebook Dev, AOL

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
41 minutes ago
» Replies: 2
» Views: 170
FAST,SECURE AND RELIABLE ...
Forum: Game Development
Last Post: MihaiPope
1 hour ago
» Replies: 0
» Views: 56
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
1 hour ago
» Replies: 10
» Views: 3,623
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
8 hours ago
» Replies: 1
» Views: 3,302
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
9 hours ago
» Replies: 4
» Views: 582
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,024
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 936
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,167
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,192
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,282

 
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: 344)
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

  Sorting list from FTP by Date
Posted by: lastyle - Oct-28-2021, 09:03 PM - Forum: Data Science - Replies (2)

Hi all,

i am parsing a ftp f.retrlines('MLSD', ls.append) which creates me a list that contains Fileinfo like the following

#type=file;size=..... More

Print this item

  OCR in python to this image
Posted by: guy7200 - Oct-28-2021, 08:10 PM - Forum: General Coding Help - No Replies

i try to do OCR in python to this image (the number inside can change)
i try everything
tesseract
EasyOCR
but every method doing a lot of mistake[..... More


Attached Files

Thumbnail(s)
   
Print this item

Question email code works in 2.7 but not in 3
Posted by: micksulley - Oct-28-2021, 03:59 PM - Forum: General Coding Help - Replies (3)

Running Python 3.8.10 and 2.7.18 under Mint 20.2
I am trying to generate an email on my IONOS 1 & 1 domain using this code
[python]import smtplib
M..... More

Print this item

Photo Moving 2 photos from each subfolder to another folder
Posted by: Blacklonewolf - Oct-28-2021, 02:02 PM - Forum: General Coding Help - Replies (1)

Hello
Let me start by saying that I'm beginner in Python, so I'm hoping for ready/big help
I have a problem with the following code, which I need to..... More

Print this item

  cut string after tow known chars?
Posted by: korenron - Oct-28-2021, 10:00 AM - Forum: General Coding Help - Replies (3)

Hello ,
wanted to know if there is a smart way to do the following:

this is my string
String1 = "data1!data2!data3!data4!data5.......!datax"
..... More

Print this item

  Error when using Watchdog and Qt to keep open a Queue before and after sending first
Posted by: pyhill00 - Oct-28-2021, 09:10 AM - Forum: General Coding Help - No Replies

Watchdog is being used to send new .hdf5 files to a different program for use. The problem is that using Queue only allows one file to be sent and..... More

Print this item

  Sudoku Solver, please help to solve a problem.
Posted by: AdithyaR - Oct-28-2021, 06:41 AM - Forum: General Coding Help - Replies (5)

Guys, I am trying to make a sudoku solver program which solves sudokus. I am inputting each cell values in the program itself inside a dictionary. The..... More

Print this item

  Plotting Help Needed
Posted by: test_majestic - Oct-28-2021, 12:44 AM - Forum: General Coding Help - No Replies

Hey everyone, so I'm generating nxn matrices where n ranges from 1 to 100 and I have made it such that the matrix is symmetric. I'm computing the aver..... More

Print this item

  Fast way of inspecting web pages for paywalls
Posted by: aadriyu - Oct-27-2021, 08:14 PM - Forum: Web Scraping & Web Development - No Replies

It might seem a silly question but I am new to programming.
I have a long list of urls and I need to see whether the articles on those webpages are f..... More

Print this item

  What's wrong with these codes?
Posted by: bouraque7878 - Oct-27-2021, 07:23 PM - Forum: General Coding Help - Replies (4)

It doesn't work. What's wrong? [python]
list1 = [1, 1]
i = 2
while True:
terim = list1[i - 1] + list1[i - 2]
list1.append(terim)
ter..... More

Print this item

  MAC Python IDLE issue
Posted by: shadow12 - Oct-27-2021, 05:09 PM - Forum: General Coding Help - Replies (4)

Hello, whenever I have IDLE open, I can right click a python script in finder and open with IDLE. However, when IDLE is not already open, I get an err..... More

Print this item

  issue displaying summary of whole keras CNN model on TensorFlow with python
Posted by: Afrodizzyjack - Oct-27-2021, 04:07 PM - Forum: Data Science - No Replies

I have been trying to view the filters and features maps of a trained image classification system, using the 'mobilenet v2' model with 'imagenet' weig..... More

Print this item

  How to map two data frames based on multiple condition
Posted by: SriRajesh - Oct-27-2021, 02:43 PM - Forum: General Coding Help - No Replies

Hi,
I want to map df1 and grep the value from df2 if df1 column1(i.e ID1) value is between df2 column1(ID1) and column2(ID2). I sue below code, but I..... More

Print this item

  Coordinate conversion
Posted by: erdemath - Oct-27-2021, 01:28 PM - Forum: Data Science - Replies (8)

How would you define a proper Fourier domain in python? By converting cartesian (x,y) coordinates into polar coordinates (r,\phi)?

Print this item

  Process multiple pdf files
Posted by: Spartan314 - Oct-27-2021, 01:26 PM - Forum: General Coding Help - Replies (1)

I'd love for somebody in the know to point me in the right direction on something.

From a list of file names in an Excel workbook I want my Python ..... More

Print this item

  Sending Attachments via smtplib [SOLVED]
Posted by: AlphaInc - Oct-27-2021, 12:37 PM - Forum: General Coding Help - Replies (3)

Hello everybody,

I have an E-Mail script written in python which sends notifications to my personal mail account.
Now I want to extend on that by ..... More

Print this item

  .....
Posted by: Rafa - Oct-27-2021, 10:44 AM - Forum: General Coding Help - No Replies

.....

Print this item

  Exporting dataframes to excel without loosing datetime format
Posted by: Rafa - Oct-27-2021, 10:42 AM - Forum: General Coding Help - No Replies

I want to export to excel a DataFrame in which the index is formated in quarters (2019-Q1,2019-Q2...). However, when I export it to excel (through Exc..... More

Print this item

  Stuck in functional proggaming haze
Posted by: hammer - Oct-27-2021, 01:20 AM - Forum: General Coding Help - Replies (2)

New to actually programing in OOP. Looking for experienced guidance on making a decision on best practice on taking info from SQLite3, using info (tex..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 41 minutes ago arbiel arbiel General Codin...
  FAST,SECURE AND RELIABLE ... 1 hour ago MihaiPope MihaiPope Game Developm...
  403 Error 1 hour ago CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... 8 hours ago iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 9 hours ago Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  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
Most views
  The best Prog... 576216
  Tutorial Requ... 497849
  Web Scraping ... 440157
  Newbie with P... 383996
  New Users Int... 366655
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+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
MihaiPope Today
Baran12332 Today
Hershien Today
Diyaseating Today
marineoman Today

User Panel Messages

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