Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,251
» Latest member: ftk456
» Forum threads: 38,780
» Forum posts: 175,822

Full Statistics

Online Users
There are currently 60 online users.
» 1 Member(s) | 50 Guest(s)
Bing, Google, Facebook, Apple, AOL, kshahzad1985

Latest Threads
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
4 hours ago
» Replies: 2
» Views: 50
New to python and coding
Forum: Homework
Last Post: jefsummers
11 hours ago
» Replies: 4
» Views: 116
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 204
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 329
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Nov-11-2025, 05:07 AM
» Replies: 5
» Views: 287
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 122
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,626
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 221
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 211
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,460

 
  How can we transcode encoding file uml url format
Posted by: Anldra12 - Jul-23-2021, 09:32 AM - Forum: General Coding Help - Replies (9)

How we can transcode encoding format files likes xxxxx.tar.gz
I have download files that show encoding format but i want to ..... More

Print this item

  post error from cloudflare
Posted by: Skaperen - Jul-23-2021, 01:12 AM - Forum: Board - Replies (12)

how often to you get a post error from cloudflare when posting a reply or new thread here? what do you do when that happens?

Print this item

  chopping a bytearray
Posted by: Skaperen - Jul-23-2021, 01:08 AM - Forum: News and Discussions - Replies (2)

i have a large bytearray that i am writing to disk. i expect in most cases it will write the entire array in one call to [inline]binaryoutputfile.wri..... More

Print this item

  How do I make him jump once
Posted by: izmamonke - Jul-22-2021, 08:26 PM - Forum: General Coding Help - Replies (1)

How can I make him jump only once? Everytime I press Z while he is mid-air he jumps again, how do I fix it?
[python]import pygame

pygame.init()
..... More

Print this item

