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 48 online users.
» 0 Member(s) | 43 Guest(s)
Google, Bing, Apple, AOL

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
5 hours ago
» Replies: 2
» Views: 734
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
11 hours ago
» Replies: 6
» Views: 768
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
Yesterday, 04:45 PM
» Replies: 0
» Views: 86
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 483
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,863
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,261
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,826
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,246
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,188
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,493

 
  Q on syntax
Posted by: ebolisa - Apr-05-2020, 04:20 PM - Forum: General Coding Help - Replies (4)

Hi,

The following 2 codes yield the same results.

What's the difference between them? If the first one is the traditional way of coding, what's ..... More

Print this item

  Extract json-ld schema markup data and store in MongoDB
Posted by: Nuwan16 - Apr-05-2020, 04:06 PM - Forum: Web Scraping & Web Development - No Replies

I'am creating a spider to crawl webpage' json-ld schema markup and store data in mongodb. actually I want to scrape json-ld schema markup and extract ..... More

Print this item

  How do I convert this string back to a list of integers?
Posted by: donmerch - Apr-05-2020, 03:53 PM - Forum: General Coding Help - Replies (6)

Let's say I have this list where val1, etc are all integers such as val1 = 1, val2 = 15, val3 = 240

values = [val1, val2, val3] so now values = [1,..... More

Print this item

  can you help me out with the code for reversible numbers under 100?
Posted by: Bhavika - Apr-05-2020, 02:15 PM - Forum: General Coding Help - Replies (5)

[python]
class ReversibleNumbers:
def __init__(self, size = 100):
self.size = size
def get_total_reversible_numbers(self):
..... More

Print this item

  What kind of widget is it?
Posted by: aquerci - Apr-05-2020, 12:51 PM - Forum: GUI - Replies (1)

Hi guys,

someone can help me to understand what kind of widget has been circled in red in the attached image?

I would very like to replicate it in m..... More


Attached Files

Thumbnail(s)
       
Print this item

  Double for loop with dates in array
Posted by: leifeng - Apr-05-2020, 12:11 PM - Forum: General Coding Help - Replies (1)

I have a SQLite database that I've selected into an array cursor where each row has a date element. I've already sorted cursor by date.

I effective..... More

Print this item

  How to yield multiple requests but only action one request in Simpy
Posted by: BushChooks - Apr-05-2020, 12:10 PM - Forum: Data Science - Replies (3)

Within Simpy, I have multiple resources that can do the same job, but they are different so I can't just increase the capacity. Picture a single queue..... More

Print this item

  Next step?
Posted by: oldbean - Apr-05-2020, 11:40 AM - Forum: Web Scraping & Web Development - Replies (1)

I have been trying to learn the basics of Python3 for sometime now. I would eventually like to be able to use Python on a server for my web site if po..... More

Print this item

  Images in Pandas
Posted by: bambo - Apr-05-2020, 10:26 AM - Forum: Data Science - No Replies

Hi,

I'm writing code using the Pandas library. I would like to put a photo in this table, is it possible?

Regards:)

Print this item

  loop of two or three
Posted by: Skaperen - Apr-05-2020, 10:26 AM - Forum: News and Discussions - Replies (2)

if i need to run a short little loop of just a constant two or three steps, which is preferred?

