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,536
» Latest member: lilianaortegga
» Forum threads: 38,664
» Forum posts: 175,196

Full Statistics

Online Users
There are currently 23 online users.
» 1 Member(s) | 18 Guest(s)
Baidu, Bing, Yandex, Google, snippsat

Latest Threads
"iBolt Cyber Hacker Recov...
Forum: Bar
Last Post: lilianaortegga
3 hours ago
» Replies: 0
» Views: 17
HIRE DIGITAL FORENSIC EXP...
Forum: Bar
Last Post: Saragonzales
4 hours ago
» Replies: 0
» Views: 21
Custom Sorting List of Di...
Forum: Homework
Last Post: deanhystad
5 hours ago
» Replies: 2
» Views: 175
Unable to define function...
Forum: Homework
Last Post: deanhystad
5 hours ago
» Replies: 1
» Views: 45
RemoTe server operation w...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 10:14 AM
» Replies: 6
» Views: 662
Qt Event Filtering
Forum: GUI
Last Post: deanhystad
Yesterday, 09:36 AM
» Replies: 3
» Views: 158
processing nested json da...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 01:32 AM
» Replies: 1
» Views: 112
Convert .pdf to .txt
Forum: General Coding Help
Last Post: Pedroski55
Jul-13-2025, 11:23 AM
» Replies: 7
» Views: 478
Trouble Importing cell2lo...
Forum: General Coding Help
Last Post: snippsat
Jul-12-2025, 04:00 PM
» Replies: 3
» Views: 269
Why is bool() an instance...
Forum: General Coding Help
Last Post: deanhystad
Jul-12-2025, 02:41 AM
» Replies: 5
» Views: 253

 
  Pandas groupby warning *** WARNING ***
Posted by: Larz60+ - Sep-30-2022, 04:38 PM - Forum: News and Discussions - No Replies

Please read the following pandas warning:
https://pbpython.com/groupby-warning.html

Print this item

  SQL Alchemy help to extract sql data into csv files
Posted by: mg24 - Sep-30-2022, 12:14 PM - Forum: General Coding Help - Replies (1)

Hi Team,

how to download sql table data with header from using SQL Alchemy.

using pyodbc library I have downloaded 60gb data. Using read in chu..... More

Print this item

  USE string data as a variable NAME
Posted by: rokorps - Sep-30-2022, 08:25 AM - Forum: General Coding Help - Replies (1)

Hello,
I am kinda a beginner in python..
You might say that I have not been 'googling' for this question..
But..
I write code
[python]for ..... More

Print this item

  gspread and installing in general
Posted by: mgallotti - Sep-29-2022, 11:01 PM - Forum: General Coding Help - Replies (2)

Hi,
I'm learning Python, so sorry if this is a dumb question. I did try finding the answer before posting, but I was not successful. I installed gsp..... More

Print this item

  Using QSyntaxHighlighter to query a documents format
Posted by: DrakeSoft - Sep-29-2022, 08:13 PM - Forum: GUI - Replies (7)

The documentation for QSyntaxHighlighter Class indicates that the QSyntaxHighlighter class allows you to define syntax highlighting rules, and in addi..... More

Print this item

  A couple of questions
Posted by: Led_Zeppelin - Sep-29-2022, 02:58 PM - Forum: General Coding Help - Replies (1)

I have a few questions about my next step in the analysis. I have attached the page in question which moves label data 10 steps ahead. Since the data ..... More


Attached Files

.pdf   attachment.pdf (Size: 97.27 KB / Downloads: 267)
Print this item

  how to add a new column to dataframe using pandas
Posted by: truffleoil - Sep-29-2022, 12:47 PM - Forum: News and Discussions - No Replies

My script below is returning the error 'NoneType' and i can't figure out why.

[python]import pandas as pd
from os import listdir
from os.path imp..... More

Print this item

  python transfer Sql table to csv using BCP
Posted by: mg24 - Sep-29-2022, 12:07 PM - Forum: General Coding Help - Replies (2)

Hi Team,

I am using below code for transfering data to CSV File,
code is working , But headers are missing .

can you please suggest ho..... More

Print this item

  Video in Canvas
Posted by: finndude - Sep-29-2022, 10:33 AM - Forum: GUI - Replies (6)

Hi, just wanted to know if its possible to play a video in canvas with tkinter?

Print this item

  What is the error of not being able to pull data in this code? i didn't see an error?
Posted by: TestPerson - Sep-29-2022, 09:42 AM - Forum: Web Scraping & Web Development - Replies (2)

[python]import json
import time
import requests
from bs4 import BeautifulSoup
from selenium import webdriver
from time import sleep

