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,290
» Latest member: irukson
» Forum threads: 38,793
» Forum posts: 175,882

Full Statistics

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

Latest Threads
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
1 hour ago
» Replies: 6
» Views: 181
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:18 PM
» Replies: 5
» Views: 77
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 69
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,506
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 164
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 76
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,104
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,312
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 423
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 245

 
  Help with calling list from user input
Posted by: farispython - Nov-03-2019, 07:18 AM - Forum: General Coding Help - Replies (5)

I am new to python and need help. I tried to call the list using an input from the user but I got creating a new list instead of calling the existing ..... More

Print this item

  requests post/get to HTML form
Posted by: mrdominikku - Nov-03-2019, 06:48 AM - Forum: Web Scraping & Web Development - Replies (1)

Hey there,

I have application which pulls lottery numbers from official website of lottery.

Website allows search previous lottery games by it's..... More

Print this item

  Tkinter Animation
Posted by: Evil_Patrick - Nov-03-2019, 05:24 AM - Forum: GUI - Replies (3)

How to use gif for Animation Movement in Tkinter

[python]

from tkinter import *

root = Tk()

img = PhotoImage(file = 'Image_21.gif')
panel..... More

Print this item

  what's wrong with my code
Posted by: Oaklizard2047 - Nov-03-2019, 05:21 AM - Forum: General Coding Help - Replies (4)

So i was reading the Python Tutorial and decided to follow one of it's code :
[python]class Cat:
def __init__(self, name):
self.name = name
s..... More

Print this item

  how to use arguments of classes
Posted by: ati68 - Nov-03-2019, 05:13 AM - Forum: General Coding Help - Replies (4)

Hi
I'm new to python
I am writing a code and i imported a module that has many classes and functions
I wanted to know how can i access to arguments..... More

Print this item

  Errors trying to run code
Posted by: ziggyztz - Nov-03-2019, 02:40 AM - Forum: General Coding Help - Replies (3)

I'm very new to python and received some help to create the code, but it isn't super complicated. I am receiving the following errors when trying to ..... More

Print this item

  combining lists in a dictionary
Posted by: Skaperen - Nov-03-2019, 12:18 AM - Forum: General Coding Help - Replies (9)

i have a dictionary in which the values of each element is a list. i am trying to come up with a not complicated comprehension that gives me a..... More

Print this item

  refused connection
Posted by: mcgrim - Nov-02-2019, 10:52 PM - Forum: Networking - Replies (10)

I am trying to take pics with the webcam and send them to the client via socket.
I am not sure why, the server, which I always start first, stops alm..... More

Print this item

  keep only one tuple between 2
Posted by: paul18fr - Nov-02-2019, 09:30 PM - Forum: Data Science - Replies (2)

Hi

I've 2 tuples (coming from numpy.where) which one is necessary empty:
a = tuple1
b = tuple2

In one sentence, I'm wondering how can I keep t..... More

Print this item

  FlexDict - My First Python Module is on PyPI!
Posted by: BerkayOzturk - Nov-02-2019, 08:02 PM - Forum: Code sharing - Replies (1)

Hello,

Today, I released my first Python module on PyPI! FlexDict is a small subclass of dict which provides automatic and arbitrary levels of n..... More

Print this item

  i am getting error while writing code for exception logging
Posted by: rkgupta51179 - Nov-02-2019, 06:26 PM - Forum: General Coding Help - Replies (1)

[python]import logging
import logging.config

logging.basicConfig(filename='mylog.txt', level=logging.ERROR)

