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,558

Full Statistics

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

Latest Threads
Webscrapping sport bettin...
Forum: Web Scraping & Web Development
Last Post: Williamcaurb
1 hour ago
» Replies: 5
» Views: 13,796
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 6
» Views: 713
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
4 hours ago
» Replies: 0
» Views: 39
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
7 hours ago
» Replies: 8
» Views: 445
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,822
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,224
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,795
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,191
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,153

 
  Issue with Pygame opening my Sprite png
Posted by: briskkee000 - Feb-20-2019, 06:33 PM - Forum: Homework - Replies (1)

[python]
import pygame, sys
from pygame.locals import *
from random import randrange

#initialize pygame
pygame.init()

#colors
black = (0,0,..... More

Print this item

  Resource Monitoring
Posted by: MuntyScruntfundle - Feb-20-2019, 05:09 PM - Forum: General Coding Help - Replies (1)

Hi folks.

I've posted a similar question to this before, I've also spent a lot of time looking for answers and haven't found anything that fits the..... More

Print this item

  RelatedObjectDoesNotExist: User has no profile. Django 1.11
Posted by: m0ntecr1st0 - Feb-20-2019, 05:05 PM - Forum: Web Scraping & Web Development - Replies (1)

After registration I get error. In admin page I see, that user is created, but profile doesn't exist.
I see, that user has attribute profile, but..... More

Print this item

  Flipping matrices problem
Posted by: Qmohankumar0017 - Feb-20-2019, 03:52 PM - Forum: General Coding Help - Replies (10)

My question is:
A two dimensional matrix can be represented in Python row-wise, as a list of lists: each inner list represents one row of the matrix...... More

Print this item

  Serial USB problem
Posted by: DPaul - Feb-20-2019, 03:38 PM - Forum: General Coding Help - Replies (3)

Hi,
I have received very valuable help here last week, so i'll try again :-)
I have a bunch of microbits that collect data (max 10).
They "radio" the ..... More

Print this item

  Plotting Matplotlib Grid Lines
Posted by: gehrenfeld - Feb-20-2019, 03:04 PM - Forum: GUI - Replies (12)

The below script works but I would like to add x minor grid lines.
I am new to Matplotlib so I also fill like I am not sure I am doing everything cor..... More

Print this item

  Iterate over excel-sheets using xlrd
Posted by: tobbs - Feb-20-2019, 01:57 PM - Forum: General Coding Help - Replies (6)

Hi, i can't iterate over excel-sheets the way i want.

First the code without iteration, wiitch works fine;

[python]xl_fil_resultat = xlrd.open_..... More

Print this item

  Running K-Neighbors: mix of multiclass and continuous targets
Posted by: Gigux - Feb-20-2019, 01:44 PM - Forum: Data Science - No Replies

Dear all,
I am working on a pandas dataframe df and I would like to implement a K-Neighbors Classifier with sklearn. I have three variables that wo..... More

Print this item

  Visual studio and
Posted by: Afzal - Feb-20-2019, 11:10 AM - Forum: News and Discussions - No Replies

I am using visual studio Version: 1.31.1 (user setup) in my system OS: Windows_10 x64bit
I am facing problem when i am adding git link in prefrence/s..... More

Print this item

  flask app to save images locally when deployed on heroku not working
Posted by: Prince_Bhatia - Feb-20-2019, 10:44 AM - Forum: Web Scraping & Web Development - Replies (1)

I have written an app https://images99acres.herokuapp.com/.

This app allow users to upload images, if i run this app locally this app uploads image..... More

Print this item

  Could not parse the remainder: '=' from '='
Posted by: Saurabh - Feb-20-2019, 10:11 AM - Forum: General Coding Help - Replies (3)

I am upgrading from python 2 to 3 .



{% if category = 'media-articles' %}
Could not parse the remainder: '=' from '='


This strange i..... More

Print this item

  Deploy flask app on Heroku
Posted by: Prince_Bhatia - Feb-20-2019, 09:05 AM - Forum: Web Scraping & Web Development - No Replies

Hi i have written a flask app that will allow user to upload images and those images will be saved in my local drive.

I am trying to upload that ap..... More


Attached Files

.txt   requirements.txt (Size: 161 bytes / Downloads: 465)
.py   app.py (Size: 2.11 KB / Downloads: 556)
Print this item

  write each line of a text file into separate text files and save with different names
Posted by: Shameendra - Feb-20-2019, 08:31 AM - Forum: General Coding Help - Replies (3)

Hi guys, I have a text file which contains the following value:
[output]('Yellow_Hat_Person', [293, 997, [...]], [328, 1031, [...]])

('Yellow_Hat_..... More

Print this item

  How to retrieve and save attachments returned by SOAP web service
Posted by: ashwsrin - Feb-20-2019, 07:12 AM - Forum: General Coding Help - No Replies

Hello,

I'm trying to invoke a SOAP web service, that returns multiple attachments in the response. I would like to automate invoking this service a..... More

Print this item

  python web app help
Posted by: birb - Feb-20-2019, 06:12 AM - Forum: Web Scraping & Web Development - Replies (1)

Where can I find a tutorial or code sample of the following scenario.

1. A user inputs data into a form text input field and this data is stored in..... More

Print this item

  Class Help
Posted by: thomaskissas40 - Feb-20-2019, 06:10 AM - Forum: Homework - Replies (14)

Dear Friends
I am new in Python Programming and i try to exercise myself with some small programs. I try to study classes so i made the above small p..... More

Print this item

  How can I prevent context switching when calling an async function?
Posted by: AlekseyPython - Feb-20-2019, 05:56 AM - Forum: General Coding Help - Replies (1)

If I use async functions, then all the functions above the stack should also be async, and their call should be preceded by the await keyword. This ex..... More

Print this item

  Is it possible to perform a PUT request by passing a req body instead of an ID
Posted by: ary - Feb-20-2019, 05:55 AM - Forum: Web Scraping & Web Development - No Replies

I'm working on a Project using Python(3), Django(1.11) and DRF(3.6) in which I have to perform a PUT request by passing an Object instead of an ID.
..... More

Print this item

  How to import random?
Posted by: 1nc1 - Feb-20-2019, 05:00 AM - Forum: General Coding Help - Replies (1)

Extremely stupid question below, beware. NSFW

Hello, I have been browsing the web and have come across a number guessing..... More

Print this item

  Pixiedust install in Ubuntu
Posted by: ErnestTBass - Feb-20-2019, 04:40 AM - Forum: General Coding Help - No Replies

I installed the jupyter notebook pixiedust on my
Ubuntu 16.04. The output is shown as below.

[code]
$ python3
Python 3.5.2 (default, Nov 12 2018..... More

Print this item

  How to make Python MakeFile
Posted by: artblinked - Feb-20-2019, 03:40 AM - Forum: General Coding Help - Replies (1)

Hello!

As I understand it makefiles are not so much required for python because it's not a compiled language, moreso interpreted. However, I need t..... More

Print this item

  looking for a help doc about Python on Windows
Posted by: Skaperen - Feb-20-2019, 12:35 AM - Forum: News and Discussions - Replies (1)

i want to have a copy of and/or a URL pointing to a document that tells people how to install Python3 and how to download, store, enable, and run Pyth..... More

Print this item

  listbox ipadx, ipady not working
Posted by: maxtimbo - Feb-19-2019, 11:37 PM - Forum: GUI - Replies (4)

Perhaps not working properly is the better term here. If you:
[python]
import tkinter as tk
from tkinter import ttk

class MyApp(ttk.Frame):
..... More

Print this item

  Variable defined but python wont recognize it.
Posted by: FWendeburg - Feb-19-2019, 09:24 PM - Forum: General Coding Help - Replies (3)

Hi, i'm making a program that is supposed to randomly generate numbers between the parameters given.

I just copied a bit of the code to show the pr..... More

Print this item

  Complex Integer
Posted by: saumyagoel - Feb-19-2019, 06:43 PM - Forum: General Coding Help - Replies (3)

Hi All,

I am trying certain things for my project, but I am stuck at few points. Any pointers on the below points will help.

Coming to doubts on..... More

Print this item

  SEEKING BETA TESTERS W/ PYTHON EXPERIENCE
Posted by: ltarshis - Feb-19-2019, 06:24 PM - Forum: News and Discussions - No Replies

Have familiarity with Python, linear algebra, multivariate calculus, and statistics? eCornell is seeking participants to beta test the f..... More

Print this item

  write in a distant file, code improvement with a list
Posted by: lateublegende - Feb-19-2019, 04:02 PM - Forum: Code sharing - Replies (7)

hello, I have a code, and it is simply, but it need to be improved. My code get all value in the line. They assigned the value to the number of the li..... More

Print this item

  Selenium Webdriver Automate
Posted by: gahhon - Feb-19-2019, 03:35 PM - Forum: Web Scraping & Web Development - Replies (1)

As I can build a simple python script to perform automate process on some website, by using the webdriver.
as my simple python script, basically is u..... More

Print this item

  How to call a function from exe file via CMD
Posted by: gahhon - Feb-19-2019, 03:17 PM - Forum: General Coding Help - No Replies

It is possible to do that so?
This is also due to the same reason as previous posts (if you got read them)

I am using AutoIT to design fancy GUI, whi..... More

Print this item

  GNS3 telnet from bash terminal to virtual cisco router
Posted by: marienbad - Feb-19-2019, 02:25 PM - Forum: Networking - Replies (2)

I am running Ubuntu and have installed GNS3. I followed the tutorial on the basics of setting up a couple of cisco routers here: https://docs.gns3.co..... More

Print this item

  Unexpected round behavior
Posted by: pythonCoder - Feb-19-2019, 12:50 PM - Forum: General Coding Help - Replies (1)

Hi, I was using IDLE and trying to do: round(9/2) -- surprised that it says 4.. round(11/2) and round(7/2) all appear correct. How can we explain this..... More

Print this item

  Open parrallel problem
Posted by: Clement_2000 - Feb-19-2019, 12:14 PM - Forum: GUI - Replies (2)

[i][size=xx-small]*** I Don't know why, I already tried to post this, but for some reason it seams that my post disappeared or was never posted (maybe..... More

Print this item

  Multi connection socket server help!
Posted by: MuntyScruntfundle - Feb-19-2019, 12:03 PM - Forum: Networking - No Replies

If I have the following:

[python]def Server():

host='0,0,0,0'
port=12345
print("Server....opening port " + str(host) + " " + str (port))
..... More

Print this item

  HTML+CGI (if __name__ == '__main__')
Posted by: mahesh - Feb-19-2019, 11:49 AM - Forum: Web Scraping & Web Development - Replies (6)

Hi, I am new to Python + CGI. my application is to searching multiple file using parallel processing. each process return the output any time. I want ..... More

Print this item

  RuntimeError: dictionary changed size during iteration
Posted by: anna - Feb-19-2019, 11:08 AM - Forum: General Coding Help - Replies (4)

Hi All,

parsing configuration, and updating dict, in second loop I am parsing network routes, post matching, updating dict. But facing error, is th..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Webscrapping sport bettin... 1 hour ago KoinKoin Williamcaurb Web Scraping ...
  Unable to resolve FileNot... 3 hours ago llarkin6 noisefloor General Codin...
  Integer Factorization Too... 4 hours ago fosuwxb fosuwxb Code sharing
  Comparing 2 100GB Drives/... 7 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...
Most views
  The best Prog... 577305
  Tutorial Requ... 500529
  Web Scraping ... 440978
  Newbie with P... 385010
  New Users Int... 369462
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