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,586
» Latest member: jahedulalamsameer
» Forum threads: 38,637
» Forum posts: 175,042

Full Statistics

Online Users
There are currently 533 online users.
» 0 Member(s) | 530 Guest(s)
Bing, Google, Baidu

Latest Threads
Let user search read-only...
Forum: GUI
Last Post: Winfried
6 hours ago
» Replies: 0
» Views: 53
Using EventSource in Pyth...
Forum: Web Scraping & Web Development
Last Post: snippsat
Today, 08:45 AM
» Replies: 1
» Views: 99
need help with tracking a...
Forum: General Coding Help
Last Post: gqdeep01
Today, 02:14 AM
» Replies: 0
» Views: 72
A penny doubled every day...
Forum: Homework
Last Post: DeaD_EyE
Yesterday, 05:26 PM
» Replies: 5
» Views: 192
I have a question
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:26 AM
» Replies: 2
» Views: 202
Problème d'exécutable
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:22 AM
» Replies: 1
» Views: 185
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-20-2025, 07:21 PM
» Replies: 11
» Views: 523
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
Jun-20-2025, 04:55 AM
» Replies: 3
» Views: 156
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
Jun-20-2025, 12:07 AM
» Replies: 3
» Views: 223
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Jun-19-2025, 03:37 AM
» Replies: 2
» Views: 166

 
  import requests gives me error
Posted by: blckpstv - Jan-22-2017, 10:19 AM - Forum: General Coding Help - Replies (1)

When importing requests after installing succesfully with pip install requests (osx mac sierra) (python 2.7.13)

I get 

>>> import requests

