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,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,792

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 34 Guest(s)
Google, Bing, Apple, Google Image

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
1 hour ago
» Replies: 1
» Views: 87
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:56 AM
» Replies: 4
» Views: 139
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 112
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 123
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,218
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,374
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,575
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 201
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,205
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,456

 
  [split] Something went wrong
Posted by: Student - Jan-04-2017, 10:01 PM - Forum: Homework - Replies (1)

Hello all,

What is here wrong???
[python]
def repeat (symbol,n):
    res = ""
    while((n> 0)):
        res=(res+symbol)
        n=(n-1)
  ..... More

Print this item

  Slower script on faster machine?
Posted by: guest123 - Jan-04-2017, 07:49 PM - Forum: General Coding Help - Replies (8)

Hi, I am currently running a script created for me by my developer. I do not know much about the details about the script other than that we use it on..... More

Print this item

  Make A Button That Opens Another Tk() Window That I Have Made
Posted by: Saif133 - Jan-04-2017, 05:25 PM - Forum: GUI - Replies (5)

I have made two windows
StartScreen=tk()
[color=#333333][size=..... More

Print this item

  Arguments in function for button command
Posted by: kristrek - Jan-04-2017, 04:58 PM - Forum: GUI - Replies (14)

New to Python. No matter what I enter, it doesn't like the arguments in the function. Appreciate any help.
[error]
Exception in Tkinter callback
Tr..... More

Print this item

  print 3 table in a 3*3 matrix format
Posted by: MeeranRizvi - Jan-04-2017, 12:33 PM - Forum: Homework - Replies (2)

Hello guys,

Here i have to print 3 table in 3*3 matrix format

x=3
for i in range(1,10):
    print(x*i)
it gives me t..... More

Print this item

  Purge this one?
Posted by: Larz60+ - Jan-04-2017, 10:54 AM - Forum: Board - Replies (2)

This sure looks like spam to me (hidden in a theoretical genome test) http://python-forum.io/Thread-test-x-360...d-proteins
Need ..... More

Print this item

  having dictionary and list to iterate in for loop
Posted by: Annie - Jan-04-2017, 07:50 AM - Forum: General Coding Help - Replies (5)

[python]
dic = {3: 0.1, 4: 0.2, 5: 0.1, 6:0.2, 7:0.1, 8:0.2}
ls =  {0.2,   0.1,     0.2,    0.1,   0.2,   0.1}
n = {}


for i, v, l in list(dic...... More

Print this item

  trouble writing to file after while loop
Posted by: Low_Ki_ - Jan-04-2017, 03:18 AM - Forum: General Coding Help - Replies (21)

I'm trying to write a register form for account creation. When using a while loop to check for username matches I notice the loop gets ran through mul..... More

Print this item

  sys.executable python 2.7 vs 3.6
Posted by: mcmxl22 - Jan-03-2017, 09:05 PM - Forum: General Coding Help - Replies (6)

This works fine in Python 2.7.13 but only returns an empty >>> prompt in python 3.6. What changed?
[python]
import subprocess
import..... More

Print this item

  Truck (bus) Factor = 1
Posted by: nilamo - Jan-03-2017, 06:14 PM - Forum: News and Discussions - Replies (3)

There was recently an article about the huge number of repositories (many of which are pretty important) which have a truck factor of 1 (ie: if that o..... More

Print this item

  Program calculating intrests
Posted by: the_werid_guy - Jan-03-2017, 04:43 PM - Forum: General Coding Help - Replies (1)

[python]def money():
    capital = int(input('Input amount of money invested: '))
    percentage = float(input('Input percentage provided by bank: '..... More

Print this item

  had to re-register
Posted by: pedros - Jan-03-2017, 11:32 AM - Forum: Board - Replies (10)

hello,

according to my records i registered with this username (which i've had for the previous three incarnations of this fourm), using the same ema..... More

Print this item

  getmyip.py
Posted by: Skaperen - Jan-03-2017, 07:38 AM - Forum: Code sharing - Replies (4)

this code lets you add/delete/modify the sources as a list of lambda functions that call various functions to process the received data.  since variou..... More

Print this item

  Syntax error not understood
Posted by: raady07 - Jan-03-2017, 06:37 AM - Forum: General Coding Help - Replies (5)

Hi, 

Completely new user for Python coding. Please help to understand the error. 

[python]
import math 

def euclideanDistance(instance1,inst..... More

Print this item

  calling a function which takes a dictionary as argument
Posted by: Annie - Jan-03-2017, 06:34 AM - Forum: General Coding Help - Replies (4)

Hi all,

I'm having trouble with calling a function which takes a dictionary as argument
for example If I have

[python]
dic = {3:0.2, 4:0.5, 5:..... More

Print this item

  until
Posted by: Skaperen - Jan-03-2017, 04:38 AM - Forum: Bar - Replies (1)

tonight, i wish python had an until statement, so i could have made prettier code for a loop that needs to always run the body once before chec..... More

Print this item

  Double Hog Help
Posted by: asapb360 - Jan-02-2017, 10:33 PM - Forum: Homework - Replies (6)

Im making a game of double hog, using tkinter too, and was wondering how to make a list of high scores, or something close to as it is a requirement f..... More

Print this item

  Need to undo
Posted by: Larz60+ - Jan-02-2017, 10:32 PM - Forum: Board - Replies (4)

Need to undo changes on post http://python-forum.io/Thread-CSV-Troubl...62#pid7462
I tried to add code tags, but inadvertently..... More

Print this item

  CSV : Troubleshooting my script
Posted by: scriptso - Jan-02-2017, 09:59 PM - Forum: Web Scraping & Web Development - Replies (7)

Hello forum!
  First post and starting it of by making yself look extra nubZ! lol  So I just reached (...yesterday infact ) first year of complte div..... More

Print this item

  Best book for numpy,scipy & pandas
Posted by: Surya - Jan-02-2017, 07:45 PM - Forum: News and Discussions - Replies (4)

Hi All,

Kindly let me know what are some of the good books for learning numpy,scipy and pandas.

I am relatively new to python but i know the bas..... More

Print this item

  How do I access values from a dict without it being in a massive for loop?
Posted by: danw32 - Jan-02-2017, 07:39 PM - Forum: Web Scraping & Web Development - Replies (2)

I'm trying to write a basic testing framework in python using a spreadsheet for data and selenium webdriver to do my tests.

I've managed to get so ..... More

Print this item

  Scikit Image Processing
Posted by: DanielAustin91 - Jan-02-2017, 06:43 PM - Forum: General Coding Help - Replies (1)

[color=#333333][size=small]I'm trying to use Python to process a batch of photos and sort the images into categories. I'm a newbie at Python, but what..... More

Print this item

  cx_Freeze doesn't seem to work
Posted by: owenwalker65 - Jan-02-2017, 05:49 PM - Forum: Data Science - Replies (7)

I cannot get cx_Freeze to work at all and keep getting, when I try to build the exe file, the same error: "No module named cx_Freeze.util" 

Im usin..... More

Print this item

  maximum and minimum element from the list and return output in dict
Posted by: MeeranRizvi - Jan-02-2017, 12:55 PM - Forum: Homework - Replies (1)

Hi guys,

[color=#222222][size=small][font=arial,sans-serif][b]Find maximum and minimum element from the list and return output in dict i.e dict:{'M..... More

Print this item

  IP address validation
Posted by: MeeranRizvi - Jan-02-2017, 09:03 AM - Forum: Homework - Replies (2)

Hello guys,
In this program i need to check whether the given ip is valid or not?
[python]
print "Enter the IP:"
save=raw_input()
regex="^(([0-9]..... More

Print this item

  DLL printf not working
Posted by: mperemsky - Jan-02-2017, 05:13 AM - Forum: General Coding Help - Replies (3)

I have just installed python 3.6 (32-bit), eclipse, and PyDev. I am going through the Gray Hat Python book (which uses 2.5) and cannot get the dll cal..... More

Print this item

  Python Text Adventure
Posted by: sneakyninja0129 - Jan-01-2017, 08:19 PM - Forum: General Coding Help - Replies (2)

So im working on a small little game but its becoming a pain in the ass to have to run through every line just to test one thing so i wanted to create..... More

Print this item

  Classes are blowing my mind!
Posted by: mcmxl22 - Jan-01-2017, 07:07 PM - Forum: General Coding Help - Replies (5)

I have been trying to figure out classes and I can't wrap my brain around it. 
I believe I know the syntax for creating classes but when it comes to ..... More

Print this item

  Profanity censoring.
Posted by: Mekire - Jan-01-2017, 06:31 PM - Forum: Board - Replies (24)

Turn this off.  It is ridiculous.

pain in the ass
appears as
pain in the [censored]

Recently encountered in this post:
http://python-foru..... More

Print this item

  OpenCV, segment image
Posted by: Standard_user - Jan-01-2017, 02:19 PM - Forum: General Coding Help - Replies (6)

Good day,
let's say I have an image:
[Image: image.jpg]
How do I [..... More

Print this item

  box.py
Posted by: Skaperen - Jan-01-2017, 07:08 AM - Forum: Code sharing - Replies (2)

this is the completed command/module i wrote, referred to here.
..... More

Print this item

  Buying Computers by the page
Posted by: Larz60+ - Jan-01-2017, 04:03 AM - Forum: News and Discussions - Replies (1)

Check this one out http://www.allaboutcircuits.com/news/cou...packaging/

Print this item

  How do I shorten my input options? - text adventure
Posted by: ShiningKnight - Dec-31-2016, 10:03 PM - Forum: General Coding Help - Replies (3)

As the tittle states I want to shorten a piece of my code into something like a dictonary, im fairly new to python and dont really know how to go abou..... More

Print this item

  Accessing kivy label from Python
Posted by: d4py - Dec-31-2016, 08:57 PM - Forum: General Coding Help - No Replies

Hi, I'm trying to access a label in the kv file.  I would like it to be a clock.  

Currently I have the following code:



[python]from kivy.ap..... More

Print this item

  Write stdout to file
Posted by: mcmxl22 - Dec-31-2016, 07:19 PM - Forum: General Coding Help - Replies (3)

I need the lines() function to write the results of a = [int(x) for x in str(i)] to fibo.txt but it's coming up empty.
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 1 hour ago tsgiannis woooee GUI
  Two arguments in input fu... Today, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578717
  Tutorial Requ... 509317
  Web Scraping ... 441858
  Newbie with P... 385816
  New Users Int... 375218
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
lary_p Today
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07

User Panel Messages

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