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,644
» Latest member: sammycraig
» Forum threads: 38,642
» Forum posts: 175,096

Full Statistics

Online Users
There are currently 484 online users.
» 0 Member(s) | 478 Guest(s)
Bing, Google, Yandex, Baidu, Applebot

Latest Threads
New Users Introduce Yours...
Forum: Bar
Last Post: nilsfreya300
5 hours ago
» Replies: 452
» Views: 343,638
textbox compare command n...
Forum: GUI
Last Post: deanhystad
6 hours ago
» Replies: 1
» Views: 75
How to retain Annotation ...
Forum: Code Review
Last Post: holeioonline
Yesterday, 08:43 AM
» Replies: 2
» Views: 897
Trading Bot written in Py...
Forum: News and Discussions
Last Post: LoriBrown
Yesterday, 07:08 AM
» Replies: 4
» Views: 95,159
replace or remove text fr...
Forum: General Coding Help
Last Post: Curbie
Jun-29-2025, 06:53 PM
» Replies: 13
» Views: 484
locating a pushbutton py ...
Forum: GUI
Last Post: deanhystad
Jun-29-2025, 06:47 PM
» Replies: 2
» Views: 126
Difference and meaning in...
Forum: General Coding Help
Last Post: Gribouillis
Jun-29-2025, 03:41 PM
» Replies: 4
» Views: 154
While loop is terminating...
Forum: Homework
Last Post: Gribouillis
Jun-29-2025, 06:19 AM
» Replies: 1
» Views: 129
How to put my game loop i...
Forum: Game Development
Last Post: Thatedge
Jun-28-2025, 08:36 AM
» Replies: 10
» Views: 3,141
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: Thatedge
Jun-28-2025, 08:35 AM
» Replies: 2
» Views: 1,906

 
  python machine learning model, macro precision score?
Posted by: metalray - Sep-02-2017, 12:00 PM - Forum: Homework - Replies (5)

Dear Python Pro's,
I am looking at python and machine learning.
One of the exercises is the following:

Using the fitted model m what is the mac..... More

Print this item

  Trying to find an approximate match in a Column
Posted by: ankur2207 - Sep-02-2017, 09:46 AM - Forum: General Coding Help - Replies (4)

my question here
Hi everyone,

I've just started learning Python so no idea about 'how to find an approximate match of a value in Integer type of c..... More

Print this item

  Please help: Index out of range error
Posted by: Danni - Sep-02-2017, 09:24 AM - Forum: General Coding Help - Replies (1)

I receive the Index out of range error for c variable with the following code:

import bumpy as np
x = np.random.normal(mu=0.03,std=0.05,T = 10)
..... More

Print this item

  Youtube Watched History Analyzer
Posted by: Aerosmite - Sep-02-2017, 08:49 AM - Forum: Code sharing - Replies (4)

Hey again! I often watch Youtube, so I made an easy script to collect interesting data from my watched history, thought it was a bit scared **shocked*..... More

Print this item

  IndexError: list index out of range
Posted by: rajeev1729 - Sep-02-2017, 07:00 AM - Forum: General Coding Help - Replies (2)

please help me. i am unable to understand IndexError.

