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,395
» Latest member: cruisesfares
» Forum threads: 38,823
» Forum posts: 176,026

Full Statistics

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

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:11 AM
» Replies: 1
» Views: 85
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,594
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 186
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,602
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 159
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 305
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,114
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,971
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 186
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 117

 
  Why is there an __init__ statement within the __init__ definition
Posted by: iFunKtion - Feb-06-2017, 12:12 PM - Forum: General Coding Help - Replies (7)

Hi there,

could someone please explain why with this bit of code I have copied, there is a second init statement in the init definition:
[python]..... More

Print this item

  Activate Virtual Environment and Help to get started with Python
Posted by: Adelton - Feb-06-2017, 11:32 AM - Forum: General Coding Help - Replies (4)

Hi There,

I am  new to Python and programming.I am very interested in learning to code in particular with regards to web development using python.I..... More

Print this item

  Scroll bar height is not fixed with Text widget
Posted by: MeeranRizvi - Feb-06-2017, 11:21 AM - Forum: GUI - Replies (2)

Hello Guys,
Here i am creating a GUI like Search engine.The problem what i am getting is the scroll bar is not fixed with Text widget.Even though i u..... More

Print this item

  using qt with classes basic window
Posted by: iFunKtion - Feb-06-2017, 09:50 AM - Forum: GUI - No Replies

Hi there,

really struggling here, so I am going back to basics to try and work out why none of this is working. So I can create a complete applicat..... More

Print this item

  Hello I am new to python
Posted by: jahur - Feb-06-2017, 08:07 AM - Forum: General Coding Help - Replies (6)

Hello,
I am new to python but have 5 years experience in developing php application, websites, modules, plugins. I want to know how do I get started...... More

Print this item

  example code for a coroutine generator
Posted by: Skaperen - Feb-06-2017, 04:52 AM - Forum: Code sharing - Replies (3)

i was looking for a simple example of a python coroutine generator.  i did not find one.  so i wrote my own, calling it gener.py.  this is [i]n..... More

Print this item

  Math opperators
Posted by: Zman350x - Feb-06-2017, 04:08 AM - Forum: General Coding Help - Replies (2)

can I calculate sin, cos, and tan in python if so how and if not are there any modules I can download and import into my project??? Smile

Print this item

  Ask help for utf-8 decode/encode
Posted by: forfan - Feb-06-2017, 01:57 AM - Forum: General Coding Help - Replies (12)

Hello, I am new here in this forum. 

I am current working on a python program manipulating a Mysql database.

The database is set as utf-8-bin, I..... More

