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,934
» Latest member: winchestersam
» Forum threads: 38,722
» Forum posts: 175,504

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 31 Guest(s)
Bing, AOL, Google, AOL

Latest Threads
Recovery of my lost solan...
Forum: General Coding Help
Last Post: winchestersam
1 hour ago
» Replies: 0
» Views: 5
LOST OF INVESTMENT SCAM
Forum: News and Discussions
Last Post: goodvicent
1 hour ago
» Replies: 0
» Views: 4
Too much space between gr...
Forum: GUI
Last Post: deanhystad
4 hours ago
» Replies: 3
» Views: 908
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 358
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-15-2025, 08:58 PM
» Replies: 8
» Views: 2,498
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,543
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 425
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 133
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 2,926
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,180

 
  Is there a more elegant way to concatenate data frames?
Posted by: db042190 - Jun-12-2023, 09:49 PM - Forum: General Coding Help - Replies (3)

Hi, I'm picturing a script that will include in a loop everything after the setting of "today" and before the "print" prototyped in the code below. T..... More

Print this item

  Using ID3 Estimator for Decision Trees
Posted by: student6306 - Jun-12-2023, 05:43 PM - Forum: Homework - Replies (2)

I got stuck on d and onwards some help would be very much appreciated :)))

[python]
%%capture --no-display
# hack omwille van bug in Id3Estimator..... More


Attached Files

Thumbnail(s)
               

.csv   studentsScores.csv (Size: 3.07 KB / Downloads: 273)
Print this item

  Syntaxt error part 2
Posted by: GoldenHarvey - Jun-12-2023, 05:41 PM - Forum: Game Development - Replies (2)

Hello, I have followed the steps laid out and I want to thank you for bringing me closer to a solution in writing the game code Idel.

However even ..... More


Attached Files

Thumbnail(s)
   
Print this item

  why is yfinance returning an ellipsis in the middle of ticket history
Posted by: db042190 - Jun-12-2023, 03:23 PM - Forum: General Coding Help - Replies (3)

Hi , I tried my hand at a little loop in Python. I'm staying away from doing some of this redirecting in a shell language because ultimately i want t..... More


Attached Files

Thumbnail(s)
       
Print this item

  why does VS want to install seemingly unrelated products?
Posted by: db042190 - Jun-12-2023, 01:26 PM - Forum: General Coding Help - Replies (3)

Hi, I thought if I was going to get more involved with Python, that developing scripts would be more effective under my already installed VS 2022 than..... More


Attached Files

Thumbnail(s)
   
Print this item

Question Need help for a python script to extract information from a list of files
Posted by: lephunghien - Jun-12-2023, 02:17 AM - Forum: General Coding Help - Replies (6)

I am new to Python and need help to make a script for the task. I am running a modified Autodock program and need to compile the results.

I have a ..... More

Print this item

  Interactive plots that can be embed in web page
Posted by: mouse9095 - Jun-12-2023, 01:03 AM - Forum: General Coding Help - Replies (1)

Hello,

I am curious if there is a way that I can make a Python plot with a parameter that is linked to an equation, and that parameter can be chan..... More

Print this item

  tkinter.TclError
Posted by: foxxrunning - Jun-11-2023, 10:23 PM - Forum: General Coding Help - Replies (10)

I have been trying to learn python and are using some lessons with small coding exercises. Lately I have gotten this error no matter which program I ..... More

Print this item

  queue for async function python telegram.ext
Posted by: noctious - Jun-11-2023, 02:40 PM - Forum: General Coding Help - No Replies

Hi, I have a telegram bot code in which you enter a number, and it counts down from that number to zero.

I need to create a queue to execute the coun..... More

Print this item

  Plot multiple 2D Curves in 3D
Posted by: stc - Jun-11-2023, 10:16 AM - Forum: General Coding Help - Replies (5)

Hello,

i want to plot 3 different 2D curves in a 3D coordinate system, so lets say 3 simple sine functions. One in x and y direction, one in x and ..... More

Print this item

  Google API Help?
Posted by: DavyThe007 - Jun-11-2023, 12:21 AM - Forum: General Coding Help - No Replies

Hi All

