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,299
» Latest member: matt
» Forum threads: 38,796
» Forum posts: 175,892

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 32 Guest(s)
Bing, Applebot, Google

Latest Threads
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
3 hours ago
» Replies: 1
» Views: 41
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
11 hours ago
» Replies: 3
» Views: 122
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
11 hours ago
» Replies: 2
» Views: 88
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Today, 04:40 AM
» Replies: 6
» Views: 3,193
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 257
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 141
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 95
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,530
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 182
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 85

 
  Choose from dropdown list and then do something?
Posted by: Selfiatus1 - Jun-07-2019, 06:40 PM - Forum: GUI - Replies (2)

Hi, there is an error with my if function... It just woun't write to the document when I press the button "Generate".
I only want to write to a docum..... More

Print this item

  Manipulating Checkboxes
Posted by: teflon - Jun-07-2019, 06:36 PM - Forum: GUI - Replies (8)

Hi, I have this Checkboxes, İmage

any combination can be selected, and each checkbox selected results in a d..... More

Print this item

  Count the number of items in a nested list
Posted by: iofhua - Jun-07-2019, 06:36 PM - Forum: General Coding Help - Replies (2)

[python]
inv = {
'cash': ['gold', 'gold'],
}

print(inv['cash'])

print(' '.join(inv['cash']))

print(' '.count(inv['cash']))

