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,587
» Latest member: Gichardfaife
» Forum threads: 38,637
» Forum posts: 175,041

Full Statistics

Online Users
There are currently 390 online users.
» 0 Member(s) | 385 Guest(s)
Baidu, Google, Yandex, AOL

Latest Threads
Earnestnut
Forum: General Coding Help
Last Post: Gichardfaife
13 minutes ago
» Replies: 0
» Views: 4
need help with tracking a...
Forum: General Coding Help
Last Post: gqdeep01
4 hours ago
» Replies: 0
» Views: 44
A penny doubled every day...
Forum: Homework
Last Post: DeaD_EyE
Yesterday, 05:26 PM
» Replies: 5
» Views: 172
Using EventSource in Pyth...
Forum: Web Scraping & Web Development
Last Post: rbadis
Yesterday, 12:34 PM
» Replies: 0
» Views: 75
I have a question
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:26 AM
» Replies: 2
» Views: 192
Problème d'exécutable
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:22 AM
» Replies: 1
» Views: 166
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-20-2025, 07:21 PM
» Replies: 11
» Views: 477
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
Jun-20-2025, 04:55 AM
» Replies: 3
» Views: 150
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
Jun-20-2025, 12:07 AM
» Replies: 3
» Views: 208
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Jun-19-2025, 03:37 AM
» Replies: 2
» Views: 156

 
  Calling a C Func though Pyhon Script using DLL file which is created for C file.
Posted by: CMMouli - Jan-05-2017, 12:35 PM - Forum: General Coding Help - Replies (4)

1. I've created a C file (timestamp.c) having a function which returns the Timestamp in string format.
2. For this C file I've created a DLL (timesta..... More

Print this item

  Problem With Scope Of A Variable
Posted by: Saif133 - Jan-05-2017, 11:58 AM - Forum: General Coding Help - Replies (5)

I keep getting an error 
[quote]
if ((YesAvailable == "True") and (len(str(FullNameEntry.get())) > 3) and (

NameError: name 'YesAvailable' is not..... More

Print this item

  Custom widget in Python-Qt, 'live' at Qt Designer
Posted by: panoss - Jan-05-2017, 10:34 AM - Forum: General Coding Help - Replies (3)

Hi everybody!
I 'm trying to make a custom widget for Qt in Python. I want it, in Qt Designer, to be able to receive events. e.g: (in Qt Designer, at..... More

Print this item

  simple list check with loops
Posted by: Low_Ki_ - Jan-05-2017, 07:09 AM - Forum: General Coding Help - Replies (23)

Huh
Now for the purpose of knowledge and learning could you iterate on simple loop / list basics. I'm using PyCharm IDE, python v 3.5 if that ma..... More

Print this item

  MIT book on sale
Posted by: Larz60+ - Jan-05-2017, 03:55 AM - Forum: News and Discussions - Replies (4)

This looks like a great book. On sale for $64 (still steep look at it this way, $0.08 per page (800))
URL: https://mitpress.mit.edu/books/deep-learni..... More

Print this item

  web crawler that retrieves data not stored in source code
Posted by: edithegodfather - Jan-05-2017, 12:09 AM - Forum: Web Scraping & Web Development - Replies (14)

hey guys,

so i'm working right now on a small program that can help me gather ads from an ad website in my country (i'm gonna post some screenshots..... More

Print this item

  changing variable outside of a function
Posted by: tkj80 - Jan-04-2017, 11:32 PM - Forum: General Coding Help - Replies (8)

Hi,

I have the variable sun_Datetime that was initialized globally outside of 2 user defined functions that I have: 1) get_previous_byday(dayname, ..... More

Print this item

  [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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Earnestnut 13 minutes ago Gichardfaife Gichardfaife General Codin...
  need help with tracking a... 4 hours ago gqdeep01 gqdeep01 General Codin...
  A penny doubled every day... Yesterday, 17:26 esoyboy DeaD_EyE Homework
  Using EventSource in Pyth... Yesterday, 12:34 rbadis rbadis Web Scraping ...
  I have a question Yesterday, 09:26 Clictithe noisefloor General Codin...
  Problème d'exécutable Yesterday, 09:22 Zauf noisefloor General Codin...
  How do select this table ... 06-20, 19:21 MarkMan snippsat Web Scraping ...
  [split] Simple webbot for... 06-20, 04:55 AB073 Plyth Code Review
  Dynamic Module Import Err... 06-20, 00:07 DaddyMAN Pedroski55 General Codin...
  What Are the Most Overloo... 06-19, 03:37 shreyapatel Plyth News and Disc...
  Setting AST node lineno c... 06-18, 21:15 voidtrance deanhystad General Codin...
Most views
  The best Prog... 572294
  Tutorial Requ... 484792
  Web Scraping ... 436833
  Newbie with P... 379657
  Thread remain... 351226
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12066
buran 8173
snippsat 7339
deanhystad 6839
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Gichardfaife Today
Cio Today
Harsh Today
gqdeep01 Today
woefdram Yesterday

User Panel Messages

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