seleniumCh..... More

Print this item

  Beginner Higher Lower Game
Posted by: wallytan - Sep-29-2022, 03:09 AM - Forum: General Coding Help - Replies (2)

I am trying this beginner project of Higher Lower game. I pretty much got already 99% of the game's logic. The only thing I couldn't figure out is to ..... More

Print this item

  what type of exception to use?
Posted by: Skaperen - Sep-28-2022, 10:56 PM - Forum: General Coding Help - Replies (3)

i have a function that uses some keyword arguments. two of the keyword arguments cannot be used in the same call and if so the function will raise an..... More

Print this item

  NameError:
Posted by: azizrasul - Sep-28-2022, 09:32 PM - Forum: General Coding Help - Replies (12)

I get an error

NameError: name 'add_row_data_by_cell_coordinate' is not defined
in the following snippet of code.

[python]..... More

Print this item

  Create multiple/single csv file for each sql records
Posted by: mg24 - Sep-28-2022, 07:49 PM - Forum: General Coding Help - Replies (6)

Hi Team,

I am creating multiple csv files, one csv for one records.
with header. code is working as expected.

I want to avoid fetch all , as of..... More

Print this item

  replace and extract value
Posted by: mg24 - Sep-28-2022, 06:05 PM - Forum: General Coding Help - Replies (5)

Hi Team,

I have below input variables.

market date 6 digit exclude dashes.
RunTime = all digit except last 3, remove "-", " " , ":"

I..... More

Print this item

  How to import another Python in different directory?
Posted by: dee - Sep-28-2022, 05:03 PM - Forum: General Coding Help - Replies (3)

Hello,
I would like to get help on importing another Python program in different directory. I didn't seem finding that is straight forward from googl..... More

Print this item

  Different Correlation Coefficents with different Time Ranges
Posted by: giaco__mar - Sep-28-2022, 02:03 PM - Forum: Data Science - No Replies

I built a Time-Series that displays the price of the Electricty Price in South Italy and two of their most important commodities (commodities, gas) us..... More

Print this item

  How to install a download package in anaconda environment
Posted by: Viachan - Sep-28-2022, 10:36 AM - Forum: News and Discussions - Replies (2)

Hello, I am newbie for Python.

My company network seems blocking the download of selenium package (Screen capture), so I cannot install in Jupyter ..... More


Attached Files

Thumbnail(s)
       
Print this item

  Object reference not set to an instance of an object When calling SOAP request
Posted by: jaffersaleem - Sep-28-2022, 05:11 AM - Forum: News and Discussions - Replies (1)

When I call a SOAP request from suds python ,it is giving Object reference not set to an instance of an object.I created the request objects from wsdl..... More

Print this item

  Changing file location
Posted by: azizrasul - Sep-27-2022, 09:32 PM - Forum: General Coding Help - Replies (6)

How do I amend the following code so that "filename.xlsx" is created in say "D:\SomeFolder\" and not in the default project folder.

[python]import ..... More

Print this item

  Image in Frame in Tabbed Widget
Posted by: Columbo - Sep-27-2022, 08:59 PM - Forum: GUI - Replies (4)

I have created a tabbed widget with 2 tabs and I put a frame in each tab. I want to place 2 images, one in each frame, but the image is not being dis..... More

Print this item

  store all variable values into list and insert to sql_summary table
Posted by: mg24 - Sep-27-2022, 08:56 PM - Forum: General Coding Help - Replies (3)

Hi Team,

I am working on a project, task is
1) extract sql table into csv
2) run chksum on it
3) gzip the file

and final steps to pass all v..... More

Print this item

Smile please help me
Posted by: arnold - Sep-27-2022, 08:10 PM - Forum: General Coding Help - Replies (1)

[python]import requests

