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,280
» Latest member: MileHigh303
» Forum threads: 38,791
» Forum posts: 175,869

Full Statistics

Online Users
There are currently 35 online users.
» 1 Member(s) | 31 Guest(s)
Bing, Google, AOL, snippsat

Latest Threads
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Yesterday, 08:30 PM
» Replies: 0
» Views: 35
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:15 AM
» Replies: 4
» Views: 1,464
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 119
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 47
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,035
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,290
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 331
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 171
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 233
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,125

 
  Creating and destroying dynamic labels in Tkinter
Posted by: MarcusRoberts - May-02-2020, 06:14 PM - Forum: GUI - Replies (1)

I am trying to have two windows be created in tkinter, one has buttons for many different genres, the other a blank window. When I press one of the bu..... More

Print this item

  inspiration
Posted by: astral_travel - May-02-2020, 05:55 PM - Forum: News and Discussions - Replies (6)

i was wondering...

what inspires you in programming ? or specifically being in the profession... ?

Print this item

  Problem in flattening list
Posted by: Shahmadhur13 - May-02-2020, 03:52 PM - Forum: General Coding Help - Replies (5)

I tried to flatten list.I have nested list and i want all iterables of that nested list in one list without any nested list. Itried with itertool.chai..... More

Print this item

  Appending to a text string
Posted by: syno7878 - May-02-2020, 03:34 PM - Forum: Homework - Replies (10)

Hi All

I have the following code which reads the contents of a file, appends 1,2,3, etc to the contents and then writes the results to a new file:..... More

Print this item

  If Statement
Posted by: Bobcat - May-02-2020, 03:28 PM - Forum: General Coding Help - Replies (12)

Hi. I'm struggling with my else statement to print 'Sorry you are not entitled to vote due to being outside the uk'

[python]#Ask user for details
..... More

Print this item

  else problem
Posted by: MJB - May-02-2020, 01:41 PM - Forum: General Coding Help - Replies (3)

Hello sorry for my English because I am french. I have a problem
when I run the program and I enter the right code that is "10"
it doesn't change t..... More

Print this item

  Unexpected result
Posted by: linton - May-02-2020, 12:44 PM - Forum: General Coding Help - Replies (4)

Os-Ubuntu 18.04 Python - Ver 3.6 Using Idle .

