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,964
» Latest member: Edzed4431
» Forum threads: 38,730
» Forum posts: 175,547

Full Statistics

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

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 4
» Views: 117
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:58 PM
» Replies: 1
» Views: 491
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,034
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,592
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 490
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 958
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 972
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,243
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,853
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,894

 
  Need help with weird tuple syntax
Posted by: mwskz8 - Dec-13-2018, 09:34 AM - Forum: General Coding Help - Replies (2)

Hi, I'm learning Python through an example below. However, I see a line that is weird. The line is marked as # mark-1. I understood ..... More

Print this item

  File IO Help
Posted by: jarrod0987 - Dec-13-2018, 09:14 AM - Forum: General Coding Help - Replies (5)

I have found that running a program in IDLE is slower then running it by right clicking and openwith Python. Also, that second way let's me run multip..... More

Print this item

  Couldn't really understand the problem
Posted by: Batselot - Dec-13-2018, 06:58 AM - Forum: General Coding Help - Replies (1)

Hi there everyone,this might be a dumb question to ask.But for this euler question I didn't know where to begin what the question meant,basically I co..... More

Print this item

  homeworking using only numpy package
Posted by: kirito85 - Dec-13-2018, 06:49 AM - Forum: Homework - Replies (4)

Hi, I have difficulty doing my loop, will appreciate any help.

my isnumeric() is not working, i just need to show that isnumeric is false.

My ..... More

Print this item

  Ascii Tree Art
Posted by: beepBoop123 - Dec-12-2018, 11:46 PM - Forum: Homework - Replies (5)

Hi, I'm trying to create a function that will make the correct sized ascii Christmas tree art based on the size passed in. This is what I have so far..... More

Print this item

  Tokenize with RegEx python homework
Posted by: pythoncrazy1 - Dec-12-2018, 11:40 PM - Forum: Homework - Replies (2)

Hello everyone,
I have a Tokenize exercise and i'm not allowed to use the nltk. I'm kind of stuck on the regex. I am having problems with the quotatio..... More

Print this item

  recive post request from client(browser) python sockets
Posted by: kunz - Dec-12-2018, 10:13 PM - Forum: Networking - Replies (1)

i am writing a simple webserver without using any libraries in python i am trying to recive a post request from the browser

HTML FILE

