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,982
» Latest member: kyleconor797
» Forum threads: 38,733
» Forum posts: 175,570

Full Statistics

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

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Pedroski55
6 hours ago
» Replies: 5
» Views: 144
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,032
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 445
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,078
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,141
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 812
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,096
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,544
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,131
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,590

 
  Django problem with files
Posted by: menator01 - Jan-05-2020, 03:25 AM - Forum: Web Scraping & Web Development - Replies (1)

When working on the test server I am able to delete old user profile images when a new one is uploaded, however when attempting this on a staging serv..... More

Print this item

  How to include Variable in File Path
Posted by: penahuse - Jan-05-2020, 12:43 AM - Forum: General Coding Help - Replies (3)

hi guys!

Im struggling for play a sound with this command.

I need XXX become the current_sound value.

Can you help me? how you can see im ver..... More

Print this item

  get "Birthdate" from File inside a Zipfile
Posted by: lastyle - Jan-05-2020, 12:34 AM - Forum: Data Science - No Replies

I am using the zipfile Module to extract and detect the Birthdate of a file inside a Zip, but as soon as i extract the file to get the Date from the F..... More

Print this item

  How many Python versions do I need?
Posted by: kenatsun - Jan-04-2020, 11:45 PM - Forum: General Coding Help - Replies (3)

I'm about to upgrade a Window machine from Win 7 to Win 10, with a clean install. So I will have to reinstall all my apps, including Python.

Cur..... More

Print this item

  NEED HELP WITH OU QUIZ
Posted by: Tskrets - Jan-04-2020, 10:41 PM - Forum: Homework - Replies (4)

hi guys,

i am stuck on a few questions from my Open Uni Coding for data analysis (python).

[img]https://www.open.edu/openlearn/ocw/mod/quiz/review.p..... More

Print this item

  plotting data without plt.clear()
Posted by: omar_mohsen - Jan-04-2020, 08:30 PM - Forum: General Coding Help - No Replies

I am trying to use a matplotlib module in order to draw data coming from notepad the problem is that I must clear the data every time I parse data in ..... More

Print this item

  Saving links as text
Posted by: hessu - Jan-04-2020, 06:19 PM - Forum: Web Scraping & Web Development - Replies (1)

[python]
from urllib.request import urlopen
from bs4 import BeautifulSoup
import re

pages=set()
def getLinks(pageUrl):
global pages
h..... More

Print this item

  send repeated messages with apscheduler
Posted by: pylab - Jan-04-2020, 05:08 PM - Forum: General Coding Help - Replies (1)

Hey there,

I've been working on my code, a bit, and i want to make it work more efficient.

I want to make a program that sends a random photo from ..... More

Print this item

  Please help me understand how to use global variables
Posted by: joew - Jan-04-2020, 05:01 PM - Forum: General Coding Help - Replies (6)

I'm new to Python as of 1 week ago and I'm trying to write a simple stock market backtester. In my program, I want to change a global variable called ..... More

Print this item

  Can't we add 1 and True to set ?
Posted by: Prakash - Jan-04-2020, 02:29 PM - Forum: General Coding Help - Replies (1)

result=set()
result.add(1)
result.add(True)
result.add('Science')
print(result)
Result returned:
{1, 'P'}

I am adding ..... More

Print this item

  pydev debugger: process 3442 is connecting when I run a program with ALT+COMMAND+R
Posted by: Seneca260 - Jan-04-2020, 12:40 PM - Forum: General Coding Help - Replies (1)

Hi,

Whenever I try to run a program I am getting an error that reads:

pydev debugger: process 3442 is connecting

The 3442 can be replaced wit..... More

Print this item

  Pygame writing using fonts and labels
Posted by: Help_me_Please - Jan-04-2020, 12:03 PM - Forum: Game Development - Replies (2)

Hello,

I have created a game which has an error in the display of the label when I want to close the pygame window, my pygame window is not the pro..... More

Print this item

  Problem with Submit button Tkinter
Posted by: Reldaing - Jan-04-2020, 09:39 AM - Forum: GUI - Replies (2)

HI, If you take a look on my precedent code , I managed to do it. The issue is when I press the button "make_it", it prints me 0, so I think that noth..... More

Print this item

  The coordinates of the Entry widget (canvas) when moving
Posted by: berckut72 - Jan-04-2020, 08:39 AM - Forum: GUI - Replies (8)

sorry i don't know english well
Did scrolling objects on canvas through the canvas.move () method - changing the coordinates of the object when scrol..... More

Print this item

  Python web framework
Posted by: Revenant - Jan-04-2020, 01:51 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello everyone,

I am working on creating new web framework using python, but I don't exactly know where to start.

I read too many articles on th..... More

Print this item

  heap enhancements
Posted by: rontoto - Jan-04-2020, 01:09 AM - Forum: Homework - Replies (1)

Hi guys, the code is working, but I want know, what I can improve on my code. It is like implements the simulation of shipment clearance in the depot..... More

Print this item

  Python Turtle Help
Posted by: codinghero - Jan-03-2020, 11:56 PM - Forum: General Coding Help - Replies (1)

Hi everyone! i am new to python turtle and i am learning how to use the random.randint feature to create 100 different shapes of size, color, and loca..... More

Print this item

  Python Library for Reading POP Emails?
Posted by: bmccollum - Jan-03-2020, 11:39 PM - Forum: General Coding Help - Replies (1)

