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,471
» Latest member: iloveimg3
» Forum threads: 38,578
» Forum posts: 174,808

Full Statistics

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

Latest Threads
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 201
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 152
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
May-15-2025, 07:38 AM
» Replies: 4
» Views: 1,333
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
May-15-2025, 12:25 AM
» Replies: 0
» Views: 115
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
May-14-2025, 05:21 PM
» Replies: 5
» Views: 401
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-14-2025, 04:02 PM
» Replies: 16
» Views: 1,207
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
May-14-2025, 09:04 AM
» Replies: 1
» Views: 371
Pip help
Forum: General Coding Help
Last Post: Larz60+
May-14-2025, 05:57 AM
» Replies: 4
» Views: 448
Paste text with caret alr...
Forum: General Coding Help
Last Post: armorerratic
May-14-2025, 01:12 AM
» Replies: 2
» Views: 1,004
Library Management System
Forum: Homework
Last Post: deanhystad
May-13-2025, 01:56 AM
» Replies: 1
» Views: 265

 
  Code for pullng all data in a column
Posted by: EmBeck87 - Mar-31-2023, 09:19 PM - Forum: General Coding Help - Replies (5)

Hi all, could someone suggest some code for pulling all the data from one column in a dataframe that was pulled in? I have tried a couple different co..... More

Print this item

  Why is the program not running? Is there a logical or syntax problem?
Posted by: behi00 - Mar-31-2023, 08:43 PM - Forum: GUI - Replies (10)

Hello, I am an amateur programmer.
I wanted to know if my codes are correct?
And why is it not implemented?
Meanwhile, I wrote this program in t..... More

Print this item

  How should I run pip-date in python3?
Posted by: newbieAuggie2019 - Mar-31-2023, 08:49 AM - Forum: General Coding Help - Replies (5)

Hello once again!

I keep trying to see the date of the installation of my modules in python3.

I installed for that task even one more module ca..... More

Print this item

  How to see the date of installation of python modules.
Posted by: newbieAuggie2019 - Mar-31-2023, 08:27 AM - Forum: General Coding Help - Replies (4)

Hi again!

As my knowledge is still very very limited, I learn mostly by imitating code and then later on, I expand it or manipulate it, till I get ..... More

Print this item

  Getting names from object dot-syntax acess
Posted by: pedropessoa - Mar-30-2023, 06:51 PM - Forum: General Coding Help - Replies (2)

Hello,
I'm trying to create a object which can use the names provided by python-dot-syntax.
I would use these names as a path to lookup for data in ..... More

Print this item

Question If, elif, and else statement not working
Posted by: PickleScripts - Mar-30-2023, 02:34 PM - Forum: General Coding Help - Replies (3)

#Whenever I put something in for the input it always says "That's Good!"
[python]
import time
user_action = "user"

print ("wassup")
time.sleep ..... More

Print this item

  Comparing PDFs
Posted by: CaseCRS - Mar-30-2023, 12:27 PM - Forum: General Coding Help - Replies (5)

Hi there,
I want to start off by saying I have 0 experience with coding and am more asking for to see if this would be possible.

I want to creat..... More

Print this item

  Converted EXE file size is too large
Posted by: Rajasekaran - Mar-30-2023, 11:50 AM - Forum: General Coding Help - No Replies

I have converted the python script to exe format using the below command, but the exe file size is too large. So when executing the exe file, it is ta..... More

Print this item

Lightbulb Display moving pictures on E-ink screen
Posted by: Fandrew - Mar-30-2023, 12:07 AM - Forum: Homework - Replies (1)

I work on a project in university and I'm relatively beginnner in python for this part of the project, but I really want to help. We using a program t..... More

Print this item

  Why isn't printing?
Posted by: SpookyStuff - Mar-29-2023, 06:39 PM - Forum: General Coding Help - Replies (2)

[align=right]
[python]

class Dog:
def __init__(self, breed, age, color, is_mixed):
self.breed = breed
self.age = age
..... More

Print this item

Video doing data treatment on a file import-parsing a variable
Posted by: EmBeck87 - Mar-29-2023, 04:35 PM - Forum: General Coding Help - Replies (15)

