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: sydnydarkz9407
» Forum threads: 38,823
» Forum posts: 176,023

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 29 Guest(s)
Bing

Latest Threads
Apple Iphone 17 Price Ger...
Forum: General Coding Help
Last Post: sydnydarkz9407
1 hour ago
» Replies: 0
» Views: 17
Willing to pay for help w...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 3
» Views: 89
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 117
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 263
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,081
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,921
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 157
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 92
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 160
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,300

 
  [split] Need help with lists to continue my assignment code
Posted by: cylandur - Oct-10-2016, 11:58 PM - Forum: Homework - Replies (7)

[quote='tinabina22' pid='1929' dateline='1475880835']
I'm using Python 3.5, Pycharm.

This is what the instructions say to do:

[color=#000000][s..... More

Print this item

  coult not convert string to float
Posted by: kentman234 - Oct-10-2016, 09:34 PM - Forum: General Coding Help - Replies (9)

Hello,

I got this error while trying to compile my code:
[error] 
self.datayf.append(float(y.strip().replace(',', '')))
ValueError: could not co..... More

Print this item

  Ysignal - WeakRef Signal/Slots
Posted by: Yoriz - Oct-10-2016, 08:36 PM - Forum: Code sharing - Replies (2)

signal.py
[python]
'''
@author: Yoriz
'''
import inspect
import weakref

class Ysignal(object):

    '''WeakRef Signal/Slots'''

    def _..... More

Print this item

  error: max() arg is an empty sequence
Posted by: kentman234 - Oct-10-2016, 08:00 PM - Forum: General Coding Help - Replies (2)

Hello everyone, 

I'm trying to compile this code:
[python]
for idx, i in enumerate(array):
    if  idx > phaseshift:
        if  abs(i - array[..... More

Print this item

  Registration issues
Posted by: Kebap - Oct-10-2016, 07:17 PM - Forum: Board - Replies (2)

I noticed 2 minor issues:

1) During registration, there is an (unchecked) box saying "Hide your email from other members". I found that somewhat ir..... More

Print this item

  Selenium and Flash
Posted by: ATXpython - Oct-10-2016, 07:07 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello -

Building a program that inputs data to a website using selenium.
Part of the site has an embedded flash widget, and that widget has some f..... More

Print this item

  Shorting Code down
Posted by: gh01 - Oct-10-2016, 06:17 PM - Forum: Homework - Replies (12)

Hi I've made some code but it seems a bit long is their a way to shorten it down because it seems too long . This is the code:


[python]if passwor..... More

Print this item

  variable gets lost
Posted by: Jordy - Oct-10-2016, 05:47 PM - Forum: General Coding Help - Replies (10)

why doesn't this work??
[python]admin = ['Jordy', 'Julian']
logged_in = 0

def login(name):
    for i in admin:
        if name == i:
         ..... More

Print this item

  ValueError: invalid literal for int() with base 10: ''
Posted by: DennisT - Oct-10-2016, 05:08 PM - Forum: General Coding Help - Replies (8)

I have a Pyhon 3 application using a Maxbotix Ultrasonic Rangefinder (HR-USB-EZ1). 

Once in a great while I'll get the following error in my debug ..... More

Print this item

  Thonny IDE 2.0
Posted by: snippsat - Oct-10-2016, 04:27 PM - Forum: News and Discussions - Replies (9)

Python IDE for beginners Thonny IDE 2.0, video intro.
Teste..... More

Print this item

  pyenv says python 3 is not installed
Posted by: iFunKtion - Oct-10-2016, 04:24 PM - Forum: General Coding Help - Replies (3)

Hi there,

So pyenv is well aware of the (more than) 40 odd versions of python on this raspberry py, yet the one I use all the time, Python 3.4.0 i..... More

Print this item

  Efficiency Crash Course
Posted by: micseydel - Oct-10-2016, 03:37 PM - Forum: Common pitfalls and what to do - Replies (2)

[Migrated from old forum, originally posted 20 January 2015.]

I'm writing this post because occasionally people ask about efficiency on the forum, an..... More

Print this item

  Generators/Iterators
Posted by: micseydel - Oct-10-2016, 03:30 PM - Forum: Fundamentals - No Replies

Iterators are simple objects which can be iterated over, and which can be interrupted, and continued later on. If you have an iterable such as a list,..... More

Print this item

  Comprehension Expressions
Posted by: micseydel - Oct-10-2016, 03:28 PM - Forum: Fundamentals - No Replies

[Migrated from the old forum, originally posted 22 February 2013.]

[color=#333333]Comprehensions are syntactic sugar for for loops. Here is co..... More

Print this item

  Naming Conventions (PEP 8)
Posted by: micseydel - Oct-10-2016, 03:21 PM - Forum: Common pitfalls and what to do - No Replies

[Migrated from old forum, originally posted 22 February 2013.]

[color=#333333][size=medium]NOTE: There's definitely wiggle room when it comes to th..... More

Print this item

  Sum Series w/ Fractions
Posted by: EwH006 - Oct-10-2016, 02:42 PM - Forum: Homework - Replies (12)

Good Morning,

I am new to programming and these forums. I plan on becoming a little more active here and on IRC while working toward my degree.

..... More

Print this item

  cookie operation
Posted by: x64 - Oct-10-2016, 02:07 PM - Forum: Web Scraping & Web Development - Replies (1)

i can not retrive cookie in python that i set.......
this code is for set up cookie.......
[python]
#!"E:\python\python.exe"
from http import cook..... More

Print this item

  Parallel Python
Posted by: Manjunath - Oct-10-2016, 09:54 AM - Forum: General Coding Help - Replies (2)

Hi, I'm processing huge data around 13million records, I have my sequential algorithm running for small number of records, my plan is to run the same ..... More

Print this item

  Dark theme
Posted by: metulburr - Oct-10-2016, 05:40 AM - Forum: Board - Replies (21)

I added a new dark theme. Each user can select their own theme in their User CP -> edit options -> Board style -> Carbon/default. Or the same can be d..... More

Print this item

  Learning python with LPTHW
Posted by: diemildefreude - Oct-10-2016, 03:35 AM - Forum: News and Discussions - Replies (30)

[quote='snippsat' pid='2093' dateline='1476040213']
Yep more about learning basic command line stuff,
and Powershell(not fan of it) only comes up be..... More

Print this item

  IRC alchemy bot using sockets
Posted by: metulburr - Oct-10-2016, 01:54 AM - Forum: Code sharing - Replies (2)

I wrote this years ago. So there are few bad habits on this. 
[spoiler]
[python]import sys
import socket
import string
import time, os
import ra..... More

Print this item

  creating an dropdownlist with javascript in django
Posted by: shahpy - Oct-10-2016, 01:05 AM - Forum: Web Scraping & Web Development - Replies (6)

hello

i have a question in django.
i hope you can help me.
i want to to get address of user when he is signing up.

i want to have a dropdownli..... More

Print this item

  [book] Various python and non python books available each day (free for 24hrs)
Posted by: Yoriz - Oct-09-2016, 11:36 PM - Forum: News and Discussions - Replies (188)

Various python and non python books available each day (free for 24hrs) that you would normally be charged payment for from ..... More

Print this item

  Basic animation (part 5)
Posted by: metulburr - Oct-09-2016, 08:17 PM - Forum: Game Tutorials - Replies (1)

Back to part 4
https://python-forum.io/Thread-PyGame-Ad...cts-part-4



We are going to skip over the space shooter game on this o..... More


Attached Files

Thumbnail(s)
           
Print this item

  Adding player effects (part 4)
Posted by: metulburr - Oct-09-2016, 08:11 PM - Forum: Game Tutorials - No Replies

Back to part 3
https://python-forum.io/Thread-PyGame-Ba...ing-part-3



We are going to add the ability to make the ship shoot a la..... More

Print this item

  Basic event handling (part 3)
Posted by: metulburr - Oct-09-2016, 03:15 PM - Forum: Game Tutorials - No Replies

Back to part 2
https://python-forum.io/Thread-PyGame-Lo...ets-part-2



Basic movement of an image can..... More

Print this item

  Loading images, transparency, handling spritesheets (part 2)
Posted by: metulburr - Oct-09-2016, 03:01 PM - Forum: Game Tutorials - No Replies

Back to Part 1
https://python-forum.io/Thread-PyGame-Cr...dow-part-1



Dow[url=https://python-forum.io/thread-403.html]..... More


Attached Files

Thumbnail(s)
                   
Print this item

  Creating a window (part 1)
Posted by: metulburr - Oct-09-2016, 02:54 PM - Forum: Game Tutorials - No Replies

This tutorial starts a series of tutorials. This specific one handles opening a window, and modifications to that window. Feel free to ask questions o..... More


Attached Files

Thumbnail(s)
   
Print this item

  a python script i would like to have
Posted by: Skaperen - Oct-09-2016, 09:00 AM - Forum: General Coding Help - Replies (3)

i would like to have a python script that, given the path to another script, will indicate if there is a reason that other script would need to be run..... More

Print this item

  guessing script
Posted by: simon - Oct-09-2016, 08:02 AM - Forum: Homework - Replies (3)

Hello, this is my first time in python and i need help with my code, i want to guess a number between 1-100, but the problem is i can only guess 1-3ti..... More

Print this item

  Help with click
Posted by: dullboy - Oct-09-2016, 07:54 AM - Forum: General Coding Help - Replies (12)

Here is the code,
[code]
#test.py
import click
def print_version(ctx, value):
   if not value or ctx.resilient_parsing:
       return
   click...... More

Print this item

  Shorten this List Comprehension
Posted by: ATXpython - Oct-09-2016, 01:10 AM - Forum: General Coding Help - Replies (7)

Hello,

I currently have a script that pulls data from rows of a spreadsheet, appends that to a list, then writes that list to a csv file.
Recently..... More

Print this item

  GUI list of installed packages
Posted by: Larz60+ - Oct-09-2016, 12:23 AM - Forum: Code sharing - Replies (2)

Hello,

I had this posted on python-forum.org.
It's a simple tkinter list of installed packages and version numbers

[code]
import tkinter.tix a..... More

Print this item

  Testing unanswered posts (new)
Posted by: ichabod801 - Oct-08-2016, 11:08 PM - Forum: Board - No Replies

Please do not respond to this post.

Quote:TESTING: this post should show in unanswered

Print this item

  Alt history randomized
Posted by: jamesfrancis - Oct-08-2016, 07:26 PM - Forum: Code sharing - Replies (2)

I made this program called the Alt history randomized.
As you can see, it prints a string that basically creates a new, random historical figure, his..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Apple Iphone 17 Price Ger... 1 hour ago sydnydarkz9407 sydnydarkz9407 General Codin...
  Willing to pay for help w... 3 hours ago braillescribe Pedroski55 General Codin...
  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 ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
Most views
  The best Prog... 580388
  Tutorial Requ... 519308
  Web Scraping ... 442776
  Newbie with P... 386970
  New Users Int... 386403
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
sydnydarkz9407 Today
braillescribe Yesterday
aurelio12282025 Yesterday
bejaminmaarleyo1374 Yesterday
taylorlitleoz476 Yesterday

User Panel Messages

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