logging.error("There isan error in ..... More

Print this item

  please help making a loop faster
Posted by: carla_highlander - Nov-02-2019, 02:39 PM - Forum: Data Science - Replies (10)

I'm working on a forward pass for a neural network. I have written loop within loop within loops. I know there's a way to do this in numpy that is muc..... More

Print this item

  Datasets of grammatically uncommon sentences?
Posted by: regstuff - Nov-02-2019, 01:29 PM - Forum: Data Science - Replies (3)

Hi,
I'm trying to train a model which replaces grammatically correct but uncommon sentences, with their more common counterparts. So I'm looking for ..... More

Print this item

  How to exclude bools from integers?
Posted by: boris602 - Nov-02-2019, 12:06 PM - Forum: General Coding Help - Replies (2)

Hi , for excluding everything, but integers i have found this code

isinstance(n,int)
. My Problem is, if i write[python]isinstance(n..... More

Print this item

  Unable to Access global Variable when switching between frames
Posted by: tziyong - Nov-02-2019, 12:04 PM - Forum: GUI - Replies (1)

Hi all I have tkinter code involving multiple frames. My goal is to have PageOne's label show the text of the button clicked in StartPage.
I created..... More

Print this item

  2 days learning Python 3
Posted by: Donny - Nov-02-2019, 11:59 AM - Forum: Game Development - Replies (6)

Hi all.
My name is Don, I have never written any code but would love to learn Python in my old/late years!
I have just joined this forum, sorry for ..... More

Print this item

  namedtuples and text files
Posted by: menator01 - Nov-02-2019, 11:23 AM - Forum: General Coding Help - Replies (4)

Is it possible to get the values out of a namedtuple that has been stored as a text file?

I am able to get the values out when the namedtuple is fi..... More

Print this item

  Python event in discord with exciting prizes
Posted by: fwiz - Nov-02-2019, 10:44 AM - Forum: News and Discussions - No Replies

SO we're hosting a Python coding event in our discord server and we're giving out exciting prizes such as [b]DISCORD NITRO AND NITRO CLA..... More

Print this item

  Pandas dataframe columns collapsed in Spyder when printing
Posted by: UniKlixX - Nov-02-2019, 10:03 AM - Forum: Data Science - Replies (2)

Hello everyone!

I have this tiny problem when using Pandas inside the Spyder IDE. BTW I am still kind of new to Python and libraries so I hope you ..... More

Print this item

  IDLE does not seem to be a GUI
Posted by: Ron38 - Nov-02-2019, 10:02 AM - Forum: GUI - Replies (7)

Newbie here. Just installed Python 3.8, and started reading a book on Python. The statement was made that IDLe is a GUI, and I should be able to use t..... More

Print this item

  Tetris
Posted by: abscorpy - Nov-02-2019, 09:13 AM - Forum: Game Development - Replies (1)

[python]
import pygame
import random

pygame.font.init()

#GLOBAL VARS

s_width = 800
s_height = 700
play_width = 300
play_height = 600
bl..... More

Print this item

  class AttributeError:
Posted by: anna - Nov-02-2019, 07:51 AM - Forum: General Coding Help - Replies (2)

Hi All,

I am polling Nokia Router device for port optical details through snmp. This router is having 52 ports, all details will be fetched if port..... More

Print this item

  Strange output with regular expressions
Posted by: newbieAuggie2019 - Nov-02-2019, 04:55 AM - Forum: General Coding Help - Replies (1)

Hi!

I'm reading about regular expressions (regex) and experimenting a bit with them. The following little program:

[python]import re

string1 ..... More

Print this item

  parser for LVM head
Posted by: Skaperen - Nov-02-2019, 04:04 AM - Forum: News and Discussions - No Replies

anyone know of a parser for an LVM head? i might want to use that syntax for some other configs.

Print this item

  will with sys.stdout as f: close sys.stdout?
Posted by: Skaperen - Nov-01-2019, 11:47 PM - Forum: General Coding Help - Replies (9)

i have a big block of code the i do not want to duplicate. in one case i want the block to be done with f as an opened file that gets closed at the e..... More

Print this item

  IndexError: List index out of range issue
Posted by: Adem - Nov-01-2019, 10:34 PM - Forum: General Coding Help - Replies (1)

Hi, could someone help me on this code plz ? It says"IndexError: List index out of range issue" in "n = int(sys.argv[1])". btw i m using python 3.7 if..... More

Print this item

  reading an f-string from a file
Posted by: Skaperen - Nov-01-2019, 10:29 PM - Forum: News and Discussions - Replies (4)

i am reading a string from a file. how can i have it be interpreted as an f-string?


[python]
num = 123456789
with open('thefile') as ope..... More

Print this item

  What is header module in speudo-code
Posted by: phuvinh1408 - Nov-01-2019, 09:30 PM - Forum: General Coding Help - Replies (6)

I have a CIS150AB , and I did an assignment, but I got a rep from my instructor like this :
I am not seeing module headers for each module or calls ..... More

Print this item

  MultiThreading Return value issue
Posted by: AvisPaul1 - Nov-01-2019, 08:51 PM - Forum: GUI - Replies (3)

Hi,

I have a small GUI program which reads a drives content and saves it in a csv file. The scanning of the drive takes some time and I am trying t..... More

Print this item

  Python Going to a 12 Month Release Cycle
Posted by: ichabod801 - Nov-01-2019, 08:32 PM - Forum: News and Discussions - No Replies

Announcement from Brett Cannon here. As part of this they are switching deprecation to a two release (two ..... More

Print this item

  where to look for fuzzy wuzzy benchmarks/specs
Posted by: droid15 - Nov-01-2019, 07:48 PM - Forum: Data Science - Replies (1)

I'm considering using fuzzy wuzzy at work to maintain a table of similarities for part numbers. in order to update the similarity table i need to feed..... More

Print this item

  Raspberry Pi Python Rest Post
Posted by: madaxe - Nov-01-2019, 07:30 PM - Forum: General Coding Help - No Replies

I have two questions, i want to call a URL passing in three parameters SensorName Temperature Humidity the sensor is working so the temp and humi para..... More

Print this item

  Frequency and timing of psycopg2 commits
Posted by: acecase - Nov-01-2019, 05:50 PM - Forum: General Coding Help - No Replies

I'm building a tool to do the initial import of data for another app. The data will be read or inferred from the contents of a json file.

The total..... More

Print this item

  SSH port forwarding and connection to SQL Server in separate threads freezes
Posted by: jan_pips - Nov-01-2019, 05:44 PM - Forum: GUI - Replies (25)

To begin with I have to say I was not sure where to put the question but it seems to be after all problem with QT Threading.

I am trying to incorpo..... More

Print this item

  How do I rewrite this .bat file code onto Python?
Posted by: SteampunkMaverick12 - Nov-01-2019, 04:56 PM - Forum: General Coding Help - Replies (4)

set APPDATA=%CD%\data
bin\minecraft.exe
don't ask why

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... 1 hour ago drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... Yesterday, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579311
  Tutorial Requ... 512185
  Web Scraping ... 442203
  Newbie with P... 386310
  New Users Int... 379899
Most reputation
buran 581
snippsat 511
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+ 12109
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
irukson Today
J2M Yesterday
jackhunter Yesterday
EmilyCarter Yesterday
xdimbah Yesterday

User Panel Messages

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