Hello, I need some code to parse a variable name, so that merging it's data with another source later will occur correctly. I'm a beginner and am not ..... More

Print this item

  Phyton Opening files on windows C: pc
Posted by: EddieG - Mar-29-2023, 11:43 AM - Forum: General Coding Help - Replies (3)

Hello,
A newbie here. I am into my lesson opening files on Python. The lesson is to copy a poem on the text editor (note++) . I saved the poem on my ..... More

Print this item

Heart Just some words of appreciation.
Posted by: Carmazum - Mar-29-2023, 02:17 AM - Forum: Board - Replies (2)

[align=justify]Greetings, Python community! python
Hope you are well. Smile

I just wanted to comment that I love the forum. It is very..... More

Print this item

  list the files using query in python
Posted by: arjunaram - Mar-28-2023, 02:05 PM - Forum: General Coding Help - No Replies

Can you let me know how to list the files using the query output in python.

[output]Input Files In Unix
Directory : /DDD_Ext/input/

DDD_SL_NE_W..... More

Print this item

  Pandas problems
Posted by: WiPi - Mar-28-2023, 01:16 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi Guys,
I have been using pandas for a while now to extract tables from the web. I used this simple bit of code here and ran into all sorts of probl..... More


Attached Files

Thumbnail(s)
   
Print this item

  search in dict inside tuple
Posted by: steg - Mar-28-2023, 11:33 AM - Forum: General Coding Help - Replies (1)

In the following functions, i want to search, for example, the string 'BAB' in hmm. The code cannot find it and i could not fix it. Thanks for your he..... More

Print this item

  PyQt5 drawing on scrollable area
Posted by: HeinKurz - Mar-28-2023, 10:46 AM - Forum: GUI - Replies (3)

Some things are not so easy to understand for me as PyQt5 newbie. Huh
I have a QTabWidget with 3 Tabs. On Tab2 I have a scrollable area and no..... More

Print this item

  [split] Parse Nested JSON String in Python
Posted by: mmm07 - Mar-28-2023, 10:37 AM - Forum: General Coding Help - Replies (4)

Hi! just saw this post and I think** it will help me with the same issue.. any chance you could help me? Thanks in advance!!

my amended..code..

..... More

Print this item

Question Doubt about conditionals in Python.
Posted by: Carmazum - Mar-28-2023, 08:00 AM - Forum: General Coding Help - Replies (6)

[align=justify]Greetings, Python community! python
I hope you are doing well. Smile

