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,975
» Latest member: Alfreddonalds6
» Forum threads: 38,732
» Forum posts: 175,562

Full Statistics

Online Users
There are currently 59 online users.
» 3 Member(s) | 52 Guest(s)
Google, Bing, AOL, AOL, buran, Alfreddonalds6, tester_V

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
3 minutes ago
» Replies: 2
» Views: 114
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
7 hours ago
» Replies: 2
» Views: 762
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 798
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 506
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,883
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,286
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,855
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,275
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,207
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,519

 
  Print/write to file function
Posted by: tpolim008 - Apr-01-2020, 03:33 PM - Forum: General Coding Help - Replies (4)

Hello All can someone help me with the below code. Ive been working to try and get the output printed to a file with the datetime but each route Ive t..... More

Print this item

  Upload takes too long.
Posted by: Makada - Apr-01-2020, 03:12 PM - Forum: General Coding Help - Replies (29)

Hi all,

I have an upload script which uploads data every 5 minutes at every 00:00 00:05 00:10 00:15 and so on during 24/7.

But sometimes the upl..... More

Print this item

  break for loop
Posted by: Agusben - Apr-01-2020, 03:02 PM - Forum: General Coding Help - Replies (1)

can i break a foor loop from outside the loop?

Print this item

  general def coding
Posted by: Agusben - Apr-01-2020, 02:55 PM - Forum: GUI - Replies (5)

[python]
from tkinter import *
import turtle
from math import cos,sin,tan,pi

root = Tk()

def graph ():
pen.penup()
angle = 0
theta =..... More

Print this item

  while loop will not stop looping
Posted by: TheTechRobo - Apr-01-2020, 02:37 PM - Forum: General Coding Help - Replies (5)

Good day!

I have been developing a text-based calculator in Python 3.x and ran into this problem, my while loop will not stop even though I changed t..... More

Print this item

  Questions about class
Posted by: cls0724 - Apr-01-2020, 02:18 PM - Forum: General Coding Help - Replies (1)

class FooBar:
  def init(self):
    print(self)
From the above example, i learn that i can't define a as the below code