[python]def binarySearch (arr,first,last,element):
mid = first+last//2
print("Value..... More

Print this item

  Change the text in the button object
Posted by: chris0147 - Sep-02-2017, 12:59 AM - Forum: General Coding Help - Replies (1)

I'm working on my code as I'm checking on the getTime1 to see if the strings is valid. If the strings is valid, I want to change the strings for the..... More

Print this item

  Maximum Elements in List
Posted by: ankit_1148 - Sep-01-2017, 11:01 PM - Forum: General Coding Help - Replies (1)

I have a doubt - How to find the maximum no. of elements that can be placed in one list.
Also, how can I extend this size limitation.

Thanks

Print this item

  compare file csv
Posted by: hermann - Sep-01-2017, 10:25 PM - Forum: General Coding Help - Replies (3)

im working on a comparasion of csv file. The problem is that the files have different structure and the comparation work bad.. can anyone help me? Tha..... More

Print this item

  Hello Everyone! Possible bug?
Posted by: ghost - Sep-01-2017, 10:25 PM - Forum: News and Discussions - Replies (5)

My name is Nico,
I'm programmer i search possible answer for this code!
[python]

numeri = [i for i in range(1,91)]
giusti = []
utente = input(..... More

Print this item

  installing json
Posted by: Only_On_Tuesdays - Sep-01-2017, 09:23 PM - Forum: General Coding Help - Replies (6)

Hi, first of all I'm new here so hello everyone! I have an issue. I'm trying to learn how to work with a specific API and I need JSON to do it. I used..... More

Print this item

  python indentation confusion
Posted by: hello_its_me - Sep-01-2017, 06:47 PM - Forum: General Coding Help - Replies (5)

Hi, I just started with python and I was coding in C# before and there is my biggest problem.... I am used to the {} and can't figure out how to struc..... More

Print this item

  ValueErrors: need more than 3 values to unpack
Posted by: mikerosz94 - Sep-01-2017, 06:44 PM - Forum: General Coding Help - Replies (1)

the goal of this code is to match year_link and tla_2 and output variables from_, to, digit, name2, min_value, max_value. I am using a CSV file,..... More


Attached Files

Thumbnail(s)
   
Print this item

  Python code doesnt run
Posted by: tsetsko - Sep-01-2017, 06:33 PM - Forum: General Coding Help - Replies (3)

I have the following issue. I have this code:

def power(b, e):
result = b ** e
print " %d to the power of %d is %d." % (b,e,result)

power(..... More

Print this item

  Given a date I need to separate data into weeks
Posted by: cspower - Sep-01-2017, 06:04 PM - Forum: General Coding Help - Replies (14)

This is my first post and I'm very much a beginner.

I have a report of all our trouble tickets.
We convert that report convert it into a csv file...... More

Print this item

  i cant seem to save
Posted by: Saxycool12345 - Sep-01-2017, 04:01 PM - Forum: General Coding Help - Replies (6)

as the subject suggests i cant find where to save how do i save my work? im on python 3.6.2 mac
please help me Pray

Print this item

  This site Google Analytics
Posted by: snippsat - Sep-01-2017, 03:57 PM - Forum: Board - Replies (1)

I added Google Analytics 18-11-2016.
It monitor pretty much everything what happen to a site.
So can get useful and unuseful info about a site.

H..... More

Print this item

  check if value of passed variable has uppercase characters in it.
Posted by: wfsteadman - Sep-01-2017, 03:22 PM - Forum: General Coding Help - Replies (3)

Greetings all,
I am parsing through lines in a file and what i am trying to do is look for any objects in position 5 (The line is getting split so ..... More

Print this item

  Entering an expression with "input" command
Posted by: johnmnz - Sep-01-2017, 01:39 PM - Forum: General Coding Help - Replies (3)

I want to write a program that lets the user provide an expression "on the fly" as in
expression = input ("Enter the expression")
for x in range (-1..... More

Print this item

  Code is Outputting Incorrectly
Posted by: mikerosz94 - Sep-01-2017, 01:28 PM - Forum: General Coding Help - No Replies

The code shown below is outputting everything on my CSV sheet. It's not suppose to do that. Instead, the goal is to match Year and data_location, ..... More


Attached Files

Thumbnail(s)
   
Print this item

  understand function
Posted by: hermann - Sep-01-2017, 10:37 AM - Forum: General Coding Help - Replies (3)

I did not understand how this function works properly? can anyone help me to understand it and to test it?. i work with csv file

[python]# Convert ..... More

Print this item

  ValueError: invalid literal for int() with base 10: '[2,4,7,8,19]'
Posted by: rajeev1729 - Sep-01-2017, 06:54 AM - Forum: General Coding Help - Replies (3)

Hello friends,given program show given error. Please give me solution.
i want '[2,4,7,8,19]' as list of element but it is string.
ValueError: inval..... More

Print this item

  python word-docx
Posted by: jon0852 - Sep-01-2017, 04:54 AM - Forum: General Coding Help - No Replies

Hi, I am working with the python library python-docx and trying to extract information from a MS Word table and place it neatly in Excel. The table c..... More

Print this item

  Perfect Square program
Posted by: forumer444 - Sep-01-2017, 01:59 AM - Forum: Homework - Replies (4)

Hi, all!

I'm new to the forums, and have a small problem on this short program homework assignment. Hopefully somebody can help me out. I'm working..... More

Print this item

  I need help understanding how to use and run this program! Thanks in advance!
Posted by: tc1chosen - Aug-31-2017, 09:42 PM - Forum: General Coding Help - Replies (6)

Hi everyone! I am new here! I am trying to learn how to use python to run and use this code: https://github.com/petertodd/replace-by-fee-tools

If a..... More

Print this item

  Collaboration on a Pokemon Game
Posted by: Codezters - Aug-31-2017, 09:40 PM - Forum: Game Development - Replies (3)

I am making a Pokemon Game In Python using Pygame and Github. I was wondering if anyone was willing to help me. I'm hoping to get a team of 10 or more..... More

Print this item

  Wondering about a External Website
Posted by: Codezters - Aug-31-2017, 09:17 PM - Forum: News and Discussions - Replies (9)

I couldnt find a better place to post this: Before I did python I was using a simple browser based programming language, scratch.mit.edu, I was wonder..... More

Print this item

  HOW TO GET AN INFORMATION FROM A WEB PAGE USING A SCRIPT
Posted by: bill32767 - Aug-31-2017, 08:18 PM - Forum: General Coding Help - Replies (1)

Please I need help about writing a script that could help me search for an information on a website. For instance: a web site (www.myweb.com) has a li..... More

Print this item

  Integer Required for psspy function
Posted by: mikerosz94 - Aug-31-2017, 06:42 PM - Forum: General Coding Help - No Replies

The error in the code is [error]psspy.three_wnd_winding_data_3(from_,to,'%s'% last_bus,r"""1""",1,[_i,_i,_i,_i,_i],[_f,_f,_f,_f,_f,_f,_f,_f, max_value..... More


Attached Files

Thumbnail(s)
   
Print this item

  Threads&Queques
Posted by: alexandra - Aug-31-2017, 05:33 PM - Forum: Homework - Replies (4)

Can I implement the threads in this code, having queues too?
I have solved the problem with some sort of strings called threads, I haven't really use..... More

Print this item

  Best Practice For String Quotations ?
Posted by: Zork_3 - Aug-31-2017, 04:12 PM - Forum: General Coding Help - Replies (9)

Hello ,

I am still very new to Python and programming in general .

I have noticed that some programmers use " " and some use ' ' in string..... More

Print this item

  KeyError: '1'
Posted by: mikerosz94 - Aug-31-2017, 01:43 PM - Forum: General Coding Help - Replies (1)

Hello everyone, I am receiving an error:[error]Traceback (most recent call last):
File "C:\Users\RoszkowskiM\Desktop\win5.py", line 120, in <module..... More

Print this item

  Text file parsing with python and with a list in grammar
Posted by: pitanga - Aug-31-2017, 01:28 PM - Forum: General Coding Help - Replies (2)

Hello! Smile

Are there people here who know NLP? I have to do a parsing: the goal is to create a grammar rules that will be applied in a cor..... More

Print this item

  Can't attacha ny files onto this forum
Posted by: mikerosz94 - Aug-31-2017, 12:55 PM - Forum: Board - Replies (9)

I do not have the attachments tab under the textbox. Am I suppose to enable something?

my code here

Print this item

  Repost isinstance not outputting any statements
Posted by: mikerosz94 - Aug-31-2017, 12:39 PM - Forum: General Coding Help - Replies (1)

My code is not outputting anything when using isinstance. This is shown at the end of the code. I tried inputting year 1 and tla_2=1, and no outpu..... More

Print this item

  discord bot not working
Posted by: lolteam - Aug-31-2017, 10:48 AM - Forum: General Coding Help - Replies (1)

my question here

[python]import discord
from discord.ext.commands import Bot
from discord.ext import commands
import asyncio

Client = discord..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New Users Introduce Yours... 5 hours ago Yoriz nilsfreya300 Bar
  [Tkinter] textbox compare... 6 hours ago dmac6809 deanhystad GUI
  How to retain Annotation ... Yesterday, 08:43 srikrishnan holeioonline Code Review
  Trading Bot written in Py... Yesterday, 07:08 Pizzlew LoriBrown News and Disc...
  replace or remove text fr... 06-29, 18:53 Curbie Curbie General Codin...
  [PyQt] locating a pushbut... 06-29, 18:47 arbiel deanhystad GUI
  Difference and meaning in... 06-29, 15:41 Udbytossen Gribouillis General Codin...
  While loop is terminating... 06-29, 06:19 jumpsworthnow Gribouillis Homework
  How to put my game loop i... 06-28, 08:36 temlotresid6 Thatedge Game Developm...
  2D-Cube-Tic-Tac-Toe 06-28, 08:35 freethrownucleus Thatedge Game Developm...
  Unable to install pygame ... 06-28, 03:54 garthE Plyth Game Developm...
Most views
  The best Prog... 572370
  Tutorial Requ... 485138
  Web Scraping ... 436898
  Newbie with P... 379740
  Thread remain... 351242
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12068
buran 8173
snippsat 7341
deanhystad 6845
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
sammycraig Yesterday
nilsfreya300 Yesterday
Miphyton01 Yesterday
zenithslurtery Yesterday
holeioonline Yesterday

User Panel Messages

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