[/python..... More

Print this item

  Name error
Posted by: Uzomaza - Jun-07-2019, 06:31 PM - Forum: General Coding Help - Replies (2)

Hi!
Why dont work the var1 code?

[python]
import turtle
from tkinter import *
import tkinter.messagebox

wn = turtle.Screen()
wn.setup(650,..... More

Print this item

  Volunteer Python Developers -- Python 2D Tank MMO
Posted by: Ntech - Jun-07-2019, 06:01 PM - Forum: Jobs - Replies (3)

Hey there! I'm looking for volunteers to collaborate with me in the creation and improvement of a new Python 2D Tank MMO. Since I..... More

Print this item

  Removing extra space
Posted by: sumncguy - Jun-07-2019, 05:04 PM - Forum: Homework - Replies (4)

The print output annoys me. Big Grin
My question is how do I get rid of the space betwen the the dollar sign and value.
I did try to search the ..... More

Print this item

  Web scraping using bs4
Posted by: klllmmm - Jun-07-2019, 04:53 PM - Forum: Web Scraping & Web Development - Replies (3)

I'm trying to scrap data from UN sanctions list web site.

[python]import requests
from bs4 import BeautifulSoup

r = requests.get("https://scsa..... More

Print this item

  Login system
Posted by: cardozo6060 - Jun-07-2019, 04:38 PM - Forum: Homework - Replies (2)

Hi! i developed a "basic" program to school project and need to be done sunday but im having a problem i dont know how to use a login system there is ..... More

Print this item

  Python if statement docx wount work
Posted by: Selfiatus1 - Jun-07-2019, 03:53 PM - Forum: General Coding Help - Replies (5)

Hi,

I cant get this code to work, I just want a button to be pressed, calling definition "helloCallBack" and from it a series of
if statements, wher..... More

Print this item

  How do I get the last element?
Posted by: DaytonJones - Jun-07-2019, 02:33 PM - Forum: General Coding Help - Replies (9)

Newbie question....


I have a ResultSet that looks like:

ResultSet({'('system', {'host': 'my.host.net'})': [{'time': '2019-05-30T00:00:00Z', 'd..... More

Print this item

  Pandas find the most often rows
Posted by: dervast - Jun-07-2019, 01:44 PM - Forum: General Coding Help - Replies (1)

Hi.
I have a panda Data Frame like the one below
[python]
smallData=pd.DataFrame(np.array([[1,2,3,4,5],[4,5,6,7,8],[1,2,3,3,3],[1,2,2,3,3],[1,2,3,5..... More

Print this item

  iterating over 2 iterators
Posted by: Skaperen - Jun-07-2019, 01:04 PM - Forum: General Coding Help - Replies (2)

what was the name of that function that would iterate over 2 iterators and let you do:

   for x,y in iter2(xx,yy):
where xx and yy are 2 it..... More

Print this item

  sending email from admin to user in django
Posted by: anjana - Jun-07-2019, 12:01 PM - Forum: Web Scraping & Web Development - No Replies

i want to send email from admin to user .my code get no reverse match error.
views.py

def emails(request,id):
subject = 'leave confir..... More

Print this item

  RPi GPIO Flashing LED
Posted by: nickayres - Jun-07-2019, 10:11 AM - Forum: General Coding Help - Replies (1)

The code works a treat in that button pressed LED ON button pressed again LED OFF. What I am trying to do is get the LED to flash when it is ON rather..... More

Print this item

  Using executemany to import the data
Posted by: Sandy7771989 - Jun-07-2019, 09:57 AM - Forum: General Coding Help - Replies (1)

Hi All,

I'm using the below code to port the data from MySQL to postgreSQL database and it is working fine, but it's rather slow though( more than ..... More

Print this item

  Random graph and reachable items
Posted by: Gribouillis - Jun-07-2019, 07:19 AM - Forum: Code sharing - Replies (1)

I've been playing with generators to write a function that yields the reachable elements in a graph. It is an example of filling a container while ite..... More

Print this item

  where is a pattern?
Posted by: Skaperen - Jun-07-2019, 05:07 AM - Forum: General Coding Help - Replies (8)

i have a string pattern (such as '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9].[0-9][0-9][0-9]') that may be in another string. i'm still baffled by th..... More

Print this item

  Scroll Bars going backwards
Posted by: goofygoo - Jun-07-2019, 02:30 AM - Forum: GUI - Replies (2)

I am having difficulty with my scroll bars sliding backward. Code below.

[python]user_dict = {"J Schmo":["SSM", "CPP"], "B Kezzi":["SM", "OBSIC"], ..... More

Print this item

  List Issue
Posted by: Batman - Jun-06-2019, 10:05 PM - Forum: General Coding Help - Replies (3)

So, this is interesting...

It prints Pam 205.36 2 times

what happened to Bruce 37.95?

[python]
class check:
payee = ''
amount = 0...... More

Print this item

  nltk dictionary GUI
Posted by: joe_momma - Jun-06-2019, 09:18 PM - Forum: Code sharing - Replies (2)

This a gui dictionary enter a word, press submit and it outputs name with tag and
the definition. I put in 2 checkbuttons for examples and lemma name..... More

Print this item

  xticks
Posted by: mcgrim - Jun-06-2019, 08:54 PM - Forum: Data Science - Replies (5)

I am trying to put in a bar graph some values stored in a file and the times when these values took place.
The bar chart looks like the way I want as..... More


Attached Files

.txt   moredates.txt (Size: 75.2 KB / Downloads: 7)
Print this item

  Custom timeinterval converted to hourly values using Pandas?
Posted by: SinPy - Jun-06-2019, 07:51 PM - Forum: Data Science - Replies (1)

Hello!

I have a timeserie of values where every week is devided into 4 parts, each representing 42 hours.
Is it possible to convert this to hourly..... More

Print this item

  Issues downloading Pyperclip
Posted by: hawkstone - Jun-06-2019, 07:03 PM - Forum: News and Discussions - Replies (1)

Hey People,

Apparently, my editor is not reading where I have downloaded pyperclip. I keep getting the conflicted message that pyperclip has been ..... More

Print this item

  Thread update emails
Posted by: micseydel - Jun-06-2019, 06:35 PM - Forum: Board - Replies (4)

I thought I recalled at one point that a reply to a thread would generate emails for all the participants. I haven't seen this behavior in a while, al..... More

Print this item

  Help with finding correct topic in Python learning
Posted by: yahya01 - Jun-06-2019, 04:40 PM - Forum: General Coding Help - Replies (1)

Hi

I am starting at zero with Python. I need to know which topics in Python do I need to study to understand below two statements. The confusing pa..... More

Print this item

  pyglet freezing
Posted by: pfaber11 - Jun-06-2019, 02:03 PM - Forum: Game Development - Replies (1)

Hi just starting piglet and when I try and run this code it freezes but If I press a key on the keyboard it moves on a frame here's the code could som..... More

Print this item

  Trying to convert my Expect/bash to Python
Posted by: sumncguy - Jun-06-2019, 01:37 PM - Forum: General Coding Help - Replies (4)

Good Morning,

I am trying to gain some python knowledge and convert scripts Ive written in expect and bash.
I do not have permission to load mod..... More

Print this item

  variable call back into an array
Posted by: yamifm0f - Jun-06-2019, 01:23 PM - Forum: General Coding Help - Replies (3)

Hello

I would like to get the value of each port area in a pipe in one array. I have developed an array class called Equation where equation.A is ..... More

Print this item

  malformed header from script 'main.py': Bad header: * Serving Flask app "main"
Posted by: anuragsapanbharat - Jun-06-2019, 12:20 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi All,

I am trying to host a simple python application to test. But while running the app from browser I am getting the below error.

[pid 3952]..... More

Print this item

  tkinter clock
Posted by: Ondrej - Jun-06-2019, 12:14 PM - Forum: GUI - Replies (5)

Hello everyone,

I need help to make simple clock app which will change background color in choosen periods with duration for few secc and after th..... More

Print this item

  Unable to install packages of python3.6 in ubuntu server 16.04
Posted by: jenkins43 - Jun-06-2019, 12:06 PM - Forum: Networking - Replies (2)

Hi, as I am working on ubuntu 16.04 and I was able to install python 3.6.8. But when I am trying to install numpy or pandas or scipy through command
..... More

Print this item

  change to loop
Posted by: amirliker - Jun-06-2019, 09:37 AM - Forum: General Coding Help - Replies (3)

I wrote this code that takes info (grades and student names) from a csv file with pandas and make a graph with matplotlib.

[python]import pandas as..... More

Print this item

  "Mother" from Alien terminal game.
Posted by: michael1789 - Jun-06-2019, 07:37 AM - Forum: Game Development - Replies (1)

If you've seen "Alien" you know what I mean. It's a '70's scifi text interface.


The elements I think I require are:

1) An effects layer to ap..... More

Print this item

  Update value selected in option menu when select an item from text box
Posted by: klllmmm - Jun-06-2019, 01:26 AM - Forum: GUI - Replies (2)

In my GUI using tkinter, I'm trying to update the value display for option menu based on selected row function.

[python]def get_selected_row(event)..... More


Attached Files

Thumbnail(s)
   

.py   Creating_frontend_udemy.py (Size: 3.69 KB / Downloads: 524)
.py   backend_udemy.py (Size: 1.78 KB / Downloads: 476)
Print this item

  Parse data from xml file
Posted by: klllmmm - Jun-06-2019, 01:09 AM - Forum: General Coding Help - Replies (9)

I'm trying to parse data from a xml file downloaded from https://www.treasury.gov/ofac/downloads/...idated.xml

Sample of the xml fi..... More


Attached Files

.xml   test.xml (Size: 2.37 KB / Downloads: 703)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Proposal for PEP 3 hours ago matt Gribouillis News and Disc...
  My regex function is not ... 11 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 11 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python Today, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 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
  My goal to be hired worki... 11-21, 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...
Most views
  The best Prog... 579374
  Tutorial Requ... 512379
  Web Scraping ... 442290
  Newbie with P... 386340
  New Users Int... 380304
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
matt Today
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday

User Panel Messages

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