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,494
» Latest member: kjhlcd4p6g
» Forum threads: 38,581
» Forum posts: 174,820

Full Statistics

Online Users
There are currently 699 online users.
» 0 Member(s) | 696 Guest(s)
Bing, Yandex, Google

Latest Threads
Les methodes de paiement ...
Forum: General Coding Help
Last Post: Jeffreyhox
1 hour ago
» Replies: 0
» Views: 36
Secure and Reliable Colou...
Forum: News and Discussions
Last Post: ishani007
3 hours ago
» Replies: 0
» Views: 48
Error on import: SyntaxEr...
Forum: General Coding Help
Last Post: Kiongi
Yesterday, 07:49 AM
» Replies: 8
» Views: 21,217
Wish to write a code for ...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 06:08 AM
» Replies: 3
» Views: 578
How can I write formatted...
Forum: General Coding Help
Last Post: hanmen9527
May-20-2025, 12:26 PM
» Replies: 13
» Views: 28,821
problems with netcdf if I...
Forum: General Coding Help
Last Post: vytlacfoto
May-20-2025, 05:31 AM
» Replies: 17
» Views: 1,522
How to attach images to a...
Forum: Board
Last Post: sethmike9
May-19-2025, 04:08 AM
» Replies: 6
» Views: 8,941
How To Attach data Files
Forum: Board
Last Post: sethmike9
May-19-2025, 04:05 AM
» Replies: 3
» Views: 4,190
Text frame
Forum: Homework
Last Post: Pedroski55
May-18-2025, 07:39 PM
» Replies: 2
» Views: 435
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
May-18-2025, 06:28 PM
» Replies: 0
» Views: 229

 
  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: 255)
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: 194)
.py   temperature.py (Size: 1.05 KB / Downloads: 270)
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

  python call stored procedure with two parameter
Posted by: mg24 - Sep-26-2022, 07:22 PM - Forum: General Coding Help - Replies (4)

Hi Team,

How to call below working stored procedure via python.

below stored procedure works in microsoft sql. when run manually.
EXEC dbo.uniq..... More

Print this item

  Problem with my Black Jack game...
Posted by: JengaBenga - Sep-26-2022, 07:06 PM - Forum: Homework - Replies (2)

Hey guys,

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

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


Attached Files

.py   BlackJack_2.py (Size: 4.78 KB / Downloads: 275)
Print this item

  Python Tutorial 4.4 Loop Explained
Posted by: rts - Sep-26-2022, 06:38 PM - Forum: General Coding Help - Replies (2)

New to Python and working thru the tutorials.

In the example of "for" loops that determines prime numbers. It uses the "%" to determine if there is..... More

Print this item

  a proxy function for a generator
Posted by: Skaperen - Sep-26-2022, 05:19 PM - Forum: News and Discussions - No Replies

suppose i have a generator named g(). i create a function named f() that when called with keyword argument gen=True will call g(*args,**kwargs) and ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Les methodes de paiement ... 1 hour ago Jeffreyhox Jeffreyhox General Codin...
  Secure and Reliable Colou... 3 hours ago ishani007 ishani007 News and Disc...
  Error on import: SyntaxEr... Yesterday, 07:49 kirkwilliams2049 Kiongi General Codin...
  Wish to write a code for ... Yesterday, 06:08 Hasan2025 DeaD_EyE General Codin...
  How can I write formatted... 05-20, 12:26 JohnJSal hanmen9527 General Codin...
  problems with netcdf if I... 05-20, 05:31 Blaubart vytlacfoto General Codin...
  How to attach images to a... 05-19, 04:08 CynthiaMoore sethmike9 Board
  How To Attach data Files 05-19, 04:05 Talch sethmike9 Board
  Text frame 05-18, 19:39 dnabtuh Pedroski55 Homework
  Python automation: Sendin... 05-18, 18:28 olips784 olips784 General Codin...
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
Most views
  The best Prog... 566831
  Tutorial Requ... 462608
  Web Scraping ... 431733
  Newbie with P... 369236
  Thread remain... 341368
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+ 12052
buran 8170
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
kjhlcd4p6g Today
Arush Yesterday
ishani007 Yesterday
blueglasses Yesterday
Kiongi Yesterday

User Panel Messages

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