Photo Algorithm for leap year (structogramm
Posted by: coder_sw99 - Jul-22-2021, 05:44 PM - Forum: General Coding Help - Replies (3)

Hello!

Before I solve a problem I usually always draw a structogramm and then start to code. But I just can´t find a way how to code
this structogra..... More

Print this item

  [SOLVED] Help with Threads
Posted by: michaelserra - Jul-22-2021, 04:34 PM - Forum: General Coding Help - Replies (3)

I'm hanging out with i/o bound stuff in Python and I created a little .py script wich contains three simply functions.
[python]import threading
impo..... More

Print this item

Question Calling on a Variable using other Variables
Posted by: jacknewport - Jul-22-2021, 12:12 PM - Forum: General Coding Help - Replies (4)

Is it possible to call upon a variable using other variables? For example if you have the name of a variable stored in another variable, could you cal..... More

Print this item

  Possibility to create Checkpoints in Loops?
Posted by: coder_sw99 - Jul-22-2021, 11:40 AM - Forum: General Coding Help - Replies (2)

Hello Python Forum!

I´m fairly new to coding and I have a general question to the way how I code. I tried to put the whole code into one singular whi..... More

Print this item

  Combine Or and And in If Statement
Posted by: JamesA - Jul-22-2021, 10:18 AM - Forum: General Coding Help - Replies (6)

I am trying to write some code to return True if either AH, MH or GL are in mStrip. I want to apply a condition to GL (but not AH or MH) so that it i..... More

Print this item

  how to loop a script?
Posted by: ZYSIA - Jul-22-2021, 06:29 AM - Forum: General Coding Help - Replies (1)

Hi guys! I have create a python scripts to convert 3 random hexa number to decimal and add them together like below :
however, i want to try to loop ..... More

Print this item

  The game should now run and terminate once the board is full, but still can’t identif
Posted by: rango - Jul-22-2021, 03:24 AM - Forum: General Coding Help - No Replies

[code]
# DO NOT EDIT THE FOLLOWING LINES
# COURSE CPSC 231 SPRING 2021
# INSTRUCTOR: Jonathan Hudson
# RNkY9dhladt8yUgc1WHi
# DO NOT EDIT THE AB..... More

Print this item

  maybe, maybe not
Posted by: Skaperen - Jul-22-2021, 12:03 AM - Forum: Bar - Replies (1)

ha ha, i just ran across a case where i wanted to code a bool value of Maybe. maybe i should rethink this script. i already use [in..... More

Print this item

  while handling this exception, another ...
Posted by: Skaperen - Jul-21-2021, 11:54 PM - Forum: News and Discussions - Replies (1)

i have try/except within a higher except which if properly coded seems to work. how deeply can i nest try/except in the except handlers?

Print this item

  How to Properly Open a Serial Port in a Function
Posted by: bill_z - Jul-21-2021, 09:27 PM - Forum: General Coding Help - Replies (2)

Being a new guy to Python, I’m trying to figure out how to properly pass information between functions so I can keep redundant code to a minimum. How..... More

Print this item

  change self.var in a function
Posted by: catlessness - Jul-21-2021, 04:45 PM - Forum: GUI - Replies (3)

[python]
import sys,os,re
import numpy as np
import PI_GUI_App_Map as pgam
from PyQt5 import QtWidgets, QtGui
from PyQt5.QtWidgets import QApplic..... More

Print this item

  Virtual environment path?
Posted by: Led_Zeppelin - Jul-21-2021, 03:56 PM - Forum: General Coding Help - Replies (1)

In the following paper at this ink:

https://caffeinedev.medium.com/building-...654b10c188

Mr. Prabhat Kumar S..... More

Print this item

  What is the best approach to training a final model after cross validation?
Posted by: amjass12 - Jul-21-2021, 10:15 AM - Forum: Data Science - No Replies

Hi,

I am training a neural network for a classification task. I have used 10x cross validation and have a good indication of out of sample (test) ..... More

Print this item

  confusion on semantics of code
Posted by: usercat123 - Jul-21-2021, 06:29 AM - Forum: General Coding Help - Replies (2)

Hello,

I am working through a tutorial and lack the foundations to understand the following code
[python]class NodeVisitor(object):
def visi..... More

Print this item

  help
Posted by: CodingKid - Jul-20-2021, 06:47 PM - Forum: General Coding Help - Replies (2)

[python]print("would you like a new list")
t = input("yes/y no/n :")
if t == "n":
print("OK then have a good day")
if t == "y":
ty = inpu..... More

Print this item

  Dictionary generator
Posted by: Irv1n - Jul-20-2021, 04:12 PM - Forum: General Coding Help - Replies (5)

I need ideas how to implement such a dictionary, where the program will request data and ultimately get this kind of dictionary?
For example:

[python..... More

Print this item

  Using MySQL database images or data dumps
Posted by: Planetary_Assault_Systems - Jul-20-2021, 03:42 PM - Forum: Data Science - Replies (1)

Greetings

I am trying to build a web app using Dash. I am trying to analyse F1 data (lap times) using the ergast AP[url=https://python-forum.io/thread-34331.html]..... More

Print this item

  best " Learning Python " book for a beginner
Posted by: alok - Jul-20-2021, 03:32 PM - Forum: General Coding Help - Replies (7)

I purchased the 2nd edition Python Crash Course ,is there a "really easy " book to learn Python,like really easy - but at the same time explains what..... More

Print this item

  [split] Change Text Size in Console?
Posted by: CodingKid - Jul-20-2021, 02:42 PM - Forum: General Coding Help - Replies (1)

i need some help i accedentily changed the output text size and i cant figure out how to change it back

Print this item

  Type error in Cross_val_score
Posted by: Vicral - Jul-20-2021, 12:18 PM - Forum: Data Science - No Replies

I am creating a neural network that distinguishes between malignant and benign skin tumors using computer vision. I want to perform a k-fold validatio..... More


Attached Files

Thumbnail(s)
           
Print this item

  In which direction to learn Python?
Posted by: ramdev - Jul-20-2021, 07:07 AM - Forum: Bar - Replies (2)

Hello. I want to ask you in which direction to start as a beginner?
Studying Eric Mathis at the moment.
Using translator!

Print this item

  Total electric construction cost project
Posted by: SecondSandwich94 - Jul-20-2021, 03:52 AM - Forum: General Coding Help - Replies (2)

Hey guys! I've started learning Python on my own and am looking to start building real world projects in order to boost my understanding of how things..... More

Print this item

  How to display combobox related values in labels
Posted by: Lalremruata - Jul-20-2021, 02:45 AM - Forum: General Coding Help - No Replies

I successfully fetch SQLite database and display it in a combobox. However, I don't know how to fetch it's related values (database column) and displa..... More


Attached Files

.zip   date.ui.zip (Size: 1.23 KB / Downloads: 638)
.zip   date.py.zip (Size: 1.84 KB / Downloads: 497)
.zip   DB.zip (Size: 1.87 KB / Downloads: 451)
Print this item

  Failing to get Stat for a Directory
Posted by: tester_V - Jul-20-2021, 01:50 AM - Forum: General Coding Help - Replies (11)

Greetings!
I have directories with an empty file or two, I want to identify and delete them.
I thought I could use Path().stat().st_size but the cod..... More

Print this item

  changing Python files to .exe
Posted by: alok - Jul-19-2021, 05:42 PM - Forum: General Coding Help - Replies (2)

Is the ability already in my Python version 3.9.5 , to change files to .exe ? If not what is the best software to do this ?

Al

Print this item

  Python Crash Course ( 2nd edition)
Posted by: alok - Jul-19-2021, 04:10 PM - Forum: General Coding Help - Replies (1)

In using the book as you follow it , Chap. 1 ,2 ,etc. must you leave all that was entered in Sublime ,there. Or can it be cleared out as you learn a n..... More

Print this item

  [split] Is there some coding that will do the following in 3 separate events?
Posted by: bensan - Jul-19-2021, 11:29 AM - Forum: General Coding Help - Replies (23)

Is there some coding that will do the following in 3 separate events? -

(1) Select All
(2) Copy
(3) Paste

By the way I tried to find "Start Ne..... More

Print this item

  (Path?)Problems with dockerizing a python app
Posted by: sgofferj - Jul-19-2021, 10:02 AM - Forum: General Coding Help - No Replies

Hi,

I don't know much about Python - haven't used it much yet. I'm trying to dockerize a python 2 app which doesn't seem to be maintained anymore: ha..... More

Print this item

  Extracting Elements From A Website List
Posted by: knight2000 - Jul-19-2021, 08:08 AM - Forum: General Coding Help - Replies (2)

Hi all,

I'm practicing some webscraping and have come up to an obstacle that has me stuck.

I'm trying to use code that will go through a few di..... More

Print this item

  comparing 2 lists
Posted by: rwahdan - Jul-18-2021, 05:37 PM - Forum: General Coding Help - Replies (2)

Hi,

I have problem comparing 2 lists. one list has 10 records and the other have less than 10 so it is between 1 and 9 records. What I am trying to..... More

Print this item

  download with internet download manager
Posted by: coral_raha - Jul-18-2021, 03:11 PM - Forum: General Coding Help - No Replies

Hi every one
I want to change this code a bit . it is ideal for me to download these zip folders with Internet Download Manager software. because i..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  why is the image not show... 4 hours ago sarbogast deanhystad General Codin...
  New to python and coding 11 hours ago lary_p jefsummers Homework
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... 11-11, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
Most views
  The best Prog... 578874
  Tutorial Requ... 510005
  Web Scraping ... 441926
  Newbie with P... 385937
  New Users Int... 376460
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ftk456 Yesterday
sarbogast Yesterday
bmurray Yesterday
kai_cow2710 Yesterday
Kacper 11-11

User Panel Messages

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