response=requests.get('https://ac.search.naver.com/nx/ac?q=%EC%A3%BC%EC%8B%9D%20%E3%84%B1&con=0&frm=nv&ans=2&r_format=json&..... More

Print this item

  Convert Json to table format
Posted by: python_student - Sep-27-2022, 07:58 PM - Forum: General Coding Help - Replies (4)

I have a json as shown below and I need to convert this to table format. (all post about this did not help me and I think is because the json structur..... More

Print this item

  Read directory listing of files and parse out the highest number?
Posted by: cubangt - Sep-27-2022, 07:55 PM - Forum: General Coding Help - Replies (5)

So i have a directory where im placing files after my script runs, each file currently has a unique number in the file name.

Example: igMess_'+ f..... More

Print this item

  Determine if keyboard interrupt versus SIGINT trapped?
Posted by: Jibunnokage - Sep-27-2022, 07:40 PM - Forum: General Coding Help - Replies (5)

Determine if keyboard interrupt versus SIGINT trapped?

Not sure there is a way to determine this per se? Looked via Google for method, but the bes..... More

Print this item

  about help
Posted by: kucingkembar - Sep-27-2022, 05:09 PM - Forum: General Coding Help - Replies (12)

sorry for my bad English,
how to get to know all syntax or their explanation of a module or package,
for example:

import os
we kn..... More

Print this item

  Problem with BlackJack
Posted by: JengaBenga - Sep-27-2022, 02:07 PM - Forum: General Coding Help - No Replies

Hey guys,

I'm new here so I'm not sure, what informations you need, but here you go:

As a project I want to program Black Jack as a game. The ga..... More

Print this item

  make all text in Right to left alignment in tkinter widgets
Posted by: jalal0034 - Sep-27-2022, 01:29 PM - Forum: General Coding Help - Replies (1)

Hi everybody. How can align text in tkinter's widgets right to left? right to left languages when getting merge with left to right ones, cannot be rea..... More

Print this item

Bug Can´t create a class for frames
Posted by: ThomasFab - Sep-27-2022, 12:30 PM - Forum: GUI - Replies (5)

Hi Guys,

I need your help Angel


This Stuff is working well:
[python]import tkinter as tk
from tkinter import *
from tkinter import tt..... More

Print this item

  Writing string to file results in one character per line
Posted by: RB76SFJPsJJDu3bMnwYM - Sep-27-2022, 10:32 AM - Forum: General Coding Help - Replies (4)

I'm a Python noob. I'm running Python 3.9.2 on a Raspberry Pi Zero W running Raspbian GNU/Linux 11 (bullseye) with a temperature and humidity sensor a..... More


Attached Files

.txt   log.txt (Size: 102 bytes / Downloads: 203)
.py   temperature.py (Size: 1.05 KB / Downloads: 277)
Print this item

  QStyledItemDelegate and QTableView
Posted by: malonn - Sep-27-2022, 09:31 AM - Forum: GUI - Replies (1)

I have subclassed QStyledItemDelegate, reimplemented initStyleOption and set it to a QTableView. Everything works as expected, b..... More

Print this item

  Write from dictionary to excel
Posted by: divon - Sep-27-2022, 05:06 AM - Forum: Data Science - Replies (3)

Hello everyone, I would like to ask about how to write from a dictionary into excel.

The program that I have written so far:

[python]
import nu..... More

Print this item

  Reading Data from JSON
Posted by: tpolim008 - Sep-27-2022, 02:58 AM - Forum: General Coding Help - Replies (2)

Hello looking to see if anyone could help me out here. Ive been trying to figure this out but seem to keep getting stuck. Im not very advance in pytho..... More

Print this item

  Does this code need to be so long?
Posted by: duckredbeard - Sep-26-2022, 09:47 PM - Forum: General Coding Help - Replies (4)

Made this timer to go with my son's BattleBots Arena (this [url=https://python-forum.io/thread-38301.html]..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  "iBolt Cyber Hacker Recov... 3 hours ago lilianaortegga lilianaortegga Bar
  HIRE DIGITAL FORENSIC EXP... 4 hours ago Saragonzales Saragonzales Bar
  Custom Sorting List of Di... 5 hours ago aryasinner deanhystad Homework
  Unable to define function... 5 hours ago gmonroe deanhystad Homework
  RemoTe server operation w... Yesterday, 10:14 mario17 snippsat General Codin...
  Qt Event Filtering Yesterday, 09:36 deanhystad deanhystad GUI
  processing nested json da... Yesterday, 01:32 Kumo_Koloo Pedroski55 Web Scraping ...
  Convert .pdf to .txt 07-13, 11:23 vmars316 Pedroski55 General Codin...
  Trouble Importing cell2lo... 07-12, 16:00 haileyp snippsat General Codin...
  Why is bool() an instance... 07-12, 02:41 voidtrance deanhystad General Codin...
  [SOLVED] Why does regex f... 07-11, 23:52 Winfried Pedroski55 General Codin...
Most views
  The best Prog... 572688
  Tutorial Requ... 485720
  Web Scraping ... 437145
  Newbie with P... 380080
  Thread remain... 351375
Most reputation
buran 581
snippsat 507
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+ 12073
buran 8174
snippsat 7352
deanhystad 6857
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lilianaortegga Yesterday
Saragonzales Yesterday
homerpalmer Yesterday
aihancaiji31 Yesterday
gmonroe Yesterday

User Panel Messages

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