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,979
» Latest member: silversimon2
» Forum threads: 38,732
» Forum posts: 175,563

Full Statistics

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

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 359
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 992
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,044
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 726
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,036
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,475
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,053
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,501
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,392
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,721

 
  Read text file, process data and print specific output
Posted by: Happythankyoumoreplease - Feb-20-2020, 12:02 AM - Forum: Homework - Replies (3)

Please someone HELP!!!!
I have the below homework and no code I've tried worked so far!!!!!
________________________________________________________..... More

Print this item

  Homepage Article Grid
Posted by: JedBoyle - Feb-19-2020, 10:55 PM - Forum: General Coding Help - Replies (1)

Hi

I have been tasked to code a homepage in a three-column grid format.

Articles that appear in the homepage grid can be given a layout value wh..... More

Print this item

  updating a dictionary
Posted by: evansmb - Feb-19-2020, 09:43 PM - Forum: General Coding Help - Replies (2)

I'm new to python and am having a problem updating a dictionary. I'm trying to enter several key/value pairs in a dictionary, however it appears each ..... More

Print this item

  alternative to nested loops for large data set
Posted by: JonnyEnglish - Feb-19-2020, 09:42 PM - Forum: General Coding Help - Replies (2)

Hi, I've created some terribly slow code and I'd like to learn how I can improve it.

I want to turn the ownedcards dictionary of card id's and qua..... More

Print this item

  Calculating distances between adjacent points
Posted by: chascp - Feb-19-2020, 08:03 PM - Forum: Data Science - Replies (1)

I have a code which will calculate the distances between all atoms in a cartesian coordinate system. However, I only want it to calculate it between t..... More

Print this item

  Help with learning path
Posted by: xmendizabal - Feb-19-2020, 07:15 PM - Forum: News and Discussions - Replies (3)

Hello, community! I am pretty new to python programming, though I do have knowledge of other languages (Pascal and Matlab). I need to learn object-ori..... More

Print this item

  How to include pandas with pyinstaller
Posted by: Rickus - Feb-19-2020, 06:18 PM - Forum: General Coding Help - Replies (1)

Hello,

I am trying to build an exe with pyinstaller I a getting aModuleNotFoundError no module named 'pandas'

I have tried the following so far:..... More

Print this item

  counting items in a list of number combinations
Posted by: Dixon - Feb-19-2020, 06:08 PM - Forum: General Coding Help - Replies (2)

import itertools
numbers = [1,2,3,4,5,6,7,8,9,10]
result = itertools.permutations(numbers,2)
for item in result:
    print (item)
..... More

Print this item

  tkinter prob
Posted by: DPaul - Feb-19-2020, 04:34 PM - Forum: GUI - Replies (1)

Hi,

I am using tkinter and may be doing something not allowed.

Here is the pseudocode:
I have a listbox with items in it.
When i click on an item it..... More

Print this item

  list loop and drop
Posted by: 3Pinter - Feb-19-2020, 04:28 PM - Forum: General Coding Help - Replies (1)

Hi,

I have a list and I loop it:
grab first item and do something with each item in the list
after that is done: no more need for first item.

..... More

Print this item

  JSON to Dataframe
Posted by: DrX - Feb-19-2020, 04:18 PM - Forum: Data Science - Replies (1)

Hello everyone, I am new here so please be gentle. I need to parse some JSON and convert to a Dataframe but am having the difficulty in getting the ri..... More

Print this item

  Solve Pynput Problem when changing language?
Posted by: ppel123 - Feb-19-2020, 03:34 PM - Forum: General Coding Help - No Replies

Hi everyone,
I am working on a project in PYTHON and I want to create a keylogger for 2 languages english and greek.
For this I have created the be..... More

Print this item

  Arrange my looped template data in rows
Posted by: JedBoyle - Feb-19-2020, 01:41 PM - Forum: General Coding Help - No Replies

Hello

I have Django set up to take in data from the admin. I have looped the data using template tags and template variables:

