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,233
» Latest member: yutaozhou
» Forum threads: 38,775
» Forum posts: 175,783

Full Statistics

Online Users
There are currently 51 online users.
» 0 Member(s) | 48 Guest(s)
Google, Bing, Mojeek

Latest Threads
Backward compatibility qu...
Forum: General Coding Help
Last Post: yutaozhou
3 hours ago
» Replies: 0
» Views: 18
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
6 hours ago
» Replies: 0
» Views: 37
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:59 AM
» Replies: 3
» Views: 78
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Yesterday, 09:09 AM
» Replies: 452
» Views: 374,899
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:07 AM
» Replies: 2
» Views: 3,352
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,534
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 165
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,183
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,426
[SOLVED] Linefeed when wr...
Forum: General Coding Help
Last Post: buran
Nov-04-2025, 11:51 AM
» Replies: 5
» Views: 225

 
  Simple Cryptography Capture the Flag
Posted by: DrEastwood - Oct-12-2016, 08:33 PM - Forum: Homework - Replies (12)

I don't really understand how I am supposed to change my code to work to print the proper flag out in the text.
The flag itself is 30 characters long..... More

Print this item

  Import Error: No module named 'tables'
Posted by: kentman234 - Oct-12-2016, 06:31 PM - Forum: General Coding Help - Replies (5)

Hi there, 

after trying to run a python file I got this error:

Error:
Import Error: No module named 'tables'
and that is after execut..... More

Print this item

  Test internet connection
Posted by: Larz60+ - Oct-12-2016, 04:27 PM - Forum: Code sharing - Replies (14)

This is not a foolproof way to test if internet is active or not, but I find that it works in at least 90% of the cases.
If someone has a better (as ..... More

Print this item

  Use of classes or functions discussion
Posted by: Larz60+ - Oct-12-2016, 04:27 PM - Forum: News and Discussions - Replies (12)

This is not a foolproof way to test if internet is active or not, but I find that it works in at least 90% of the cases.
If someone has a better (as ..... More

Print this item

  help tempertaure
Posted by: Dpennington - Oct-12-2016, 05:34 AM - Forum: Homework - Replies (4)

Help I have been at this for days and I do not understand what I am doing wrong.  the script will not run. :huh:  also I do not have any errors and wh..... More

Print this item

  More codebox issues
Posted by: Mekire - Oct-12-2016, 04:05 AM - Forum: Board - Replies (26)

Just noticed that codebox seems to be parsing things into special characters.

I just entered "open_parenthesis + lowercase_c + close_parenthesis" a..... More

Print this item

  ARCPY using the arcpy.da.UpdateCursor
Posted by: CornJulio - Oct-12-2016, 03:32 AM - Forum: General Coding Help - Replies (2)

Howdy,

I am trying to get this script to create Grid Numbers for me in a mapping fishnet,  but I am running into troubl with the error listed below..... More

Print this item

  lambda function
Posted by: tkj80 - Oct-12-2016, 02:32 AM - Forum: General Coding Help - Replies (3)

Hi, 

I have the following code:

[python]
from collections import OrderedDict
tallyDict = {'New York': 12, 'Boston': 32, 'Atlanta': 5, 'Los Ang..... More

Print this item

  Where are we learning from?
Posted by: wavic - Oct-12-2016, 01:41 AM - Forum: News and Discussions - Replies (13)

Two days ago I came across a website where there was a huge amount of examples of Python code. I decided not to share it here because I didn't know if..... More

Print this item

  Using the and operator to check if two values equal a third
Posted by: DBS - Oct-11-2016, 11:58 PM - Forum: General Coding Help - Replies (13)

Hello,

Newbie question here, which is the correct way to use the and operator if checking to see whether two values equal a third value:
[python]i..... More

Print this item

  how can i send a picture
Posted by: shahpy - Oct-11-2016, 11:43 PM - Forum: Board - Replies (2)

hi

i want to send a picture when i,m asking a question

i want to show what error i,m getting.

how can i send a image in  this forum
thanks

Print this item

  Password checking
Posted by: nzieno - Oct-11-2016, 11:27 PM - Forum: General Coding Help - Replies (7)

I am making a program to check if a password is atleast 8 characters long, has atleast 1 special character, has atleast 1 number and atleast 1 capital..... More

Print this item

  my discussions AKA egosearch
Posted by: metulburr - Oct-11-2016, 11:16 PM - Forum: Board - Replies (1)

I finally got My Discussions in the menu links above ^^^ :D 

This is the same as the old forum's "view your posts". This gives you a list of thread..... More

Print this item

  " No module named 'msvcrt' " for mac
Posted by: harmanjotuppal - Oct-11-2016, 10:35 PM - Forum: General Coding Help - Replies (12)

So this is the problem I run into when I run my script, which is a .py file that I opened using IDLE, then I run the module (F5).

"
[color=#33cc66..... More

Print this item

  Missing smiley
Posted by: Ofnuts - Oct-11-2016, 08:43 PM - Forum: Board - Replies (3)

May I suggest to add a smiley to mark the more [Image: python.png]pythonic[img]http://www.gimp-forum...... More

Print this item

  beginer oop help
Posted by: noissue - Oct-11-2016, 06:17 PM - Forum: General Coding Help - Replies (7)

im beginer to oop and i have problem with understanding:
how to do a method that adds 2 objects with x and y coordinates
do i have to make another c..... More

Print this item

  Effeciency of passing XML tree object as function arguments
Posted by: sandeepvl - Oct-11-2016, 07:39 AM - Forum: General Coding Help - Replies (3)

Hi all, 

Is it efficient to pass an object returned by lxml.etree.parse("a.xml") as argument to other functions? Is the object returned a C pointer..... More

Print this item

  Call a code written in Fortran programming language in RhinoPython.
Posted by: TOM - Oct-11-2016, 07:27 AM - Forum: Homework - Replies (2)

[color=#333333][size=small][font=Verdana, Geneva, Tahoma, sans-serif]Hello,
I'm working through a uni project in which I'm trying to use a code writt..... More

Print this item

  Basic IRC bot with socket
Posted by: metulburr - Oct-11-2016, 02:02 AM - Forum: Networking Tutorials - Replies (2)

This is the basic layout of an IRC bot with the socket module. The docstrings specify each method. The end result is a bot that connects to the channe..... More

Print this item

  reputation + like system
Posted by: metulburr - Oct-11-2016, 12:12 AM - Forum: Board - Replies (25)

There is some difference in opinions about both

Print this item

  [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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Backward compatibility qu... 3 hours ago yutaozhou yutaozhou General Codin...
  [Tkinter] I’m building a ... 6 hours ago tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... Yesterday, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... Yesterday, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... Yesterday, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
  sorting a lisr of file pa... 11-04, 09:19 Skaperen DeaD_EyE News and Disc...
Most views
  The best Prog... 578640
  Tutorial Requ... 508880
  Web Scraping ... 441806
  Newbie with P... 385768
  New Users Int... 374899
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8191
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
yutaozhou Yesterday
EchoFlowar3Dip Yesterday
ironwolfan7Dip Yesterday
Accem_games Yesterday
sonicsparkin5Dip Yesterday

User Panel Messages

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