[python]for x in range(2):
print(f'this is ste..... More

Print this item

  hello everyone
Posted by: astral_travel - Apr-05-2020, 08:12 AM - Forum: News and Discussions - Replies (4)

i want to build an automated stock trading system,

the thing is - when i learn about beginner subjects - where they teach the basics - it doesn't con..... More

Print this item

  dict and __dict__
Posted by: cls0724 - Apr-05-2020, 06:24 AM - Forum: General Coding Help - Replies (1)

Here, may i know why when i use

Peter.dict
the following error will occur

[error]Traceback (most recent call last):
File "<st..... More

Print this item

  DeNormalizing data
Posted by: asifali111 - Apr-05-2020, 05:01 AM - Forum: News and Discussions - Replies (1)

Hi all,

I am trying to build a logic for de-normalizing the source based on number of max groups. Can anyone please guide me how to achieve this.
..... More

Print this item

  Vending Machine Project - OOP Issues
Posted by: wiggles - Apr-05-2020, 03:57 AM - Forum: Homework - Replies (2)

Hi,

I have been working on a vending machine project which is outlined below.

After selecting 'b' in the first menu, I am having trouble with ..... More

Print this item

  Name Mashup Program Improvement in Python
Posted by: rhat398 - Apr-04-2020, 11:59 PM - Forum: General Coding Help - Replies (3)

I am learning python and trying to solve different problems i came across this program which is name mashup which is in Get Programming:Learn to code ..... More

Print this item

  pyMySQL - ROW_NUMBER in SQL statement
Posted by: JayCee - Apr-04-2020, 10:05 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

Greetings from Brazil! I'm trying to navigate through a MySQL database using pyMySQL and a GUI form to display the data, but when ..... More

Print this item

  entry filed sum
Posted by: leveex - Apr-04-2020, 09:12 PM - Forum: GUI - Replies (4)

Hi, trying to learn python and have stuck with entry fields.

I am trying to create a button so the user can add an entry field and write the number..... More

Print this item

  Assign the sum of 2 consecutive numbers in a list to a varibale
Posted by: Fenaz - Apr-04-2020, 08:35 PM - Forum: General Coding Help - Replies (3)

[python]
import random

no_questions = int(input("Enter the no of questions "))

questions = []
for i in range(0,no_questions*2):
n = rando..... More

Print this item

  how to make this script work faster
Posted by: dsweb19778 - Apr-04-2020, 08:18 PM - Forum: Code Review - Replies (1)

[python]
def main():

# Email Filter
# By DsWeb19778

gmail, yahoo, hotmail, outlook, mailru, web = "@gmail", "@yahoo", "@hotmail", ..... More

Print this item

  TkInter Binding Buttons
Posted by: ifigazsi - Apr-04-2020, 05:10 PM - Forum: GUI - Replies (5)

Hi! I wanted to get if a key(Enter/F1/BTN1) was pressed, but it is not working as i thought. :(
So the desired outcome:


[python]
import tkinte..... More

Print this item

  How to display a pdf file
Posted by: arbiel - Apr-04-2020, 04:31 PM - Forum: General Coding Help - Replies (3)

Hi

I'm migrating a bash script I coded, which reads pdf files (pages of a ancient greek to french dictionnary) and displays them to the user. I tri..... More

Print this item

  What is the mechanism of numpy function returning pandas object?
Posted by: Ibaraki - Apr-04-2020, 03:46 PM - Forum: Data Science - Replies (2)

Numpy's isnan() can generate the result as Series class of pandas, although numpy does not have dependency on pandas and ..... More

Print this item

  Dynamic links with selenium
Posted by: EvilDodo - Apr-04-2020, 02:53 PM - Forum: Web Scraping & Web Development - Replies (1)

https://temp-mail.org . I want to make the program click an email (from google) so the program can click a link in the mail. The email links are uniqu..... More

Print this item

  Printing k-means clustered clusters
Posted by: ottabe_h - Apr-04-2020, 02:52 PM - Forum: Homework - Replies (3)

I'm trying to print the number of the cluster and the words inside the cluster.
Out put should be:
Cluster 1: dog run walk
Cluster 2: three four
..... More

Print this item

  Find subsequent error relationships between diagnostic events
Posted by: vanny - Apr-04-2020, 02:42 PM - Forum: Data Science - Replies (1)

Hello everybody,

this is my first entry in a forum. If something is missing, just let me know. If this is not the right place to ask this, please l..... More

Print this item

  Hi, need help with class, object
Posted by: Houston222 - Apr-04-2020, 01:47 PM - Forum: General Coding Help - Replies (1)

[python]class MyRouter(object):
"This is a class that defines the aspects of a router"
def _init_(self, routername, model, serialno, ios):
se..... More

Print this item

  os.remove is not working
Posted by: solomon - Apr-04-2020, 01:13 PM - Forum: General Coding Help - Replies (1)

I tried to split a pdf file (e.g. called xyz.pdf) which is roughly 20 pages and I succeeded too. After I did the splitting, I try to delete the origi..... More

Print this item

  [Help] inhe
Posted by: Mike919 - Apr-04-2020, 11:59 AM - Forum: General Coding Help - Replies (4)

Hi All ,

I am new to Python and i have written the below code where a child class inherits from the parent class
but when i call any method of..... More

Print this item

  python program that calculat grades of students
Posted by: biligorm - Apr-04-2020, 09:15 AM - Forum: Homework - Replies (3)

hello i need help .. i want to code python program that calculat grades of students from 2 lists.

first list is final exam grade. second list is ho..... More

Print this item

  access subitem in tkinter Menu
Posted by: Phraya - Apr-04-2020, 08:11 AM - Forum: GUI - Replies (2)

I like to access a subitem e.g. 'Save' in my tkinter Menu (see code below) to activate or deactivate it.
I can access and deactivate all "[i]first le..... More

Print this item

  Calling an class attribute via a separate attribute in input
Posted by: wiggles - Apr-04-2020, 07:50 AM - Forum: Homework - Replies (7)

Hi, am trying to call a class attribute but am unable to get it to work. When the user inputs the Item.code into a float input, I want to displ..... More

Print this item

  Simulation of Text to speech (without using mic) to Voice recognition suported hardwa
Posted by: Helloworld20 - Apr-04-2020, 06:36 AM - Forum: General Coding Help - Replies (2)

how can we simulate the text to speech by script without using Mic , over hardware .(hardware is communicated by pc through android debug bridge, adb)..... More

Print this item

  Use Python to start/stop a server service via a webform?
Posted by: oakleaf2001 - Apr-04-2020, 06:14 AM - Forum: General Coding Help - No Replies

I have a couple of Debian servers with webmin on them. For security, I'd like to keep the webmin service off, but allow some users to turn the servic..... More

Print this item

  converting dataframe to int numpy array
Posted by: glennford49 - Apr-04-2020, 12:46 AM - Forum: Data Science - Replies (1)

i have a text file with 3 lines :
1,2,3
1,2,4
1,2,5


[python]import pandas as pd
import numpy as np
df= pd.read_fwf("sample.txt",header =None..... More

Print this item

  IDLE is not opening python3.8
Posted by: sweateraholic - Apr-03-2020, 11:36 PM - Forum: General Coding Help - Replies (1)

I installed Python3.8 on a LINUX Mint OS in the terminal, but IDLE still opens Python version 3.6.9. How do I get IDLE to open Python 3.8. I can open ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 5 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 11 hours ago llarkin6 noisefloor General Codin...
  Integer Factorization Too... Yesterday, 16:45 fosuwxb fosuwxb Code sharing
  Comparing 2 100GB Drives/... Yesterday, 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...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577320
  Tutorial Requ... 500598
  Web Scraping ... 440989
  Newbie with P... 385025
  New Users Int... 369493
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 Yesterday
sophielane Yesterday
Oscar0057 Yesterday
Cromulent Yesterday
PhamMaria Yesterday

User Panel Messages

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