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,934
» Latest member: alexguemez
» Forum threads: 38,721
» Forum posts: 175,508

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 31 Guest(s)
Applebot, Bing, Google, Mojeek, Facebook, AOL

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
8 hours ago
» Replies: 9
» Views: 2,773
Too much space between gr...
Forum: GUI
Last Post: RonR
Yesterday, 11:22 AM
» Replies: 4
» Views: 1,195
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 207
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 539
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,702
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 642
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 225
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,172
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,394
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 1,055

 
  how to clear the console when the programm is running (not manually)
Posted by: hello_its_me - Sep-02-2017, 05:47 PM - Forum: General Coding Help - Replies (5)

HI,

I am used to C# and there is the option "Console.Clear()"to clear the console but I found no way that worked for me. The most used way I found ..... More

Print this item

  Can't edit code after I've pressed enter.
Posted by: xBlackHeartx - Sep-02-2017, 05:34 PM - Forum: General Coding Help - Replies (2)

This is a general problem I've been having trying to learn Python using the documents that come with it. And I should note, I'm only starting to learn..... More

Print this item

  Need Help With API Output
Posted by: computerguyinhere - Sep-02-2017, 04:16 PM - Forum: General Coding Help - Replies (3)

End Goal: Pull users from web site via API and list only certain fields in Python.

The website has an area that we can put additional information a..... More

Print this item

  How to transfer a music file, from "Telechargements" into my project
Posted by: sylas - Sep-02-2017, 01:15 PM - Forum: General Coding Help - Replies (6)

my question here: Hi all! In my project, every time I load a music or an image it drops in my directory "Telechargements". But I should like it drops ..... More

Print this item

  Dictionary named after variable value
Posted by: Alfred - Sep-02-2017, 01:07 PM - Forum: General Coding Help - Replies (1)

I am really new to Python and coding overall. I just have one question, I am trying to create a dictionarie based on a variable. I want to name the di..... More

Print this item

  The free book for the day from
Posted by: wavic - Sep-02-2017, 12:37 PM - Forum: Web Scraping & Web Development - Replies (19)

I am lazy man so it's too much for me to open a browser and check for the today free offer from packtpub.com
Here is a little script to tell me just ..... More

Print this item

  problem with a simple code
Posted by: hello_its_me - Sep-02-2017, 12:13 PM - Forum: General Coding Help - Replies (3)

Hi, I am new to python and I am trying out some things in python and wanted to experiment a bit with while as loop but I keep getting this error

"..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error 8 hours ago CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Yesterday, 11:22 RonR RonR GUI
  datetime in SQL query. Yesterday, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575956
  Tutorial Requ... 497352
  Web Scraping ... 439928
  Newbie with P... 383669
  New Users Int... 366067
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+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
alexguemez Yesterday
Shadab Yesterday
Dibbley Yesterday
XenonBlack 09-16
Lenowell 09-16

User Panel Messages

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