I'm fairly new to coding and have been relying heavily on ChatGPT, we get roughly 8 hours in after fleshing everything out, adding features,..... More

Print this item

Photo can't install yfinance
Posted by: db042190 - Jun-11-2023, 12:08 AM - Forum: General Coding Help - Replies (4)

Hi , I'm trying to get involved with a product that uses python. I tried everything imaginable as shown below in the command prompt images after down..... More


Attached Files

Thumbnail(s)
       
Print this item

Sad IMC Calculator but with a list of patients
Posted by: Booba - Jun-10-2023, 06:36 PM - Forum: Homework - Replies (1)

I created a BMI and MB calculator and everything is working fine! But now, I would like to apply this calculator to a list a patient and show result f..... More

Print this item

Question some logic help
Posted by: droidus - Jun-10-2023, 05:34 PM - Forum: General Coding Help - Replies (5)

I have a UPS, and once in a while, the driver crashes for some unknown reason. It needs to be (re)started using this command: upsdrvctl start. I've ..... More

Print this item

  Fixed colum width for rowLabels i Matplotlib
Posted by: pandabay - Jun-10-2023, 03:40 PM - Forum: General Coding Help - No Replies

Is there a way to set a min-width or in general width value to the row label cells (r1, r2) in the following code?

[python]import numpy as np
impo..... More

Print this item

  I am trying to scrape data to broadcast it on Telegram
Posted by: BarryBoos - Jun-10-2023, 06:34 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi all, I am one day old in Python development. I am using AI which already got me much further than I have ever expected to get. I got the bot to wor..... More

Print this item

  boto3 - Error - TypeError: string indices must be integers
Posted by: kpatil - Jun-09-2023, 05:07 PM - Forum: General Coding Help - Replies (7)

Hello,

Can someone help me how to fix the error i am getting here . Thanks

error is
Traceback (most recent call last):
File "/root/temp0/server",..... More

Print this item

  HOW TO USE C# GENERATED DLL
Posted by: davide_vergnani - Jun-09-2023, 12:52 PM - Forum: General Coding Help - Replies (2)

Hi,
I developed a C# CLI application with my own functionality , and I have created a .dll with several class to implements the comunications beetwee..... More

Print this item

  Add multiple vertical rectangles to a chart in plotly?
Posted by: devansing - Jun-08-2023, 10:58 PM - Forum: Data Science - Replies (2)

I'm struggling to figure out how to create multiple vertical rectangles that span entire plots using plotly.

I'm assuming this is possible using ad..... More


Attached Files

.csv   sample_data.csv (Size: 1.69 KB / Downloads: 2)
Print this item

Question Cannot import easysnmp: ImportError: libnetsnmp.so.30
Posted by: Calab - Jun-08-2023, 08:18 PM - Forum: General Coding Help - Replies (4)

I'm trying to use easysnmp in a virtual environment, but get an error when I import it:

[output](venv) snorton@app7 /fastapi/sv $ python3
Python 3..... More

Print this item

  Comparing List values to get indexes
Posted by: Edward_ - Jun-08-2023, 03:11 PM - Forum: General Coding Help - Replies (7)

I'm trying to compare a short temporary list of values to a master list, to obtain the index number (of short list items) and set two variable values ..... More

Print this item

  Python won 't do decimals
Posted by: SomebodySmart - Jun-08-2023, 10:30 AM - Forum: General Coding Help - Replies (5)

It took me a lot of tries before I was able to figure out the problem, and I was stunned. When building my genealogy website, I display 100 entries pe..... More

Print this item

  Pywinauto typing in the wrong field
Posted by: EGameiro - Jun-07-2023, 10:00 PM - Forum: General Coding Help - No Replies

I'd appreciate any comments on this issue.

I'm using PywinAuto to automate a DeskTop application. And I'm executing this command to fill out a fiel..... More

Print this item

  Save image from outlook email
Posted by: cubangt - Jun-07-2023, 06:43 PM - Forum: General Coding Help - Replies (1)

So i have the following code that works great, updates my excel file and saves the file as expected.. BUT because we are merely updating the one excel..... More

Print this item

  Langchain
