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,974
» Latest member: Williamcaurb
» Forum threads: 38,732
» Forum posts: 175,557

Full Statistics

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

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 6
» Views: 718
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
5 hours ago
» Replies: 0
» Views: 44
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
9 hours ago
» Replies: 8
» Views: 446
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,826
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 691
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,225
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,796
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,195
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,156
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,456

 
  for Variable Not Expiring
Posted by: trevorkavanaugh - Feb-24-2019, 05:53 AM - Forum: General Coding Help - Replies (10)

Hello,

I am new to python and just realized that when I create a for loop to iterate through a list, I am still able to access the variable that was ..... More

Print this item

  Better Tree Height Function
Posted by: Clunk_Head - Feb-24-2019, 03:12 AM - Forum: General Coding Help - Replies (2)

[python]
class Node:
def __init__(self, data):
self.data = data
self.left = None
self.right = None

def height(..... More

Print this item

  web.py: implementing a captcha
Posted by: kintarowonders - Feb-24-2019, 02:39 AM - Forum: Web Scraping & Web Development - No Replies

I am trying to make it so users have to enter a captcha to enter a site. I am new to webpy, and I've got this code and I don't even know why it doesn'..... More

Print this item

  Write list of list to CSV?
Posted by: searching1 - Feb-24-2019, 01:13 AM - Forum: General Coding Help - Replies (16)

Hi, I would like to ask on how we can write these set of list which has list in it?

Target output on csv is like this(attached).
[img]https://imgu..... More

Print this item

  stacked autoencoder training
Posted by: JohnMarie - Feb-24-2019, 12:23 AM - Forum: Data Science - No Replies

I'm trying to train a dataset using stacked autoencoder. For this purpose, I used this code:
[python]import time

import tensorflow as tf
import ..... More

Print this item

  Intersection of a triangle and a circle
Posted by: Gira - Feb-23-2019, 11:54 PM - Forum: Homework - Replies (3)

Determine whether a common point the two flat shapes: triangle, given
the coordinates of its vertices and the circle with the given radius and cente..... More

Print this item

  Python Parallel Programing
Posted by: wissam1974 - Feb-23-2019, 11:09 PM - Forum: Data Science - Replies (6)

Hi all,
this is the first time I am using the parallel program in python, my program is shown below


[python]
import numpy as np
from time imp..... More

Print this item

  problems with writting a text file
Posted by: sunny - Feb-23-2019, 03:12 PM - Forum: General Coding Help - Replies (6)

Hi. I am quite new to Python. I create a new file then write something into it. the code is as below. I wonder why there are some texts written in the..... More

Print this item

  pygame and shift branching?
Posted by: MuntyScruntfundle - Feb-23-2019, 12:27 PM - Forum: Game Development - Replies (2)

Sorry, I know this is another pygame problem, but I hope some kind person can help.

I can find examples on the google how to check for key presses ..... More

Print this item

  NameError: name 'd' is not defined
Posted by: synthex - Feb-23-2019, 12:10 PM - Forum: General Coding Help - Replies (1)

Here steps of my code

[python]from skimage import io
import mxnet as mx

test='C:/Users/Admin/Desktop/test.lst'# folder where must be my test.ls..... More

Print this item

  parsing local xml files to csv
Posted by: erdem_ustunmu - Feb-23-2019, 11:30 AM - Forum: General Coding Help - Replies (8)

hi,
I'm pretty new in Python.
ddi xml files available in the microdata service of the International Labour Organization.I downloaded these to my com..... More

Print this item

  pymysql.err.InterfaceError
Posted by: nikos - Feb-23-2019, 11:03 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello, i have 2 wsgi flask applications that every day they give me thsi error

[quote]
pymysql.err.InterfaceError
pymysql.err.InterfaceError: (0,..... More

Print this item

  Can you tell me if this python programme will get me in trouble with my organisation?
Posted by: abstraction - Feb-23-2019, 08:36 AM - Forum: General Coding Help - Replies (8)

I'm not a python programmer (or a programmer for that matter). But a python programmer wanted to try out something he coded, and without thinking I le..... More

Print this item

  SELECT statement query question using a variable
Posted by: DT2000 - Feb-23-2019, 06:45 AM - Forum: General Coding Help - Replies (2)

I am attempting to figure out how to use a variable from an MenuOption widget selection as the data in the specific column "Dish_Type" in my SQLite q..... More

Print this item

  Error when trying to run a stopwatch
Posted by: nath2125 - Feb-23-2019, 05:54 AM - Forum: General Coding Help - Replies (1)

Im getting an error when running this def and im not sure why. Its meant to be a stopwatch that runs and counts during what ever code you set it to st..... More

Print this item

  decoding sub.process output with multiple \n?
Posted by: searching1 - Feb-23-2019, 05:34 AM - Forum: General Coding Help - Replies (2)

Hi, I have created a script using sub.process then after reading I got this output (not in order) and \n new line exist on the output. How can we fix ..... More

Print this item

  webdriver.remote to connect back existing browser without open new browser?
Posted by: gahhon - Feb-23-2019, 05:34 AM - Forum: Web Scraping & Web Development - Replies (6)

CommonChrome.py
[python]
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.commo..... More

Print this item

  xml replacement with python
Posted by: josesalazmit - Feb-23-2019, 03:48 AM - Forum: General Coding Help - Replies (3)

Hello
I try to use python to replace part of the xml file without override the rest of the file,
the code doesn't show any error but it is not repla..... More

Print this item

  What is the strategy for working with class variables?
Posted by: AlekseyPython - Feb-23-2019, 02:34 AM - Forum: General Coding Help - Replies (3)

Class variables contain variables common to all objects of the class and thus show the inalienable properties of the objects. But unfortunately, they ..... More

Print this item

  Adding logo to the image
Posted by: Truman - Feb-23-2019, 02:01 AM - Forum: General Coding Help - Replies (4)

[python]#! python3
# resizeandaddlogo.py - Resizes all images in the current working directory to fit
# in a 300x300 square, and adds catlogo.png to..... More

Print this item

  need solution to code
Posted by: mccluregamer4472 - Feb-23-2019, 02:00 AM - Forum: General Coding Help - Replies (9)

I need some help as i am currently learning to code and i have to make a specific piece of code but not understanding it at all at the moment. Basical..... More

Print this item

  Nested Dictionary to excel
Posted by: VictoriaE - Feb-23-2019, 12:57 AM - Forum: General Coding Help - Replies (1)

My dictionary will be similar to below. I want it to not have the terms in red and I want each row to be a quarter date as output and each title to be..... More

Print this item

  Nested Dictionaries with Lists
Posted by: BriHaug - Feb-23-2019, 12:08 AM - Forum: General Coding Help - Replies (1)

I have seen similar threads related to creating nested dictionaries, but I'm still having trouble with this particular code. My goal is to use nested ..... More

Print this item

  Form add tree comments with mptt
Posted by: m0ntecr1st0 - Feb-22-2019, 11:56 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm confused..
Implemented adding comments using mptt, but for now it works only from admin panel. I can not understand what and where to screw in or..... More

Print this item

  Open CV game sprite recognition
Posted by: Doctore9 - Feb-22-2019, 11:26 PM - Forum: Homework - Replies (3)

Hello,
I am starting to work on OpenCV college project, and as a part of this I need to build an app that will recognize a selected sprite from the ga..... More

Print this item

  PUT with Basic Auth and urllib2
Posted by: rootVIII - Feb-22-2019, 11:08 PM - Forum: General Coding Help - No Replies

Hello Pythonforum:

Unfortunately I am in a situation where I cannot install the requests library, and to top it off I am stuck using Python 2.6 on ..... More

Print this item

  Dialup Modem using pyserial - Need it to show response from the other end.
Posted by: Rython - Feb-22-2019, 10:58 PM - Forum: General Coding Help - Replies (1)

Ok so I'm able to open the com port and dial out to my phone number but I can't seem to get a response once the dialup handshake is complete.

after..... More

Print this item

  Help with pkl file
Posted by: joncarv - Feb-22-2019, 10:28 PM - Forum: Data Science - No Replies

Hi, All!

I need to unpack a pkl file, but since I'm not familiar with pickle, pandas, and numpy, I'm having a very hard time trying to do that.

..... More

Print this item

  Solving simple bug in Jupyter
Posted by: WatcherMagic - Feb-22-2019, 10:14 PM - Forum: General Coding Help - Replies (3)

I'm a newbie/amateur trying to go back and refresh my basic python after getting too excited and carried away with looking at a few other things. I'm ..... More

Print this item

  PyAutoGUI run in background
Posted by: dikzak - Feb-22-2019, 08:09 PM - Forum: General Coding Help - Replies (2)

Hello,

I'm currently running a pyautogui script on 5 virtual machines (vmware). Now I want to top that up. I want to run +-15 scripts on just one c..... More

Print this item

  Unable to configure IDLE for Python 3.7.2
Posted by: BinaryStar - Feb-22-2019, 05:57 PM - Forum: Bar - Replies (3)

Hello,
I am a newbie to Python. I have installed Python 3.7.2 on my computer. Everything seems to run fine, except when it comes to custom configur..... More

Print this item

  How to get a random item from a list, print it and delete it?
Posted by: giorgosmarga - Feb-22-2019, 04:40 PM - Forum: General Coding Help - Replies (3)

Hi guys,
I have a question
Is there a way to get a random item from a list, print it and then delete the same random item from the list??

Print this item

  ARCPY enter excel table into coded domain
Posted by: Just_another_lost_man - Feb-22-2019, 02:30 PM - Forum: General Coding Help - Replies (6)

This is what i have been trying so far, i cant seem to get the dictionary in the right form.
Appreciate any help i can get

[python]>>> import arc..... More

Print this item

  no screen is generated
Posted by: senfik99 - Feb-22-2019, 11:26 AM - Forum: Game Development - Replies (2)

hello I’ve got this issue. I run the program I dont see the new screen that is supposed to be generated although program runs. I’ve googled for almost..... More

Print this item

  Need help - 22000 lines of code / alien writings!
Posted by: gfetng - Feb-22-2019, 10:53 AM - Forum: General Coding Help - Replies (1)

Hi all,

First of all, I'm new to this forum so please forgive me if I'm breaking any rules here (hopefully not)

I have used Python for only 1 y..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 4 hours ago llarkin6 noisefloor General Codin...
  Integer Factorization Too... 5 hours ago fosuwxb fosuwxb Code sharing
  Comparing 2 100GB Drives/... 9 hours ago tester_V snippsat General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  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... 577306
  Tutorial Requ... 500539
  Web Scraping ... 440978
  Newbie with P... 385011
  New Users Int... 369467
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 8176
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Williamcaurb Today
sophielane Today
Oscar0057 Today
Cromulent Today
PhamMaria Today

User Panel Messages

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