[pyth..... More

Print this item

  Class Information Help
Posted by: Gokberk - Apr-01-2020, 01:58 PM - Forum: General Coding Help - Replies (2)

[python]# Main worker class
class worker():

def __init__(self, name, salary, department):
print("__init__ function of worker class.")..... More

Print this item

  Access a variable of a daemon
Posted by: peek_no_boo - Apr-01-2020, 01:29 PM - Forum: General Coding Help - Replies (8)

Hello,
Hope you are doing well.

I have the following code

[python]#!/usr/bin/env python3
# encoding: utf-8

import daemon
import sys
impor..... More

Print this item

  General coding help
Posted by: prathmesh - Apr-01-2020, 01:18 PM - Forum: General Coding Help - Replies (1)

Hello everyone,
I am going through the following piece if code :
Inputs:
initP: Starting point
dir: vector in the UV directions
L: de..... More

Print this item

  Time series manipulation
Posted by: SinPy - Apr-01-2020, 12:48 PM - Forum: General Coding Help - No Replies

Hi!
We have an optimization model that gives us forecasts of electricity consumption in the future. Because of calculation time we do not use hourly ..... More

Print this item

  Block of code, scope of variables and surprising exception
Posted by: arbiel - Apr-01-2020, 12:43 PM - Forum: General Coding Help - Replies (8)

Hi

I recently decided to learn Python, based on the Python documentation https://docs.python.org/3. I take the opportunity of this learning to code..... More

Print this item

  how does a html form work exactly?
Posted by: mp3909 - Apr-01-2020, 12:13 PM - Forum: Web Scraping & Web Development - Replies (2)

I have been trying to teach myself Python Django.
Been following videos on YouTube.

I'm confused in understanding how this piece of code that has ..... More


Attached Files

Thumbnail(s)
       
Print this item

  Alpha numeric element list search
Posted by: rhubarbpieguy - Apr-01-2020, 12:11 PM - Forum: General Coding Help - Replies (1)

I have a list question using the following script:

list1=['a','b','c','d','e','f']
list2=['1A','1B','1C','1a','1b','1c']
list3=[]
list4=[]

..... More

Print this item

  I built Tic-Tac-To
Posted by: dsad12 - Apr-01-2020, 12:09 PM - Forum: Code Review - Replies (6)

I have been studying python in the last 2 weeks for many hours and last night I did the game Tic-Tac-To. I'm a beginner developer so I don't know whet..... More

Print this item

  iterate and print json datas
Posted by: enigma619 - Apr-01-2020, 11:35 AM - Forum: General Coding Help - Replies (1)

Hi

i've a problem to iterate a json file

My Json
[code]
{
"name": "value1",
"surname": "value2",
"size": "value3",
"age": "value4..... More

Print this item

  Pyplot and circle
Posted by: Reldaing - Apr-01-2020, 10:39 AM - Forum: General Coding Help - No Replies

Hi! I'm using matplotlib.pyplot and I wanted to know if it was possible to create a circle only with the coordonates of the center and the coordonates..... More

Print this item

  Try to Avoid for-loops for performance
Posted by: Phase1997 - Apr-01-2020, 07:18 AM - Forum: Code Review - Replies (4)

Hey everyone! :)

I need some help to boost my performance.

I got a given volume, which is a 3d-matrix out of 0s and 1s, representing the voxels...... More

Print this item

Question Building Python GUIs for the Web
Posted by: SpaceTime - Apr-01-2020, 06:55 AM - Forum: Web Scraping & Web Development - Replies (5)

Hello everyone,

i am currently starting off a project in which I should kind of combine several already existing GUIs so a User can comfortably swi..... More

Print this item

  general def coding
Posted by: Agusben - Apr-01-2020, 06:06 AM - Forum: GUI - Replies (1)

[python]
from tkinter import *
import turtle
from math import cos,sin,tan,pi

root = Tk()

def graph ():
pen.penup()
angle = 0
theta =..... More

Print this item

  How to clear matplotlib graphs from memory
Posted by: mrashy - Apr-01-2020, 04:03 AM - Forum: General Coding Help - No Replies

So I was running code earlier and got the following warning:

Warning (from warnings module): File "", line 558 RuntimeWarning: More than 20 figures..... More

Print this item

  Write object to file
Posted by: medatib531 - Apr-01-2020, 03:16 AM - Forum: General Coding Help - Replies (7)

Hello,

I have developed my code that has several hierarchies of objects, nested in lists, nested in other objects etc, also uses external libraries..... More

Print this item

  How can you update a python application across multiple devices?
Posted by: GalaxyCoyote - Apr-01-2020, 02:52 AM - Forum: Bar - No Replies

I am making multiple applications that I want to update over time. Instead of forcing my users to redownload from a file hosting website or (if I set ..... More

Print this item

  Tkinter/Turtle Stopping and Starting Timers Cleanly
Posted by: robin73 - Mar-31-2020, 10:18 PM - Forum: GUI - Replies (2)

I have come across several situations recently writing programs using Python Turtle Graphics where the ontimer() turtle method has been insufficient..... More

Print this item

  help needed!
Posted by: gmachaj - Mar-31-2020, 10:12 PM - Forum: General Coding Help - Replies (2)

Hi, I'm trying to make a loop for some files. I want to use a number of rows in the file to split it a half... and I'm stuck please help (python 2 ..... More

Print this item

  Python values on a WebPage
Posted by: Petrouil - Mar-31-2020, 09:56 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I want to make a web site that I want to take some values from a Python program that runs continuously on my raspberry. I mean that the site..... More

Print this item

  Class issue
Posted by: Reldaing - Mar-31-2020, 09:55 PM - Forum: General Coding Help - Replies (2)

Hi . I'm new to Algorithms with Python. Well, actualy, I'm trying to code one: K nearest Neighbors. My code worked perfectly until I try to automatize..... More

Print this item

  python dictionary
Posted by: pkmnmewtwo - Mar-31-2020, 08:47 PM - Forum: Homework - Replies (3)

I'm kinda stuck on this homework assignment and i need help. this program has a menu but i got all the menu except this part. this menu selection is a..... More

Print this item

  Learning selenium
Posted by: mieciow - Mar-31-2020, 07:44 PM - Forum: Web Scraping & Web Development - Replies (1)

In the code below :
[python]from selenium import webdriver
import time

driver = webdriver.Chrome("C:\Users\Miécio\PycharmProjects\Selenium\driver..... More

Print this item

  How to display percentage above the bars in bar graph?
Posted by: WhatsupSmiley - Mar-31-2020, 07:21 PM - Forum: Data Science - No Replies

Hi there, I am trying to figure out how to display the percentage values above each bar in my bar graph. I am using matplotlib and I created a dataf..... More

Print this item

  Deep Q-learning for playing Tetris
Posted by: 1991viet - Mar-31-2020, 07:11 PM - Forum: Code sharing - No Replies



Source code: https://github.com/uvipen/Tetris-deep-Q-...ng-pytorch
Demo: htt..... More

Print this item

  Random selection from list
Posted by: Mohsky - Mar-31-2020, 07:06 PM - Forum: Homework - Replies (1)

Hi everyone,

This is not homework per se, but I am teaching myself(as everyone else has done before) python by taken courses, books, and online pra..... More

Print this item

  KeyError in OrderedDict
Posted by: rberna - Mar-31-2020, 05:13 PM - Forum: General Coding Help - Replies (1)

Hello, I'm pretty new to python and would really like some help with a KeyError I'm receiving in the python code. I am using python 3.7.6. The code..... More

Print this item

  HTML loading process
Posted by: windows11 - Mar-31-2020, 04:53 PM - Forum: Web Scraping & Web Development - Replies (1)

hello ppl, do you know the way for loading page?

For example we have a html code:
<html
--><head>
--><body>
</html>

and inside in body we ha..... More

Print this item

  Dataframes to url open
Posted by: CCorker234 - Mar-31-2020, 04:33 PM - Forum: Web Scraping & Web Development - No Replies

Hi all
Im new here but would anyone be able to help me with a problem.
I have a data frame of one row of part numbers which all need adding to the e..... More

Print this item

  SonarCloud, SonarQube support Python 3.8, add rules for method signature & visibility
Posted by: ganncamp - Mar-31-2020, 04:29 PM - Forum: News and Discussions - No Replies

Hi all,

SonarSource is pleased to share that we now support Python 3.8 on SonarCloud. Support in SonarQube will be available in the upcoming 8.3 ve..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... 3 minutes ago fosuwxb buran Code sharing
  My goal to be hired worki... 7 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577334
  Tutorial Requ... 500637
  Web Scraping ... 440997
  Newbie with P... 385037
  New Users Int... 369512
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+ 12090
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Alfreddonalds6 Today
Williamcaurb Yesterday
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday

User Panel Messages

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