Posted by: standenman - Jun-07-2023, 06:02 PM - Forum: Data Science - Replies (2)

I am trying to use langchain to query a pdf document with chatgpt. [python]import os
import openai
from langchain.document_loaders import PyPDFLoad..... More

Print this item

  xml indent SubElements (wrapping) with multiple strings
Posted by: ctrldan - Jun-07-2023, 02:09 PM - Forum: General Coding Help - Replies (2)

(I updated the code with comments)
Hi everyone, I am creating an xml file with python using xml.etree.ElementTree. In input I have a docx, where the..... More


Attached Files

.py   xml3.py (Size: 5.05 KB / Downloads: 242)
.docx   TEST.docx (Size: 13.12 KB / Downloads: 231)
.py   xml3_commented.py (Size: 7.6 KB / Downloads: 217)
Print this item

  Calling a function (which accesses a library) from another file
Posted by: mouse9095 - Jun-07-2023, 04:04 AM - Forum: General Coding Help - Replies (4)

Hello,

I am a new Python user and am trying to create some functions I can use for my own convenience. For now, I am trying to keep these in a sep..... More

Print this item

  Scrape table from multiple pages
Posted by: Nhattanktnn - Jun-07-2023, 12:51 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi,
Please help me scrape table from multiple pages in this url: https://s.cafef.vn/lich-su-kien.chn
Many thanks!

Print this item

  Automate Word snippets
Posted by: PHbench - Jun-06-2023, 06:59 PM - Forum: General Coding Help - No Replies

I want to use MS Word to write paragraphs/snippets/parts and store them with all the word formatting. I later would want to merge them into one Word d..... More

Print this item

  Pygame in 90 Minutes - For Beginners syntax issues
Posted by: GoldenHarvey - Jun-06-2023, 06:21 PM - Forum: Game Development - Replies (6)

I am watching and copying the methods of how to make a game on Pygame via the video "Pygame in 90 Minutes - For Beginners" by Tech with Tim.

I wro..... More

Print this item

  How i can use categories with folder?
Posted by: AnonymerAlias - Jun-06-2023, 03:17 PM - Forum: General Coding Help - Replies (2)

Hello,

I want to know how can I import a subfolder?

I have tried with:
from test.test2 import file

but this isn't works.

Best regards

Print this item

  [SOLVED] Why is this asyncio task blocking?
Posted by: SecureCoop - Jun-06-2023, 02:21 PM - Forum: General Coding Help - Replies (1)

This is my first time working with asyncio and I can't understand why this task is blocking. Everything is awaited that should be awaited. Please help..... More

Print this item

  Help with pyinstaller "No module named"
Posted by: korenron - Jun-06-2023, 12:35 PM - Forum: General Coding Help - Replies (9)

Hello,
I'm trying to create a EXE file from my (Working) python code.

When I try to run the exe file I get the error:
[python]Traceback (most re..... More

Print this item

  pyarrow error when importing pandas
Posted by: sravva - Jun-06-2023, 11:20 AM - Forum: General Coding Help - Replies (1)

I am trying to import pandas but I keep getting an error relating to pyarrow. It worked fine before, but started giving me the error once I installed/..... More


Attached Files

Thumbnail(s)
   
Print this item

  Set permnission with makedirs
Posted by: SpongeB0B - Jun-06-2023, 11:17 AM - Forum: General Coding Help - Replies (7)

Hi everyone,

I would like to set the permission when using

from os import makedirs
I would like to have (for a directory) ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Recovery of my lost solan... 1 hour ago winchestersam winchestersam General Codin...
  LOST OF INVESTMENT SCAM 1 hour ago goodvicent goodvicent News and Disc...
  [Tkinter] Too much space ... 4 hours ago RonR deanhystad GUI
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  403 Error 09-15, 20:58 CaptainNewb snippsat Web Scraping ...
  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
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 575833
  Tutorial Requ... 497145
  Web Scraping ... 439839
  Newbie with P... 383548
  New Users Int... 365515
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+ 12087
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
winchestersam Today
goodvicent Today
XenonBlack Yesterday
tobey12 Yesterday
Lenowell Yesterday

User Panel Messages

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