dms = input('DR_Lat (deg,min,sec,N/S/E/W) = ')
print(dms[0])
Output:
[ou..... More

Print this item

  How to calculate column mean and row skip non numeric and na
Posted by: Mekala - May-02-2020, 12:31 PM - Forum: General Coding Help - Replies (5)

Hi,
I want to calculate column mean and row mean & skip "na" and "non-numeric". I use below code, but it gives some warning as show below:

__main_..... More

Print this item

  project error code
Posted by: pkmnmewtwo - May-02-2020, 12:22 PM - Forum: Homework - Replies (2)

when i run my program i get an error code ValueError: invalid literal for int() with base 10: ''
in line 114, in <module>
response = input("Add"..... More

Print this item

  Hyperlink Click is not working in Selenium webdriver
Posted by: rajeev1729 - May-02-2020, 11:21 AM - Forum: Web Scraping & Web Development - No Replies

I am trying to use the selenium webdriver to automate scraping but unable to apply click on hyperlink. I also want to open it in new tab.

[python]..... More

Print this item

  User Profiling
Posted by: akis - May-02-2020, 10:26 AM - Forum: Data Science - Replies (5)

Hello to all of you,

I 've created a (fake, for educational reasons only on user profiling), online store. My store tracks the "movements-cl..... More

Print this item

  How to get RGB colors in tkinter
Posted by: menator01 - May-02-2020, 09:35 AM - Forum: GUI - Replies (3)

Posted some examples in another thread about colors in tkinter.
Just wanted to post a couple ways to get RGB colors in tkinter.

For python2.7
[py..... More

Print this item

  [FLASK] How to structure the code in my case ?
Posted by: Fre3k - May-02-2020, 09:28 AM - Forum: Web Scraping & Web Development - Replies (4)

Good morning lads, and gents.

I'm currently trying to dig into Flask, and create a simple webpage with it.


For better learning, I also have a ..... More

Print this item

  Coding improvements
Posted by: chris_drak - May-02-2020, 08:59 AM - Forum: Code Review - Replies (2)

Hello,
I have the following code and I would like it to give results in about 20 seconds. Thanks...

[python]import string
import random
import t..... More

Print this item

  how to pass javascript variables to url_for function in a flask template
Posted by: experimental - May-02-2020, 08:15 AM - Forum: Web Scraping & Web Development - Replies (5)

i need to dynamically generate parameters for url after clicking on <a href> link. having jinja code like this:

[python]
{% for i in data %}
<a hre..... More

Print this item

  Kivy text label won't shows up!
Posted by: AVD_01 - May-02-2020, 07:11 AM - Forum: GUI - Replies (1)

I created a "Hello, Kivy" window but the text won't shows up Think
I used Pycharm64 & Python3.7 environment to run the code:

[..... More

Print this item

  Countdown animation
Posted by: raossabe - May-02-2020, 07:05 AM - Forum: GUI - Replies (2)

Hello!

I'm looking for a way to create a countdown animation.

Something like this but in python instead.
https://css-tricks.com/how-to-create-..... More

Print this item

  How to read file inside class
Posted by: Mekala - May-02-2020, 06:49 AM - Forum: General Coding Help - Replies (11)

Hi,
I have below code, I am passing the file path and I want to read data. I use the below code, but it's not reading anything.

[python]import pan..... More

Print this item

  ARDUINO via Python: Dissapointing
Posted by: ironfelix717 - May-02-2020, 06:27 AM - Forum: News and Discussions - Replies (1)

Hello,

This is a library recommendation....

I recently delved back into my Arduino that's been collecting dust. Being familiar with the robust c..... More

Print this item

  time.sleep
Posted by: mtnwinds - May-02-2020, 02:29 AM - Forum: General Coding Help - Replies (4)

Brand new to Python. If I want to pause the execution of my program for an hour, is sleep() the appropriate function to call? Do I have to express t..... More

Print this item

  "socket.gaierror: [Errno 8] nodename nor servname provided, or not known"
Posted by: tucktuck9 - May-02-2020, 02:06 AM - Forum: General Coding Help - No Replies

I'm working locally in Visual Studio on a simple Python program that prompts the user for a URL, then parses all of the anchor <a> tags. I'm using htt..... More

Print this item

  How can I create a subclass of XlsxWriter?
Posted by: aquerci - May-02-2020, 12:44 AM - Forum: General Coding Help - Replies (2)

Hi guys,

I would like to create a subclass of XlsxWriter in order to add new methods to semplify my work. For example, the script that I have in my m..... More

Print this item

  Syntax Error with = sign and more
Posted by: Kathleen57 - May-02-2020, 12:33 AM - Forum: General Coding Help - Replies (3)

Hi,
I'm using the book Coding Projects in Python to (slowly) learn Python. This exercise is to program the turtle to draw multiple colored lines on ..... More

Print this item

  get type of a value as a simple string
Posted by: Skaperen - May-01-2020, 11:57 PM - Forum: News and Discussions - Replies (1)

what is the best way to get just a string for the type of a value? would this be sufficient?

ts = str(type(foo)).split("'")

Print this item

  Prediction of Coal Fire Power Plant Pollutants Emission
Posted by: Dalpi - May-01-2020, 11:25 PM - Forum: Data Science - Replies (2)

Dear all,
My master thesis is about the prediction of gas emissions from a coal-fired thermal plant using neural network.
With the data from the coa..... More

Print this item

  how to add the user input from file into list
Posted by: wilson20 - May-01-2020, 05:33 PM - Forum: Homework - Replies (8)

May i know what code can i use to save user's input in my current list and save it permanently? For example,
letters=['A', 'B', 'C' ]
add_letter = i..... More

Print this item

  how to create dynamic arguments to be passed in jinja template in url_for function?
Posted by: experimental - May-01-2020, 05:21 PM - Forum: Web Scraping & Web Development - Replies (1)

I am creating an online player and here I have a search box which returns songs from a databases that matches the search string searched https://prnt...... More

Print this item

  Security finding
Posted by: sec_researcher - May-01-2020, 04:53 PM - Forum: Board - Replies (8)

Hi admins, please contact me as I found a security issue on this forum that i'd like to report.

Print this item

  How to apply post request in python for establishment search for EPFO?
Posted by: rajeev1729 - May-01-2020, 04:45 PM - Forum: Web Scraping & Web Development - No Replies

I want to scrap payment details from EPFO site but unable to apply post request for same. Any help will be appreciated.
[python]import os
from bs4 i..... More

Print this item

  Getting FileNotFoundError: [Errno 2] ,if tries to acees same file from sub-directory
Posted by: pmpinaki - May-01-2020, 03:53 PM - Forum: General Coding Help - Replies (2)

Hi,

I created a text file within the directory where I write my script file.
So when I tries to run the below code, it runs perfectly fine:

[py..... More

Print this item

  Comparing dates
Posted by: tpolim008 - May-01-2020, 02:26 PM - Forum: Data Science - Replies (5)

Hello, I am not sure that this is being placed into the right area of the forum so for that if I am wrong sorry. For starters Im new to getting into p..... More

Print this item

  .png data as matrix ?
Posted by: Hambonius - May-01-2020, 02:25 PM - Forum: General Coding Help - Replies (2)

Hi,

What is the best python3 strategy for extracting the data chunk from a small monochrome .png file, representing a QR code? Ultimately, I want t..... More

Print this item

  Where is mod_wsgi for Apache on Windows?
Posted by: jfha73 - May-01-2020, 02:21 PM - Forum: Web Scraping & Web Development - No Replies

Hey guys,

I can't find it, so I downloaded the sources from GIT, ran

python setup.py install
to compile it, it finished successful..... More

Print this item

  Rock Paper Scissors with dictionaries
Posted by: ewgreht - May-01-2020, 02:15 PM - Forum: General Coding Help - Replies (2)

I am making a more advanced version of Rock Paper Scissors and I am using dictionaries to define my rules but I most of the time when I run the code I..... More

Print this item

  How to use "create_degree_sequence"
Posted by: asallili22 - May-01-2020, 02:11 PM - Forum: General Coding Help - Replies (2)

Hi,

I am rather new to Python and I have a difficulty to use "networkx.Utils". I want to create a graph by creating a degree sequence. However, I d..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Brazil Python Help to aut... Yesterday, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... Yesterday, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
Most views
  The best Prog... 579226
  Tutorial Requ... 512011
  Web Scraping ... 442158
  Newbie with P... 386283
  New Users Int... 379349
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
MileHigh303 Yesterday
ndx101 Yesterday
OtiliaBecker Yesterday
NAGASOWMYAGUNDU 11-20
shipa1autotransport 11-20

User Panel Messages

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