I recently started re-learning Python (I love it t..... More

Print this item

  Code freez if more inputs
Posted by: kiko058 - Mar-28-2023, 04:44 AM - Forum: General Coding Help - Replies (2)

Hello I found this code. The code should calculate how to divide given lengths into pieces with the smallest possible waste, based on the specified le..... More

Print this item

  Partial KEY search in dict
Posted by: klatlap - Mar-28-2023, 04:18 AM - Forum: General Coding Help - Replies (6)

Hi all, i am trying to do a partial search in a dict, everything i have tried needs the exact search term that will find the value if it contains the ..... More

Print this item

  How can I change with Python the underline colour in a PDF? [SOLVED]
Posted by: newbieAuggie2019 - Mar-28-2023, 02:20 AM - Forum: Bar - Replies (3)

Hello again, everybody!

I try to keep working on my better understanding and use of Python, at least, as much as my little free time allows me...
..... More

Print this item

  which exception should be raised if ...
Posted by: Skaperen - Mar-27-2023, 05:17 PM - Forum: News and Discussions - Replies (5)

which exception should be raised if a process being run produces output to a pipe normally connected to read its stdout and/or stderr wh..... More

Print this item

  Pandas question
Posted by: DPaul - Mar-27-2023, 03:32 PM - Forum: General Coding Help - Replies (3)

Hi,
I now have been handed a bunch of legacy excel files.
The author had the good idea to put two header rows, but both have column names i want.
S..... More

Print this item

  PysimpleGUI window update dynamically
Posted by: SamLiu - Mar-27-2023, 01:59 PM - Forum: GUI - Replies (6)

Hi all,
I made a tool checking IQR value in CSV, but I feel so stupid with my code, such as loading text control, and update value.
Can someone help..... More

Print this item

  Read csv file with inconsistent delimiter
Posted by: gracenz - Mar-27-2023, 12:07 PM - Forum: General Coding Help - Replies (2)

Hi everyone.

Can I seek your help on properly reading this csv file with incomplete data (e.g. row 14 to 23) and different delimiters?
row 23 has ..... More


Attached Files

.csv   testing.csv (Size: 5.94 KB / Downloads: 282)
Print this item

  PyQt5 QTableView SQLite : edit cell
Posted by: HeinKurz - Mar-27-2023, 09:45 AM - Forum: GUI - Replies (2)

Hi!
I'm newbie with PyQt5 and now I have an app for Windows with PyQt5 and a SQLite database. Showing the data in QTableView works fine, even with ce..... More

Print this item

  Compiles Python code with no error but giving out no output - what's wrong with it?
Posted by: pythonflea - Mar-27-2023, 04:02 AM - Forum: General Coding Help - Replies (6)

Am running Python 3.8.10 in a 32-bit Windows 7 computer with only 2GB memory and no video card (not even an NVIDIA) - it's a two decade old netbook........ More


Attached Files

Thumbnail(s)
   
Print this item

Question How to compare two parameters in a function that has *args?
Posted by: Milan - Mar-26-2023, 05:03 PM - Forum: General Coding Help - Replies (4)

Hello team,

I have the following function

[python]import string
import random

def check_input(*args):
length = args[0]
while lengt..... More

Print this item

  A simple python doubt
Posted by: mohamedrabeek - Mar-26-2023, 03:23 PM - Forum: General Coding Help - Replies (2)

In the following function,
[python]
def fibonaci():
first = 0
last = 1
while True:
first, last = last, first + last
..... More

Print this item

  error python audio
Posted by: codiac - Mar-26-2023, 10:01 AM - Forum: General Coding Help - Replies (3)

this is my code:
[python]import os
import pyaudio
import openai
import soundfile as sf
import numpy as np
import base64
from pydub import Audio..... More


Attached Files

.py   ai hog inc.py (Size: 2.49 KB / Downloads: 223)
Print this item

  find out ore python is good for me ?
Posted by: trix - Mar-26-2023, 09:07 AM - Forum: News and Discussions - Replies (2)

hello,

i am busy whit a big project. that i programmed in C. it is working for 70 % now.
first i used a 8-bit AVR but i stopped whit th..... More

Print this item

  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 16: invalid cont
Posted by: Melcu54 - Mar-26-2023, 07:41 AM - Forum: General Coding Help - Replies (3)

Hello. I have a lots of ANSI docx files. I made this Python code, and I got an error of codec:

[python]import re
import os
from pathlib import Pa..... More

Print this item

  Drawing a net of a cube
Posted by: freethrownucleus - Mar-25-2023, 02:14 PM - Forum: Game Development - Replies (27)

I need to draw a net of a cube. Each of squares of a cube will present a tic-tac-toe board.
I tried this but I can do nothing with it (making anything..... More

Print this item

  havent programmed in years - confused by why RETURN is not returning
Posted by: stmoose - Mar-25-2023, 05:35 AM - Forum: General Coding Help - Replies (5)

haven't programmed in years
thought i would try python, wrote a script that was failing
shorten the code to just the section that I think is giving ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
  tracking version during r... 05-15, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... 05-14, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... 05-14, 09:04 breacsealgaire BarbaraGonzalez Code sharing
  Pip help 05-14, 05:57 meditek Larz60+ General Codin...
  Paste text with caret alr... 05-14, 01:12 Wehaveall armorerratic General Codin...
  Library Management System 05-13, 01:56 annajoy deanhystad Homework
  smbus.SMBus i2c code whic... 05-12, 15:51 NewbyTyro NewbyTyro General Codin...
Most views
  The best Prog... 564737
  Tutorial Requ... 453981
  Web Scraping ... 429713
  Newbie with P... 365236
  Thread remain... 337607
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
iloveimg3 Today
ishaD Today
fitobar43 Today
AymanNassar Yesterday
Shailesh 05-15

User Panel Messages

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