Print this item

  Cmd Module + raw_input tab [complete
Posted by: ruggierom - Feb-05-2017, 10:25 PM - Forum: General Coding Help - Replies (1)

Hello Everyone!

I am new here, and fairly new to python, and I must say I've been missing out for so long.

System: Python 2.7, Cmd Module, OSX...... More

Print this item

  Why does it return error?
Posted by: Ponomarenko Pavlo - Feb-05-2017, 08:01 PM - Forum: General Coding Help - Replies (2)

[python]
from tkinter import *
root = Tk()
root.title('First stage')
root.geometry('600x400')
Button(root, text = '1', width = 5, height = 3, bg ..... More

Print this item

  Please use code tags
Posted by: Larz60+ - Feb-05-2017, 07:20 PM - Forum: Board - Replies (28)

My most common post

Print this item

  Why can't this code work.
Posted by: sexualpanda - Feb-05-2017, 06:14 PM - Forum: Homework - Replies (2)

Sorry for not using the correct python terminology I'm new to this. 

Every time I run this code 

[python]
x=0

def phone():
    if brand =='..... More

Print this item

  question regarding OOP
Posted by: Doug - Feb-05-2017, 04:44 PM - Forum: General Coding Help - Replies (3)

I have a piece of code that is structured as a Class object "A". Then I have GUI code which is also structured as a Class object "B". How I possibly c..... More

Print this item

  Can Pygame import and export SVG?
Posted by: OnisionTheOninonBoy - Feb-05-2017, 01:16 PM - Forum: General Coding Help - Replies (5)

I am making a Vector Graphics game.

Print this item

  How to extract (x,y) coordinates of the boundary of a .tif image?
Posted by: Pythonista - Feb-05-2017, 07:43 AM - Forum: General Coding Help - Replies (23)

I want to get the (x,y) coordinates of the boundary of this TIF image - goo.gl/Uai8lR

I am using Python notebook in Anaconda distribution. I just n..... More

Print this item

  Very first Python program generates a syntax error
Posted by: n8ves - Feb-05-2017, 02:42 AM - Forum: General Coding Help - Replies (2)

I typed in my first Python program (Hello World!) EXACTLY as it appeared in print.

[python]
#! /usr/bin/python

print "Hello World!"

[/python..... More

Print this item

  pip --download-cache
Posted by: Skaperen - Feb-05-2017, 02:00 AM - Forum: News and Discussions - Replies (1)

the man page for pip describes a command option --download-cache <dir> as "Cache downloaded packages in <dir>.".  but this optio..... More

Print this item

  Want a solution to this
Posted by: Shazily - Feb-05-2017, 12:44 AM - Forum: Homework - Replies (10)

Hi,
Please I am having problem to create this project.

Create a class called ShoppingCart.
Create a constructor that takes no arguments and sets ..... More

Print this item

  'NoneType' object has no attribute error, when using Kivy Screens
Posted by: chelovek - Feb-04-2017, 09:37 PM - Forum: General Coding Help - Replies (3)

I'm working on a multi-screen Kivy app. This is a simplified version, but the basic functionality is that a user should be able to drag files to three..... More

Print this item

  Is it possible to have a script call itself?
Posted by: treycoxiii - Feb-04-2017, 09:10 PM - Forum: General Coding Help - Replies (12)

Hi everyone I am trying to write a very very simple python script that opens up a .py file on my desktop using import os

this is what the script lo..... More

Print this item

  Can Python program soundfonts?
Posted by: OnisionTheOninonBoy - Feb-04-2017, 08:58 PM - Forum: General Coding Help - Replies (1)

Do I need to use audacity for the samples?Or can I just make a sound in Python with just my bare hands?Can I make VST instruments with Python too?Need..... More

Print this item

  Pythonic way to standardize dates across two excel sheets?
Posted by: maco144 - Feb-04-2017, 06:48 PM - Forum: Data Science - Replies (1)

Hello! I am using pandas and working with one financial excel sheet where I count streaks of consecutive increases or decreases. I loaded everything i..... More

Print this item

  Loop problems
Posted by: yuvalsaias - Feb-04-2017, 01:33 PM - Forum: General Coding Help - Replies (1)

Hello everyone.
im new to python and im trying to make a snakes and ladder game code.
im having troubles as you can see at the code below with the '..... More

Print this item

  What does 1 do in X = np.array(df.drop(['label'], 1))?
Posted by: landlord1984 - Feb-04-2017, 01:15 PM - Forum: Data Science - Replies (2)

X = np.array(df.drop(['label'], 1))
I understand this code is to convert a Pandas's dataframe into a numpy array without a column ..... More

Print this item

  how to create useful neural network program?
Posted by: hsunteik - Feb-04-2017, 08:21 AM - Forum: General Coding Help - Replies (1)

I have learned many neural network tutorial and watched some videos,and i really understand them,but all the tutorial that saw before only teach me ab..... More

Print this item

  leap year program issue
Posted by: jashajmera - Feb-04-2017, 07:20 AM - Forum: General Coding Help - Replies (3)

Hi,

Can someone please help with the following program.

Can't seem to figure out where I am going wrong.

My program executes fine, just ends ..... More

Print this item

  i(*args) statement
Posted by: chelovek - Feb-04-2017, 06:06 AM - Forum: General Coding Help - Replies (2)

Hi,

I'm studying code for a Kivy app and am having trouble understanding a piece of syntax. For context, this is part of an app that lets a user drop..... More

Print this item

  For loop within a for loop
Posted by: tre - Feb-04-2017, 05:21 AM - Forum: Homework - Replies (4)

Python 2.7.10
I can't seem to figure out the way to do this.  Here is the code

[python]
something = "go dumb cat"

words = something.split()
w..... More

Print this item

  NameError:name'build' is not defined
Posted by: hsunteik - Feb-04-2017, 04:50 AM - Forum: General Coding Help - Replies (2)

[python]
class information(object):
        #version 1
        build=1
        majorVersion=0
        minorVersion=1
        bugFixes=0
       ..... More

Print this item

  from string to list to string.
Posted by: mcmxl22 - Feb-04-2017, 03:57 AM - Forum: General Coding Help - Replies (9)

[python]
def splice():
    name = raw_input('Enter name and age.\n> ')
    result = name.split()
    add_comma = result[:1] + [', '] + result[1:]..... More

Print this item

  Globals vs Function
Posted by: mcmxl22 - Feb-04-2017, 12:29 AM - Forum: General Coding Help - Replies (2)

Is using a function like this to define variables ok? 
[python]
def variables(a, b):
    a = something
    b = another

def some_function():
  ..... More

Print this item

  [split] deleting pieces of strings
Posted by: viking_helgi - Feb-03-2017, 10:23 PM - Forum: Homework - Replies (2)

good evening!
somebody know how delete pices of strings and return them?

Print this item

  django ckeditor
Posted by: shahpy - Feb-03-2017, 09:29 PM - Forum: Web Scraping & Web Development - No Replies

hello

i want to use ckeditor in my project.
i can install ckeditor in admin view but I want to install this editor in my local form that i created..... More

Print this item

  bug in my code
Posted by: sunnysude - Feb-03-2017, 08:42 PM - Forum: Homework - Replies (7)

when i run the code on my laptop it runs fine. but when i try to submit online it detects a bug with online Type Error  . what can i do to correct the..... More

Print this item

  Sirius Radio, or multi-phasic streams
Posted by: nilamo - Feb-03-2017, 04:46 PM - Forum: Bar - Replies (3)

It's been a while since I listed to satellite radio.  Over the past three months (yeah, I'm very near the end of my free trial lol), I've started noti..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q Today, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
Most views
  The best Prog... 580421
  Tutorial Requ... 519612
  Web Scraping ... 442785
  Newbie with P... 386989
  New Users Int... 386566
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
cruisesfares Today
azam Today
zcharlesoogleto9533 Today
MaxTranslate Yesterday
pizofreude Yesterday

User Panel Messages

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