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,303
» Latest member: TimTom420
» Forum threads: 38,797
» Forum posts: 175,898

Full Statistics

Online Users
There are currently 235 online users.
» 0 Member(s) | 227 Guest(s)
Bing, Google, Applebot, Facebook Dev

Latest Threads
Python is not working on ...
Forum: General Coding Help
Last Post: Pedroski55
58 minutes ago
» Replies: 2
» Views: 49
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Today, 04:48 AM
» Replies: 6
» Views: 7,797
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
Today, 02:09 AM
» Replies: 7
» Views: 623
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 09:58 PM
» Replies: 3
» Views: 120
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 03:53 PM
» Replies: 1
» Views: 99
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Yesterday, 08:47 AM
» Replies: 3
» Views: 176
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 04:40 AM
» Replies: 6
» Views: 3,207
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 295
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 179
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 112

 
  Need help; iris-train
Posted by: Karin - Apr-11-2019, 09:42 AM - Forum: Data Science - Replies (2)

I'm a beginner of machine learning and now learning scikit-learn using iris analysis.

My code is here...

[python]
import pandas as pd
from skl..... More

Print this item

  print: Tips and tricks
Posted by: microphone_head - Apr-11-2019, 09:33 AM - Forum: News and Discussions - Replies (12)

Hi all.

I found that when I run the print command with "\b" I can produce a tick symbol.

Does anyone have any other tips they would like to shar..... More

Print this item

  Beginner Level - Name Error
Posted by: Aniket - Apr-11-2019, 07:19 AM - Forum: General Coding Help - Replies (11)

Hello Everyone,

I am new to Python and have recently started working on it.

Please help me resolve the error

My code is

[python]
def he..... More

Print this item

  Error in Tkinter
Posted by: moste - Apr-11-2019, 06:38 AM - Forum: GUI - Replies (6)

Hello guys, i am trying to create a programm with tkinter (for first time) and i got the follow error in one part of my code:

[python]
y = StringV..... More

Print this item

  python idle turtle graphics help
Posted by: jojo - Apr-11-2019, 05:24 AM - Forum: Homework - Replies (5)

needing help with this assignment

Im working on a python assignment. The end result of the assignment is to produce a program of the game Solitair..... More

Print this item

  pmdown.py help!
Posted by: chongjasmine - Apr-11-2019, 04:54 AM - Forum: General Coding Help - Replies (2)

I find a file known as pmdown.py that can convert pocketmags html 5 reader file to pdf but I don't know how to use it. Help appreciated!

Print this item

  add search bar = search for input in all computer directory
Posted by: francisco_neves2020 - Apr-11-2019, 01:40 AM - Forum: GUI - Replies (15)

Hi, it is possible in tkinter to code the searchbar for a search in all the computer for a given input? Can provide some code?
I know the code for sp..... More

Print this item

  Read Save RadioButtons from Database in Python Flask Webpage
Posted by: Gary8877 - Apr-11-2019, 12:33 AM - Forum: Web Scraping & Web Development - No Replies

