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,588
» Latest member: Dhivya
» Forum threads: 38,637
» Forum posts: 175,044

Full Statistics

Online Users
There are currently 386 online users.
» 0 Member(s) | 382 Guest(s)
Bing, Google, Yandex

Latest Threads
Convert any Python expres...
Forum: General Coding Help
Last Post: Pedroski55
45 minutes ago
» Replies: 1
» Views: 215
Let user search read-only...
Forum: GUI
Last Post: Larz60+
8 hours ago
» Replies: 1
» Views: 77
Using EventSource in Pyth...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:45 AM
» Replies: 1
» Views: 119
need help with tracking a...
Forum: General Coding Help
Last Post: gqdeep01
Yesterday, 02:14 AM
» Replies: 0
» Views: 92
A penny doubled every day...
Forum: Homework
Last Post: DeaD_EyE
Jun-21-2025, 05:26 PM
» Replies: 5
» Views: 209
I have a question
Forum: General Coding Help
Last Post: noisefloor
Jun-21-2025, 09:26 AM
» Replies: 2
» Views: 214
Problème d'exécutable
Forum: General Coding Help
Last Post: noisefloor
Jun-21-2025, 09:22 AM
» Replies: 1
» Views: 202
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-20-2025, 07:21 PM
» Replies: 11
» Views: 581
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
Jun-20-2025, 04:55 AM
» Replies: 3
» Views: 177
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
Jun-20-2025, 12:07 AM
» Replies: 3
» Views: 232

 
  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

  Append Data from TkInter to Excel
Posted by: zinho - Feb-03-2017, 01:15 PM - Forum: GUI - Replies (5)

Hi, I'm new in python.

I stole this code here and i need adat it.

How save data in existing excel file (below last data)
I need a function to s..... More

Print this item

  random module in while loops
Posted by: yuvalsaias - Feb-03-2017, 11:25 AM - Forum: General Coding Help - Replies (8)

Hello everyone.
im new to python , just started before few days and i tried to made a snakes and ladders game.
as you can see in the code below i wa..... More

Print this item

  processing bad JSON
Posted by: Skaperen - Feb-03-2017, 06:53 AM - Forum: General Coding Help - Replies (3)

i am using json.loads().   the data looks bad to me Wall , but potentially usable Think    is it possible in python or with pyt..... More

Print this item

  coroutines
Posted by: Skaperen - Feb-03-2017, 01:46 AM - Forum: General Coding Help - Replies (9)

today i am working on a project that probably should be a coroutine.  it takes in a list of strings.  it is expected that this list is very long.  it ..... More

Print this item

  A question about global variables
Posted by: Goldberg291 - Feb-02-2017, 09:12 PM - Forum: General Coding Help - Replies (3)

A quick question on global variables

I understand that global variables cannot not be accessed outside of a function but is there anyway I could ac..... More

Print this item

  Update removing formatting
Posted by: Larz60+ - Feb-02-2017, 07:49 PM - Forum: Board - Replies (10)

I added a post to the following link https://python-forum.io/Thread-Collectio...49#pid9549
there are two emb..... More

Print this item

  Scrapy-cut: Advanced Cookiecutter Scrapy Templating
Posted by: scriptso - Feb-02-2017, 07:36 PM - Forum: Web Scraping & Web Development - Replies (2)

This post is to inquire any references or resources is... any pointers  to the following project scope whilst using cookie cutter framework.

can ch..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Convert any Python expres... 45 minutes ago voidtrance Pedroski55 General Codin...
  [WxPython] Let user searc... 8 hours ago Winfried Larz60+ GUI
  Using EventSource in Pyth... Yesterday, 08:45 rbadis snippsat Web Scraping ...
  need help with tracking a... Yesterday, 02:14 gqdeep01 gqdeep01 General Codin...
  A penny doubled every day... 06-21, 17:26 esoyboy DeaD_EyE Homework
  I have a question 06-21, 09:26 Clictithe noisefloor General Codin...
  Problème d'exécutable 06-21, 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...
Most views
  The best Prog... 572302
  Tutorial Requ... 484822
  Web Scraping ... 436838
  Newbie with P... 379667
  Thread remain... 351228
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+ 12067
buran 8173
snippsat 7340
deanhystad 6839
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Dhivya Today
Dnfsdd8hFn3 Today
jahedulalamsameer Yesterday
Cio Yesterday
Harsh Yesterday

User Panel Messages

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