[html]
{..... More

Print this item

  ODBC iPhone to PC
Posted by: KipCarter - Feb-19-2020, 11:53 AM - Forum: General Coding Help - No Replies

I am making good progress in my Python crash course! This forum has been extremely helpful in that effort.
I want to expand on what I have learned t..... More

Print this item

  AttributeError: type object 'FunctionNode' has no attribute '_TestValidateFuncLabel__
Posted by: binhduonggttn - Feb-19-2020, 11:29 AM - Forum: General Coding Help - No Replies

I have a file to validate the label
[python]
#configmanager.py

class FunctionNode(object):
def __validate_func_label(self, func_label):
..... More

Print this item

  Movie lens data analysis
Posted by: sekhar_desiraju - Feb-19-2020, 10:38 AM - Forum: Homework - Replies (4)

Data set screenshot

how can i find the number of movi..... More

Print this item

  If item in list = true, Output = xx
Posted by: kroh - Feb-19-2020, 09:17 AM - Forum: General Coding Help - No Replies

Hi all!
I am totally new to Python, i hope i can learn one day...
I am currently Working with Revit Architecture and Dynamo (Visual Programming).
..... More

Print this item

  Pylint/pyflakes/flake8 missed AttributeError
Posted by: elyoni - Feb-19-2020, 07:01 AM - Forum: General Coding Help - Replies (2)

Hi,
I have the code
[python]class MainC:
def __init__(self):
self.arg1 = None

# Method One, Not working
OBJ_LIST = {}
for i in r..... More

Print this item

  Paul Rubin p3.py lightweight encrypt/decrypt - is there a python3 version?
Posted by: mason28 - Feb-19-2020, 03:38 AM - Forum: General Coding Help - No Replies

Hi all,

I'm currently using the lightweight encryption/decryption script by Paul Rubin on python2.7 below. I was wondering if there's a python3 ver..... More

Print this item

  ZeroDivisionError: float division by zero
Posted by: Jionni - Feb-19-2020, 12:04 AM - Forum: GUI - Replies (8)

Hi,
in line 132, I always get a ZeroDivisionError. Does anybody have a hint to solve the issue??
Actually, I want to show a popup-window, if the use..... More

Print this item

  password saver/manager
Posted by: Skaperen - Feb-18-2020, 07:22 PM - Forum: News and Discussions - Replies (2)

is there any nice Python3 script around that can save/manage passwords for end user usage (not for servers to authenticate with) that includes additio..... More

Print this item

  urllib3 Problem?
Posted by: gw1500se - Feb-18-2020, 07:05 PM - Forum: General Coding Help - Replies (8)

I have a script that uses the MailJet REST API which has just started failing. I don't understand what the problem is because the error message refere..... More

Print this item

  Function Runs 10 Times Instead of Once
Posted by: PolarBear123 - Feb-18-2020, 06:38 PM - Forum: Game Development - Replies (1)

I have written a simple racing game in Pygame Zero. This comes from the MagPi *"Retro Gaming with Raspberry Pi"* Book. I am a beginner programmer so I..... More

Print this item

  installing anaconda packages offline
Posted by: HulkHogansArmsArePythons - Feb-18-2020, 06:20 PM - Forum: Data Science - Replies (4)

Good Afternoon All,

i am trying to resolve issues with the Numpy & Pandas packages that installed with anaconda.
Our dev environment does not hav..... More

Print this item

  'int' object is not iterable
Posted by: el_bueno - Feb-18-2020, 05:44 PM - Forum: General Coding Help - Replies (2)

Hello Everyone!

Why do I see the error ('int' object is not iterable) when I add the method list?
[python]list02=[a,b,c,d,e,f,g,h,i,..... More

Print this item

  Guido van Rossum about starting contributing to CPython
Posted by: buran - Feb-18-2020, 04:44 PM - Forum: News and Discussions - No Replies

Guido van Rossum about starting contributing to CPython

Print this item

  scrap by defining 3 functions
Posted by: zarize - Feb-18-2020, 03:55 PM - Forum: Web Scraping & Web Development - No Replies

Hi guys,

I want to make a scrapping using 3 functions so i defined

[python]def header_template():
for i in range(1, 3):
big_soup =..... More

Print this item

  Py2exe Writing UNKNOWN-0.0.0-py3.7.egg-info
Posted by: Rickus - Feb-18-2020, 02:36 PM - Forum: General Coding Help - Replies (2)

Hello,

I using py2exe to generate an executable,

Here is my setup.py

[python]from distutils.core import setup
import py2exe
setup(windows=..... More

Print this item

  Can't Get Entry Var in Tkinter
Posted by: OCaraDoBaixo - Feb-18-2020, 01:40 PM - Forum: GUI - Replies (1)

[python]
class Classe1():

def button_label(self, chosen_row, textoescrito, variavel):
lb1 = Label(frame2, text=textoescrito, bg=color..... More

Print this item

  pyahk not working
Posted by: Zenot1c - Feb-18-2020, 01:04 PM - Forum: General Coding Help - Replies (3)

Im sorry if this is in the wrong place, please delete if it is:
Whenever i try to "pip install pyahk" it gives this error:
ERROR: Command errore..... More

Print this item

  how to read json file
Posted by: jk91 - Feb-18-2020, 11:48 AM - Forum: General Coding Help - Replies (34)

Hi,

how to write a very tough program code for below problem:

Utility to read JSON file from file server

2. Utility should run at scheduled t..... More

Print this item

  simple login problem
Posted by: MMOToaster - Feb-18-2020, 10:54 AM - Forum: General Coding Help - Replies (2)

[python]
numbertable = ["1","2","3","4","5","6","7","8","9"]
fname= input("Your First name?")
lname = input("Your Last name?")
if " " in fname or lnam..... More

Print this item

  Help Screen Scraping
Posted by: andrewnzinuk - Feb-18-2020, 10:34 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi. I am new to Python and have be dabbling with some screen scraping. I was doing alright until I came to my first real world problem. I have some da..... More

Print this item

  Help in pandas group by
Posted by: prakash8813 - Feb-18-2020, 08:39 AM - Forum: Data Science - No Replies

I have below dataframe:-
df=pd.DataFrame({'a':[1,1,1,1,2,2,2,2],'b':[1,1,2,2,2,6,7,7]})
a b
1 1
1 1
1 2
1 2
2 2
2 6
2 7
2 7

I want to cre..... More

Print this item

  Very big font needed
Posted by: juhanjuku - Feb-18-2020, 08:19 AM - Forum: GUI - Replies (6)

I need 5 digits counter number to fill HD screen, so it can be visible from long distance.
So far I can't find how to make fonts bigger than 127?
I ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 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... 577414
  Tutorial Requ... 500848
  Web Scraping ... 441059
  Newbie with P... 385115
  New Users Int... 369648
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
silversimon2 Yesterday
alissapena8 Yesterday
hoki1881 Yesterday
stephaniehendrix Yesterday
Schirag Yesterday

User Panel Messages

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