[ou..... More

Print this item

  Speech Recognition
Posted by: Ash23733 - Dec-12-2018, 09:16 PM - Forum: General Coding Help - Replies (1)

I'm using speech recognition to detect certain words. at the moment im just testing but I keep running into an error. I'll insert my code as well as t..... More

Print this item

  Inventory Management Optimization problem
Posted by: Mini_Miudo - Dec-12-2018, 09:14 PM - Forum: Homework - Replies (1)

Hey everyone. So, I don't know if this is the right place to post this, I'm starting my dissertation so this isn't really "homework" per se, but my fi..... More

Print this item

  Read XML-File
Posted by: yuyu - Dec-12-2018, 08:48 PM - Forum: Web Scraping & Web Development - Replies (16)

Hello Forum,

I've got a XML-File with al lot of names, age and a number as follows:

## inputfile ##
<Name>Tim</Name>
<Age>23</Age>
<Number>12..... More

Print this item

  Dictionaries in dictionaries
Posted by: misha - Dec-12-2018, 08:16 PM - Forum: Homework - Replies (4)

Hey guys!
I have a question about dictionaries, namely how I can create a nested dictionary from a loop.
The problem is as follows. I have a farm and ..... More

Print this item

  Break the Code
Posted by: caitlinworwood - Dec-12-2018, 08:00 PM - Forum: Homework - Replies (1)

I am struggling with an assignment for my python class. He hasn't taught us how to do these things, so I am stuck on how create a function that would ..... More

Print this item

  Better than an array
Posted by: oldcity - Dec-12-2018, 07:09 PM - Forum: General Coding Help - Replies (4)

Using Linux Mint 18.2 and Python 3.5.2 as before I'm old school basic.
Need help with this array type problem.
tia
oldcity

[python]

#!/usr/b..... More

Print this item

  Find closest string pattern
Posted by: jmair - Dec-12-2018, 07:07 PM - Forum: General Coding Help - Replies (9)

I need a way to identify the closest matching list based on the string based on the sequence of words.

for example.
my_list = ['one', 'two', 'three' ..... More

Print this item

  error accessing data
Posted by: kaykay - Dec-12-2018, 05:22 PM - Forum: Web Scraping & Web Development - Replies (1)

Error:
Class 'CRUD' has no 'objects' member [E1101]
[python]
class CRUDList(ListView):
model = CRUD

def get_queryset(self):..... More

Print this item

  Layout unwanted space
Posted by: WatcherMagic - Dec-12-2018, 04:23 PM - Forum: GUI - Replies (2)

I've got a widget I'm designing with code.

https://sta.sh/01fewfus0r9s

I want the buttons and text box to take up nearly the whole page, with th..... More

Print this item

  Newbie lists problem
Posted by: LedDiode - Dec-12-2018, 03:58 PM - Forum: General Coding Help - Replies (5)

Hi,

I'm trying to learn Python by myself, and while trying some code to learn more about lists I tried something that didn't output what I did excep..... More

Print this item

  Doesn't look like a dictionary
Posted by: gehrenfeld - Dec-12-2018, 03:14 PM - Forum: General Coding Help - Replies (15)

[python]
with open('summary.txt') as f:
reader = csv.DictReader(f, delimiter=',')
data = {int(row['ID']): row for row in reader}

f.close..... More

Print this item

  Pong game key.event problem
Posted by: erickDarko - Dec-12-2018, 02:33 PM - Forum: Game Development - Replies (2)

I'm writing a simple pong game with OOP Wall and i have this issue when i move the left and right paddle, they don't move in a continuous way, i h..... More

Print this item

  Iterating trough Unique Object List
Posted by: yelyah - Dec-12-2018, 09:11 AM - Forum: General Coding Help - Replies (1)

Hello!
I am stuck with idea of creating unique object list where I have this log:
[quote]
0.001051 1 1 Rx d 8 00 00 00 05 00 00..... More

Print this item

  movie web app
Posted by: Shahilsky - Dec-12-2018, 07:29 AM - Forum: Web Scraping & Web Development - Replies (1)

I am beginner level django developer, I have a question,

Can anyone tell me the prerequisites for developing
a web app for hosting information abo..... More

Print this item

  video player inside a frame/panel in python raspberry pi desktop application
Posted by: MATHEWS - Dec-12-2018, 06:44 AM - Forum: GUI - Replies (1)

how to add a video player inside a frame/panel in python raspberry pi desktop application

İmage

Print this item

  Python Homework Help
Posted by: beepBoop123 - Dec-12-2018, 03:04 AM - Forum: Homework - Replies (2)

Hi, I currently need some help getting the index to show with the words I split and and made uppercase. This may me an easy fix or more complicated, I..... More

Print this item

  Dictionary/List Homework
Posted by: ImLearningPython - Dec-12-2018, 12:13 AM - Forum: Homework - Replies (22)

Hello all!!

I am currently working on a homework assignment where I need to get information from a dictionary based off of a list. Example:
dict..... More

Print this item

  help using functions from other files
Posted by: lga13 - Dec-11-2018, 11:28 PM - Forum: Homework - Replies (3)

Can anyone assist with this, I am trying to import a calculation from maths.py into my file main.py, I think i have it set properly to pull the calcul..... More

Print this item

  platformer problem
Posted by: abscorpy - Dec-11-2018, 09:50 PM - Forum: Game Development - Replies (1)

im trying to make a platformer Big Grin


but it doesnt work properly

first of all, what it should do is that the man should face right or l..... More

Print this item

  CSV import is not working
Posted by: gehrenfeld - Dec-11-2018, 09:50 PM - Forum: General Coding Help - Replies (7)

Here is the code I am using
[python]
with open('summary.txt') as f:
reader = csv.DictReader(f, delimiter=',')
data = [row for row in reade..... More

Print this item

  Dictionary Homework
Posted by: beepBoop123 - Dec-11-2018, 09:46 PM - Forum: Homework - Replies (3)

Hi, I keep getting an error that says "str' object has no attribute 'items" on line 3 and I don't understand why. Can someone help me fix the code? Th..... More

Print this item

  Can't store pandas converted json dataframe into mongoDB
Posted by: mahmoud899 - Dec-11-2018, 08:12 PM - Forum: Data Science - Replies (1)

I am using the Quandl python api. I downloaded data and the data was returned into a pandas dataframe. I use to_json(None, orient='records') function ..... More

Print this item

  OMDB API KEY format
Posted by: Linuxdesire - Dec-11-2018, 07:56 PM - Forum: General Coding Help - Replies (4)

Hello everyone,
I found a tutorial at IMDB[/[url=https://python-forum.io/thread-14675.html]..... More

Print this item

  Algorithm to solve a case of Travelling Salesman Problem
Posted by: Ale888 - Dec-11-2018, 07:30 PM - Forum: Homework - Replies (3)

Hey,
does this make sense to you guys?:

[Image: BahfB4j]

It's supposed to be an algorithm to find the shortest distance to be ..... More

Print this item

  Looking For Help On Controlling Philips Hue From PyCharm
Posted by: RickyRay333 - Dec-11-2018, 06:48 PM - Forum: General Coding Help - Replies (4)

This is my first post. I hope I am posting in the correct area.
I very recently started learning python because I am interested in home automation (I..... More

Print this item

  Error TypeError: KeyboardSwitch() missing 8 required positional arguments: 'msg', 'vk
Posted by: Camember_beret_baguette - Dec-11-2018, 05:23 PM - Forum: GUI - Replies (1)

Hi, I've a problem :

My program return me this :

[python]TypeError: KeyboardSwitch() missing 8 required positional arguments: 'msg', 'vk_code', ..... More

Print this item

  Neural network
Posted by: nesrine - Dec-11-2018, 03:48 PM - Forum: Data Science - No Replies

Hello ,

I have this code of neural network:

[python] import numpy as np

#X = np.array(([1 , 0],),)
#yd = np.array(([1],), )
#xPredicted =..... More

Print this item

  Dictionaries homework
Posted by: pythoncrazy1 - Dec-11-2018, 03:39 PM - Forum: Homework - Replies (8)

Hello everyone,
So basically i am trying to solve an homework about dictionaries:
"We will call two words “opposite” if one is equal to
the other r..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 4 hours ago tester_V noisefloor General Codin...
  My goal to be hired worki... Yesterday, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [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...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
Most views
  The best Prog... 577205
  Tutorial Requ... 500239
  Web Scraping ... 440903
  Newbie with P... 384918
  New Users Int... 369216
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+ 12089
buran 8176
snippsat 7368
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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