I am new to Python, Flask & HTML. I have a SQL Server table Products that contains DeptManager, Product & SellStatus (which could be yes, no or not su..... More

Print this item

  Intializing return value to 0
Posted by: adam10e10 - Apr-11-2019, 12:13 AM - Forum: Homework - Replies (2)

Hey guys, the problem is asking the following:

Use the Design Recipe to write a function called running_average that repeatedly asks the user to i..... More

Print this item

  How to set turns playing tictactoe?
Posted by: Mariano - Apr-10-2019, 10:41 PM - Forum: GUI - Replies (1)

I don't know how to set turns: human Vs computer. Based on my code: the computer's movement needs the human to click on any button.


[python]# -*-..... More

Print this item

  Implementing a recursive algorithm for tree.
Posted by: Negativ3 - Apr-10-2019, 10:01 PM - Forum: General Coding Help - Replies (3)

I'm trying to solve
[quote="https://www.codechef.com/APRIL19B/problems/SUBREM]question"]You are given a rooted tree with N nodes (numbered 1 through ..... More

Print this item

  Blockspring Trello export to Google Sheet
Posted by: Shafla - Apr-10-2019, 09:21 PM - Forum: General Coding Help - No Replies

I have a Trello board synced with a google sheet. I want to start adding my own code. Specifically i would like to export each checklist item to its o..... More

Print this item

  Create a set of checkbutton widgets and refer to every one of them individually?
Posted by: Mariano - Apr-10-2019, 07:13 PM - Forum: GUI - Replies (1)

I am a teacher. Using Tkinter and Openpyxl I need to code a graphical user interface so I could click on a student's name “linked” with a checkbutton ..... More

Print this item

  Iteration with 2 Variables
Posted by: punksnotdead - Apr-10-2019, 04:54 PM - Forum: General Coding Help - Replies (8)

Hello, This is my first attempt at writing a program using Python and I'm a bit stuck.
I'd like to write the sequence shown in the comments to an Exc..... More

Print this item

  Need help getting the output
Posted by: aankrose - Apr-10-2019, 04:41 PM - Forum: General Coding Help - Replies (10)

[python]
S = 5
t=[]
for i in range(1,S+1):
t.append(i)
for j in range(0,S):
t[j] = '/'
print(''.join(str(e) for e in t))
for i..... More

Print this item

  Running python file without python
Posted by: mzmingle - Apr-10-2019, 03:24 PM - Forum: General Coding Help - Replies (2)

Hi! I've found out that it's possible to turn a python file into an .exe file, but presumably that's only if you're using no external modules. I have ..... More

Print this item

  How to delete column if entire column values are "nan"
Posted by: Sri - Apr-10-2019, 02:17 PM - Forum: Data Science - Replies (4)

Hi,
I have read csv file in dataframe, and I want to delete column if entire column values are equal to "nan"


data.csv:

[python]Name Rank ..... More

Print this item

  Parsing Attached .MSG Files with Python3
Posted by: ericl42 - Apr-10-2019, 02:08 PM - Forum: General Coding Help - Replies (1)

I'm trying to monitor a phishing inbox that could receive both normal emails (i.e. HTML/text based with potential attachments) as well as emails that ..... More

Print this item

  tuple index out of range
Posted by: delta1071 - Apr-10-2019, 01:54 PM - Forum: General Coding Help - Replies (3)

Hello
I'm a coding newbie and first-time visitor to this forum. The script below throws the following error on execution:
[output]
File "detect.py", l..... More

Print this item

  Mean of array
Posted by: Monti - Apr-10-2019, 01:06 PM - Forum: Homework - Replies (1)

Hi all,
i am new here and hope i can find some help.

i have a two dimensional array. in the first column is the distance in mm and in the second c..... More

Print this item

  Odd Behavior with Read Posts
Posted by: ichabod801 - Apr-10-2019, 12:46 PM - Forum: Board - Replies (7)

I'm seeing some odd behavior with read posts this morning. First, this thre[url=https://python-forum.io/thread-17424.html]..... More

Print this item

  Looking for Software for creating highly detailed GUI
Posted by: moo5e - Apr-10-2019, 11:34 AM - Forum: News and Discussions - Replies (1)

Hello,
I'm attempting to build a software with high quality user interface(GUI) and 3d visualisation of data. I'm looking for a framework that will o..... More

Print this item

  Print a Graph (packages)
Posted by: dervast - Apr-10-2019, 11:34 AM - Forum: Data Science - Replies (1)

Hi,
I have as input a matrix that I have created by collecting sequences together. Not all sequences are equal in length and thus I have appended zer..... More

Print this item

  Script Conversion 2.7 to 3 (sockets)
Posted by: Pumpernickel - Apr-10-2019, 10:17 AM - Forum: Networking - Replies (1)

Hey all,

I'm trying to convert a script written in python2.7 to python3.
The first hurdle is how byte strings are handled between the two, which I..... More

Print this item

  Water flow sensor and Servo Motor wont run at the same time
Posted by: baff_paff - Apr-10-2019, 09:55 AM - Forum: Homework - Replies (1)

Hei, we have a project going on at moment where we have to use a flowmeter sensor and a servo motor. The main objective of the servo motor is to open ..... More

Print this item

  create and insert a new frame on top of another frame
Posted by: atlass218 - Apr-10-2019, 07:58 AM - Forum: GUI - Replies (4)

I have an idea and I want to realize it on my little project in tkinter with python 3.6
I'd like to be told how I'm going to start doing this

I wa..... More

Print this item

  Append to Array Fails
Posted by: Jeff - Apr-10-2019, 07:39 AM - Forum: General Coding Help - Replies (1)

The Script that I will post will show 2 different results Function - def Report_Results_Fail(): -- Fails Function - def Report_Results_Ok(): -- is OK..... More

Print this item

  parsing complex text file
Posted by: anna - Apr-10-2019, 07:35 AM - Forum: General Coding Help - Replies (1)

Hi All,

I have huge text file(sample is given below), I have not tried yet as not able find the way, suggestion required. How to proceed and which ..... More

Print this item

  Pygame deleting list index.
Posted by: TheHumbleIdiot - Apr-10-2019, 04:53 AM - Forum: Game Development - Replies (4)

I'm working on this space invaders game and the tail end of the logic is confusing me. There is a nested loop in the conclusion.
[python]i = 0
w..... More

Print this item

  Need help to finish the hat on the snowman in this Python drawing
Posted by: soowoosamuel - Apr-10-2019, 04:49 AM - Forum: Homework - Replies (1)

Looking for help, I want to make the hat a traditional top hat with a slimmer rectangle spawning at the center of the black filled fat rectangle atop ..... More

Print this item

  How to correct the programming for KNN
Posted by: vokoyo - Apr-10-2019, 03:29 AM - Forum: Homework - No Replies




I get the answer but the output pictures are wrong - may I know which part on my programming is wrong






[python]

# read in ..... More

Print this item

  In need help to put this code in order
Posted by: lekuru01 - Apr-10-2019, 03:18 AM - Forum: Homework - Replies (4)

write a python functionn GOS_erlang(chanels,capacity) that computes the grade of service for a give number of (interger) channels and (floating point)..... More

Print this item

  Problems with executing .exe file (was .py)
Posted by: SheeppOSU - Apr-10-2019, 02:46 AM - Forum: Game Development - Replies (9)

I turned a .py file into .exe file. It works just fine on python but won't run as a .exe file. I don't know why. When I click on it, it opens up a scr..... More

Print this item

  user inputs in constructing a dictionary
Posted by: Exsul - Apr-10-2019, 01:53 AM - Forum: General Coding Help - Replies (3)

I am making a dictionary, and I called for user input for the key-value combinations, and this was the result:

[python]latin_vocab = {}

latin_vo..... More

Print this item

  How to find the accuracy vs number of neighbours for KNN
Posted by: vokoyo - Apr-09-2019, 11:29 PM - Forum: Homework - Replies (3)

[b]


May I know how to modify my Python programming so that can obtain the accuracy vs number of neighbours as refer to the attached image file -..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python is not working on ... 58 minutes ago lary_p Pedroski55 General Codin...
  Can I develop a live vide... Today, 04:48 mtrkhan mamta25 Web Scraping ...
  Help with Serial.write in... Today, 02:09 racingsubby racingsubby General Codin...
  silent deployment Python ... Yesterday, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP Yesterday, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... Yesterday, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python Yesterday, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 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...
Most views
  The best Prog... 579410
  Tutorial Requ... 512479
  Web Scraping ... 442305
  Newbie with P... 386356
  New Users Int... 380516
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+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
TimTom420 Today
cruisesfares Today
SNR Today
Jonathan Today
matt Yesterday

User Panel Messages

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