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,303
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,906

Full Statistics

Online Users
There are currently 51 online users.
» 1 Member(s) | 45 Guest(s)
Bing, Mojeek, AOL, Google, AOL, perfringo

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 06:10 PM
» Replies: 4
» Views: 157
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 171
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 691
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,815
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 158
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 140
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 223
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,221
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 331
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 218

 
  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

  python homework
Posted by: MajaW - Dec-11-2018, 03:26 PM - Forum: Homework - Replies (3)

Hi. I've been trying to finish my homework, but I don't know how to do the last part. I was given a data file called 'BP20dataset.csv' which contains ..... More

Print this item

  How to change the resolution of an image and save multiple plots.
Posted by: pianistseb - Dec-11-2018, 03:26 PM - Forum: Data Science - Replies (1)

This code solves a differential equation by the method of 4nd Runge-Kutta. It works fine, but I want to save the diagram for each loop with high resol..... More

Print this item

  import file into dictionary
Posted by: gehrenfeld - Dec-11-2018, 02:42 PM - Forum: General Coding Help - Replies (2)

I have a file with the following. It is delimited with tabs

[quote]
132 2018/07/28 01:41 0 141
133 2018/07/28 01:56 0 133
134 2018/07/28 02:11 0..... More

Print this item

  function method problems
Posted by: drchar - Dec-11-2018, 10:51 AM - Forum: General Coding Help - Replies (2)

Hi all! Just a quick one as I'm new to Python and have square eyes after attempting to solve a simple issue after working with a java proj. of mine. J..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... Yesterday, 18:10 Lou snippsat General Codin...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579476
  Tutorial Requ... 512685
  Web Scraping ... 442337
  Newbie with P... 386392
  New Users Int... 381229
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+ 12113
buran 8196
snippsat 7391
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Yesterday
TimTom420 11-27
cruisesfares 11-27
SNR 11-27
Jonathan 11-27

User Panel Messages

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