Trying to determine if the poplib Python library is the appropriate one that most Python developers use for reading emails sitting out on a POP3 serve..... More

Print this item

  Web crawler extracting specific text from HTML
Posted by: lewdow - Jan-03-2020, 09:58 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi - I've just started to learn how to use python and am exploring the elements of a web crawler. I'm trying to extract the text that follows "Licence..... More

Print this item

  debugging
Posted by: fakka - Jan-03-2020, 07:02 PM - Forum: General Coding Help - No Replies

Hi
Using pycharm IDE

Generally I can work out the issues with code based on output or line number., But every now and then I cant easily work out ..... More

Print this item

  Find if time is between start and end time
Posted by: mikke3141 - Jan-03-2020, 05:37 PM - Forum: General Coding Help - Replies (3)

Hi,

I have a list of time intervals with start and end time. For example the first interval is between 12:30-13:00. How can I quickly check if e.g...... More

Print this item

  Functions with Tkinter
Posted by: Reldaing - Jan-03-2020, 05:10 PM - Forum: GUI - Replies (2)

Hi there, I'm new to tkinter. I want to create a window, in which a button appears. I managed to make this first step. The issue is that I want when y..... More

Print this item

  I need help on creating a Python Software
Posted by: Chrype - Jan-03-2020, 05:05 PM - Forum: GUI - Replies (5)

Hi,

First of all,

I have a script about Image Upscale.

Video Samples(original and result)

Original
http://www.mediafire.com/file/8ffo4a6i36d7gdn/O..... More

Print this item

  x-axis not displaying correctly
Posted by: grantx - Jan-03-2020, 04:08 PM - Forum: General Coding Help - No Replies

Please forgive the mess. I am still learning.
I am downloading financial data from yahoo and trying to plot it on a graph with a linear regression li..... More

Print this item

  t_games v0.50.14a1
Posted by: ichabod801 - Jan-03-2020, 03:33 PM - Forum: Code sharing - No Replies

This is another t_games release, with some features I had been meaning to add ..... More

Print this item

  Need Help Understanding Python Code
Posted by: samlee916 - Jan-03-2020, 02:59 PM - Forum: Web Scraping & Web Development - Replies (1)

I need help explaining this code that was given to me. I understand the simple ones like lines 1-4, and 9-10 and have a tough time understanding the r..... More

Print this item

  Homework on conditional execution
Posted by: Philippa - Jan-03-2020, 01:08 PM - Forum: Homework - Replies (6)

Please how do i make my computation stay in the range between 0.0 and 1.0
[python]
score = input('Enter a score: ')
if float(score) > 1.0
prin..... More

Print this item

  File not found error
Posted by: Ads - Jan-03-2020, 11:43 AM - Forum: General Coding Help - Replies (5)

Hello,

I wrote this code in eclipse / pydev. On running as Python Run it is throwing an error as

[b]FileNotFoundError: [Errno 2] No such file o..... More

Print this item

  how to make iterative search more efficient
Posted by: renergy - Jan-03-2020, 11:26 AM - Forum: General Coding Help - Replies (2)

Hello,

I am trying to solve an optimization problem. Due to the complexity of the objective function, it is not convenient to use solver packages. ..... More

Print this item

  Convert Excel to .txt - Need each excel row to be separate .txt file
Posted by: cowboykevin05 - Jan-03-2020, 10:34 AM - Forum: Data Science - Replies (2)

Disclaimer: total python newb here

I have an Excel file with thousands of rows & 10 columns (with header as row 1).

I need each row (excluding h..... More

Print this item

  How to display sentence only from the database
Posted by: farah97 - Jan-03-2020, 09:43 AM - Forum: Web Scraping & Web Development - No Replies

I get the data from the database and I want to display sentence only. But, instead..it just display id and also sentence in one column. Example table ..... More

Print this item

  Should I use my own package?
Posted by: ftg - Jan-03-2020, 09:42 AM - Forum: General Coding Help - Replies (3)

Hello everyone,

[align=left] there may be a few function of mine I will use and re-use through several projects.
These are something like cop..... More

Print this item

  remove files from folder older than X days
Posted by: kerzol81 - Jan-03-2020, 09:35 AM - Forum: General Coding Help - Replies (2)

Hi,

I made this attempt, it works fine, but I'm not satisfied with it. Couldn't it be done easier in a more pythonic way?
Is there a method for th..... More

Print this item

  Using variables from one class to another
Posted by: vatsava - Jan-03-2020, 08:12 AM - Forum: GUI - No Replies

I am new to Tkinter. I am writing a code which has three frames. In the first frame, there is an entry box widget. I want the string entered by the us..... More

Print this item

  how do I make a number only print once but the number keeps on decreasing?
Posted by: syafiq14 - Jan-03-2020, 06:40 AM - Forum: General Coding Help - Replies (5)

[python]
import time
import winsound

# User Input
plan = input("What Your Plan For Today? : ").lower()
times = int(input("What Number? : "))
c..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 6 hours ago SpongeB0B Pedroski55 General Codin...
  Error: cannot mix str wit... Yesterday, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 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...
Most views
  The best Prog... 577451
  Tutorial Requ... 501094
  Web Scraping ... 441079
  Newbie with P... 385153
  New Users Int... 369764
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
kyleconor797 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday
Joliekeva Yesterday
silversimon2 09-30

User Panel Messages

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