[c..... More

Print this item

  why do most algorithm only take number between -1 and 1 as input or output?
Posted by: hsunteik - Jan-22-2017, 09:37 AM - Forum: Bar - Replies (5)

Why do algorithm like Perlin noise and neural network and many more algorithm must have the input and output to be between -1 and 1,is there a reason ..... More

Print this item

  Where is the loophole in my code
Posted by: landlord1984 - Jan-22-2017, 04:05 AM - Forum: Homework - Replies (15)

Question is:

Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements...... More

Print this item

  Why is this multiplication not working?
Posted by: klopeks - Jan-21-2017, 11:54 PM - Forum: General Coding Help - Replies (4)

Hello,I'm very new to Python, and I'm having trouble with some basic math.  I've getting a user to input a number and assigning it to a variable.  The..... More

Print this item

  Dear friends, i need your help pls!
Posted by: Josh_Harmony - Jan-21-2017, 08:45 PM - Forum: Web Scraping & Web Development - Replies (4)

My name is Joshua. I am a developer. I do most of my programming using vb.net (visual studio). Until my new roommate introduced me to an entire new la..... More

Print this item

  How to write user defined exceptions
Posted by: kvc4 - Jan-21-2017, 03:01 PM - Forum: General Coding Help - Replies (1)

Hello...I am new to Python...

Please lemme know how to write user defined exceptions in python and how to use them in other classes?

Print this item

  Cryptography Problem
Posted by: PYTHONEUR - Jan-21-2017, 02:15 PM - Forum: Homework - Replies (28)

Please Help me what's the prob with str and int 

If someone can explain this problem  Confused 

They said me : [color=#e93f34][size=medium][..... More

Print this item

  OhodO optical marks recogination
Posted by: mintsilver - Jan-21-2017, 01:51 PM - Forum: Code sharing - No Replies

Hi, this my program:
the name: OhodO
ver: 1.0
Prog language: python 3.6 + opencv
Lic : Free + Gpl
interface language: Arabic - English
For: opti..... More

Print this item

  local variable 'l' referenced before assignment...
Posted by: darkreaper1959 - Jan-21-2017, 01:05 PM - Forum: Homework - Replies (4)

Hi everyone, this code is going well but my brain cannot take it any more, could someone please help me. This is my traceback error and I have tried m..... More

Print this item

  how to draw terrain like minecraft in python using opengl with perlin noise value?
Posted by: hsunteik - Jan-21-2017, 11:45 AM - Forum: General Coding Help - No Replies

In my previous thread/post ,I have asked a question about drawing Perlin noise terrain,mekire have helped me quite a lot by teaching me how to draw 2d..... More

Print this item

  what is [o,]?
Posted by: landlord1984 - Jan-21-2017, 08:48 AM - Forum: General Coding Help - Replies (6)

I am studying following teaching me about composition of class objects. What is o doing here?    

[python]def print_all_2(self):
        def gen(o..... More

Print this item

  chat system
Posted by: x64 - Jan-21-2017, 07:39 AM - Forum: Web Scraping & Web Development - Replies (2)

i can do socket chat in ubuntu terminal based but i can't implement it to django. If it is possible please help.Or if you know any other module to cre..... More

Print this item

  voronoi vs perlin noise?
Posted by: hsunteik - Jan-21-2017, 07:20 AM - Forum: General Coding Help - Replies (1)

what is the pros and cons of the both noise respectively?
what can be done in one noise ,but not the other noise?
which is recommend to create game ..... More

Print this item

  what should i do after generating the perlin noise value?
Posted by: hsunteik - Jan-21-2017, 05:59 AM - Forum: General Coding Help - Replies (8)

after generating the 3d perlin noise value(x,y and z respectively(the value is between -1 and 1)),how do i use the generated value to create texture o..... More

Print this item

  want to know the kind of object whether its a python or json object
Posted by: johnkennykumar - Jan-21-2017, 05:34 AM - Forum: General Coding Help - Replies (5)

[code]import http.client, urllib.request, urllib.parse, urllib.error, base64

headers = {
   # Request headers
   'Content-Type': 'application/j..... More

Print this item

  bind hover on tkinter.ttk.Treeview
Posted by: Larz60+ - Jan-21-2017, 03:46 AM - Forum: GUI - Replies (4)

I have been trying to find an example that shows how to bind mouse over Treeview cell without much success.
I thought that '<Enter>' could be used, b..... More

Print this item

  Why Python's standard library is hard to read?
Posted by: landlord1984 - Jan-20-2017, 10:41 PM - Forum: Data Science - Replies (2)

Are you guys generally search and read from here: https://docs.python.org/3/library/funct[url=https://python-forum.io/thread-1694.html]..... More

Print this item

  Using a range and for loop - temp converter
Posted by: rattlerskin - Jan-20-2017, 05:53 PM - Forum: Homework - Replies (5)

Hello,

     This is my first post and my first exposure to Python as a result of a college course I'm taking. My assignment asks to modify a progra..... More

Print this item

  Can this be done?
Posted by: SteveMann - Jan-20-2017, 05:51 PM - Forum: General Coding Help - Replies (4)

I have been using a Tingbot which runs on a modified version of Jessie.  There is an interesting feature (called a decorator) in the Tingbot Python th..... More

Print this item

  Why is choicebox not displayed?
Posted by: merlem - Jan-20-2017, 04:54 PM - Forum: GUI - Replies (2)

The code:
[python]
import wx

showliste = ["item1", "item2", "item3"]

class Mainframe(wx.Frame):
    def __init__(self, parent, id, title):
 ..... More

Print this item

  HTTPError: Forbidden when try download image
Posted by: b33g33 - Jan-20-2017, 04:53 PM - Forum: Web Scraping & Web Development - Replies (8)

i want to download picture on wallhaven.cc and i can get picture url but image is not download its give an error ; 

my code is ;

[python]import ..... More

Print this item

  Neighbours in an array
Posted by: MattaFX - Jan-20-2017, 04:26 PM - Forum: Homework - Replies (10)

Hi everyone,

I've got the following problem: 

Example: 
If the original Input is:


[python]
[[0 0 0 0 0 0 0 1]
[0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0]
..... More

Print this item

  Variable not defined
Posted by: ASDF - Jan-20-2017, 12:53 PM - Forum: General Coding Help - Replies (2)

This is very simple (as I am new to coding) but why does this keep saying 'yes' is not defined?
[python]def shop(answer):

    if answer == yes
  ..... More

Print this item

  looking 4 py code: file byte/character frequency
Posted by: Skaperen - Jan-20-2017, 05:08 AM - Forum: Bar - Replies (2)

the command line argument would be a filename in the coding used by the host system.  if the given name is what the platform normally uses to designat..... More

Print this item

  Class - Error Message (Indentation)
Posted by: tkj80 - Jan-20-2017, 03:55 AM - Forum: General Coding Help - Replies (3)

Hi,

I have a writing a Class definition. However, I got error msg: 

[error]SyntaxError: inconsistent use of tabs and spaces in indentation[/erro..... More

Print this item

  Learning Python from Jython
Posted by: NewtoPy - Jan-20-2017, 01:50 AM - Forum: Homework - Replies (1)

I 've learned the very basic of Jython in university. Now I would like to learn Python in the essence of interacting with MS SQL. In that case, which ..... More

Print this item

  Need some help with list and dictionary .txt
Posted by: GeekLife97 - Jan-20-2017, 12:06 AM - Forum: Homework - Replies (3)

Hello buddies, I need some help with 4 questions , thanks for your time
 
Implement a program for:
• Read data in files of format similar to the ex..... More

Print this item

  The problem of the cuts
Posted by: ics - Jan-19-2017, 07:35 PM - Forum: Homework - Replies (8)

Hi.
I received this problem as one of my homework problems, and I'm catching my ears with it. I would like some help with it:

Python 2.7

The pr..... More

Print this item

  what is my standard in python currently?
Posted by: hsunteik - Jan-19-2017, 10:34 AM - Forum: General Coding Help - Replies (3)

Is there a way to measure how good am I in python(beginner,intermediate,master,advanced,professional,etc)by the things I know?

I don't know what I ..... More

Print this item

  Find the complement of a number
Posted by: landlord1984 - Jan-19-2017, 07:50 AM - Forum: General Coding Help - Replies (4)

I want to find the complement of a number
For example:

The binary representation of 5 is 101 (no leading zero bits), and its complement is 010. So yo..... More

Print this item

  Methods
Posted by: infernoblaze - Jan-19-2017, 06:20 AM - Forum: Homework - Replies (13)

Does anyone here knows how to do methods inside a class? 
I need help to find:

[font=Courier New][size=x-small][font=Times New Roman][size=large]1..... More

Print this item

  i thought everything was utf-8 in python3
Posted by: Skaperen - Jan-19-2017, 05:46 AM - Forum: General Coding Help - Replies (10)

i thought everything was utf-8 in python3.  but apparently, this is not so.   what suggests this to me is the "ascii" in the error message.

this is..... More

Print this item

  Why am I getting a type error?
Posted by: WagmoreBarkless - Jan-19-2017, 02:01 AM - Forum: Data Science - Replies (7)

This should be simple.

I am using NumPy's ndarray, and taking the shape() of the 1st element like this:X.shape[0]. As expected, this is an integer th..... More

Print this item

  Problem of getting XLS file data into python
Posted by: klllmmm - Jan-19-2017, 01:50 AM - Forum: Data Science - Replies (3)


.xls   May.XLS (Size: 50.75 KB / Downloads: 206)
.xls   Apr.XLS (Size: 54.54 KB / Downloads: 199)
I'm trying to get the data from 2 XLS files into python. These XLS files were exported files from SAP system.

How..... More

Print this item

  meta array question
Posted by: meems - Jan-18-2017, 10:03 PM - Forum: Data Science - Replies (5)

I'm modelling a 3D space.

I'd like to create a large multi dim array , like numpy.empty((720,720,720),dtype=object) in size, but anticipate for mos..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [WxPython] Let user searc... 6 hours ago Winfried Winfried GUI
  Using EventSource in Pyth... Today, 08:45 rbadis snippsat Web Scraping ...
  need help with tracking a... Today, 02:14 gqdeep01 gqdeep01 General Codin...
  A penny doubled every day... Yesterday, 17:26 esoyboy DeaD_EyE Homework
  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... 572301
  Tutorial Requ... 484816
  Web Scraping ... 436835
  Newbie with P... 379665
  Thread remain... 351227
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 7340
deanhystad 6839
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
jahedulalamsameer 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