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,963
» Latest member: chaoh1911
» Forum threads: 38,729
» Forum posts: 175,540

Full Statistics

Online Users
There are currently 43 online users.
» 1 Member(s) | 37 Guest(s)
Applebot, Google, Bing, AOL

Latest Threads
My First App
Forum: Code Review
Last Post: carlbidwell
7 hours ago
» Replies: 8
» Views: 8,422
what does % stand for in ...
Forum: General Coding Help
Last Post: carlbidwell
8 hours ago
» Replies: 3
» Views: 1,813
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Today, 03:54 AM
» Replies: 3
» Views: 319
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 755
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 824
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,070
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,710
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,751
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 357
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 609

 
  Validating credit card
Posted by: frequency - Nov-04-2018, 01:03 PM - Forum: General Coding Help - Replies (8)

Hello,
I have been trying to make a credit card validator but i keep getting an error. I have created a special fuction that removes the empty spaces..... More

Print this item

  Remove special character from list
Posted by: vestkok - Nov-04-2018, 11:59 AM - Forum: Homework - Replies (3)

Hi guys, if I would to put ' symbol in the symbols, it is obvious that I won't be getting the desire outcome.

I would like to preserve the ' symbol o..... More

Print this item

  Error ' Attribute error: 'str' object has no attribute 'items'' in pyinstaller
Posted by: manhnt - Nov-04-2018, 11:21 AM - Forum: General Coding Help - Replies (2)

I tried to convert a .py file format to a .exe file by using PyInstaller.It seems not to work with this error: [quote]' Attribute error: 'str' object ..... More

Print this item

  IndentationError: unexpected indent
Posted by: salahhadjar - Nov-04-2018, 11:14 AM - Forum: Web Scraping & Web Development - Replies (2)

hello ladies and gentleman i built an automation bot with selenium and webdriver and everything was working fine
but after i tried to add a functio..... More

Print this item

  Calculating the sum of a list's item.
Posted by: frequency - Nov-04-2018, 10:50 AM - Forum: General Coding Help - Replies (1)

Hello.
With this function
[PYTHON]
def digit_sum(number):
value = str(number)
digits = [int(x) for x in value]
return sum(digits)
[/PYTHO..... More

Print this item

  Regex URLs Django 2.1
Posted by: sterion66 - Nov-04-2018, 10:22 AM - Forum: Web Scraping & Web Development - No Replies

Ok so I've spent the best part of a day driving myself insane. So there's a blog page that runs through all iterations in the database and populates t..... More

Print this item

  how to start python programing
Posted by: Sharafuzzaman - Nov-04-2018, 08:38 AM - Forum: News and Discussions - Replies (1)

how to start python programing

Print this item

  Two text files in Text widget (python 3)
Posted by: atlass218 - Nov-04-2018, 07:35 AM - Forum: GUI - Replies (21)

Hi;
I'm trying to display the contents of 02 text files in a Tkinter (Text) widget, but I didn'tt arrived.
File contents (loc1.txt):

[quote]
21/06/18..... More

Print this item

  Sylas
Posted by: wavic - Nov-04-2018, 07:31 AM - Forum: Bar - Replies (4)

I want to inform you that Sylas passed away on October the 24th at age 90. His daughter contacted me. She asked me to announce it here. I initially r..... More

Print this item

  how to upload a file to my gmail driver after login ??
Posted by: evilcode1 - Nov-04-2018, 07:21 AM - Forum: General Coding Help - Replies (5)

hey folk ,,, i already write a code to login into my gmail ... my code :

[python]

import imaplib

enc1 = ("password") #=======================..... More

Print this item

  Medium subscription
Posted by: pcsailor - Nov-04-2018, 05:35 AM - Forum: Bar - Replies (8)

Hi,
Anyone have a medium subscription? How do you like it? I'm considering it as I've run up against the paywall a few months in a row now.
Thanks..... More

Print this item

  inconsistent processing of list of tuples
Posted by: PyFool - Nov-04-2018, 03:04 AM - Forum: General Coding Help - Replies (4)

Context: game of checkers, populating list of possible moves, but if player must make a jump, non-jumping moves should be removed from the list.

Pr..... More

Print this item

  Probelm using Boolean input phrase.isupper()
Posted by: skrivver99 - Nov-04-2018, 02:39 AM - Forum: General Coding Help - Replies (4)

Hi, I'm a beginner using python. I am using version 3.5 with IDLE for version 3.5. I can use the input phrase.upper() just fine. However, according to..... More

Print this item

  MAC Changer Script
Posted by: ogautier - Nov-04-2018, 12:14 AM - Forum: General Coding Help - Replies (2)

root@:~# python
Python 2.7.15+ (default, Aug 31 2018, 11:56:52)
[GCC 8.2.0] on linux2

Linux 4.18.0-kali2-amd64 #1 SMP Debian 4.18.10-2kali1 (2018-10..... More

Print this item

  'module' object has no attribute 'utilities'
Posted by: art3mis - Nov-03-2018, 11:11 PM - Forum: General Coding Help - Replies (1)

Trying to implement ytini (yt for Houdini) Python framework.
http://www.ytini.com/

Resolved most install erros but am still getting the following ..... More

Print this item

  Code to use output from arduino as input (help)
Posted by: Updownrightleft - Nov-03-2018, 11:04 PM - Forum: Homework - No Replies

As you may have gathered from the title, I have no idea what I am talking about. I spent all of 10 minutes trying to come up with the title and that i..... More

Print this item

  Remove duplicate images - tkinter?
Posted by: darter - Nov-03-2018, 10:43 PM - Forum: GUI - Replies (5)

I am able to generate strings that hold the location of duplicate images on my hard drive but I am trying to figure out how to see a thumbnail of the ..... More

Print this item

  Finding the Young's Modulues in a curve stress strain
Posted by: AicramM - Nov-03-2018, 07:57 PM - Forum: Homework - Replies (1)

Hello !


I am working on my scrip, I import some date and I plot a curve stress x strain, I have to get the Young's Modulus, the Limit of Elastic..... More

Print this item

  IDLE on Mac Error No. 13
Posted by: leemc71 - Nov-03-2018, 06:07 PM - Forum: General Coding Help - Replies (1)

I just installed IDLE with interpreter v. 3.71 on my Mac running the latest Mojave OS. I did not change any of the default installation options. When ..... More

Print this item

  copy one column from csv file and paste into xls file
Posted by: kprogrammer - Nov-03-2018, 04:03 PM - Forum: Data Science - No Replies

I am a beginner in python. I ma working on csv file and xls file both.
how can i copy one column of csv fle and paste it into xls file in paste speci..... More

Print this item

  list
Posted by: frequency - Nov-03-2018, 04:00 PM - Forum: General Coding Help - Replies (12)

How can i multiply even numbers from a list?
I have this code
[python]

credit_card_sum=[]
credit_card_int=[5,6,7,8]
for i in range(len..... More

Print this item

  Workaround to use format() syntax in loggers
Posted by: Gribouillis - Nov-03-2018, 02:29 PM - Forum: Code sharing - Replies (1)

Simply use BraceLogger.getLogger() instead of logging.getLogger() as shown in the code below. This tip is derived from a..... More

Print this item

  Returning information from textbox?
Posted by: mzmingle - Nov-03-2018, 12:55 PM - Forum: Game Development - Replies (5)

Hey!

I'm doing my A-Level computing project and have come across a problem. My program has a login system in which there is a database with usernam..... More

Print this item

  split a item from a list
Posted by: frequency - Nov-03-2018, 12:46 PM - Forum: General Coding Help - Replies (2)

Hello.
How can i split an item from a list,lets say list[0] is 12. I want to get the sum of 1 and 2 and replace list[0] with the sum. Which is 3. Any..... More

Print this item

  Multiple csv files
Posted by: beginner - Nov-03-2018, 12:11 PM - Forum: Homework - Replies (3)

I have a project where I have to collate info from a number of different CSV files into one file as well as running some calculations on the data with..... More

Print this item

  8 puzzle game
Posted by: aliyark145 - Nov-03-2018, 07:10 AM - Forum: Homework - Replies (4)

I need help on this home assignment. I have to implement using linear conflict and x-y heuristic any help regarding this !

Print this item

  Best replacement for pyzmail in lines 15 and 16
Posted by: Pedroski55 - Nov-03-2018, 06:12 AM - Forum: General Coding Help - No Replies

I have the following to collect emails and write the text to a file. It works. I know they say "If it ain't broke don't fix it." However I've been tol..... More

Print this item

  Can someone fix this simple code so it works?
Posted by: DragonG - Nov-03-2018, 02:40 AM - Forum: General Coding Help - Replies (1)

I get a syntax error. Here is the code:
[python]
gender = raw_input("Whats your gender")
age = (int(raw_input("Whats your age"))
if gender == fem..... More

Print this item

  generating ctypes wrapper for a c library?
Posted by: brighteningeyes - Nov-03-2018, 02:32 AM - Forum: General Coding Help - Replies (9)

hi,
i want to wrap a C header into ctypes
but, as the header file is large, (lots of structs, callbacks etc), i don't want to put most of my effort ..... More

Print this item

  Homework - Beginner
Posted by: greekfreak - Nov-03-2018, 12:37 AM - Forum: Homework - Replies (1)

I need to write a code in python using turtle to have a user input that changes the face or emotion of a smiley face. I am new to this and really have..... More

Print this item

  nested while loop flow help
Posted by: Ponamis - Nov-02-2018, 10:21 PM - Forum: Homework - Replies (4)

[python]
def car_rental():
exceeded_period_invalid = True
while exceeded_period_invalid:

daily_rental_period_requested_is_invalid..... More

Print this item

  Need help with simple guessing game!
Posted by: ghost0fkarma - Nov-02-2018, 10:06 PM - Forum: General Coding Help - Replies (2)

[python]import random


def game(ranNum, numGuesses=10):
pick = int(input("Enter a number ----> "))
if pick > ranNum:
print("To..... More

Print this item

  Why wont this work :(
Posted by: Nonagon - Nov-02-2018, 08:43 PM - Forum: General Coding Help - Replies (2)

its a username/password log in an external file but it only stores some stuff and doesnt work properly.It adds the second username twice even though i..... More

Print this item

  Help needed with Issue 2454
Posted by: jwgish - Nov-02-2018, 07:39 PM - Forum: General Coding Help - No Replies

RE: http://bugs.jython.org/issue2454

We're using jython 2.2.1 and for a number of reasons can't upgrade, but I'm tasked with looking into this vuln..... More

Print this item

  get webcam name from device manger !!
Posted by: evilcode1 - Nov-02-2018, 04:36 PM - Forum: General Coding Help - Replies (2)

hello all ...
how i can get my webcam name by python ??

in powershell i can use this command:
[quote] Get-WmiObject Win32_PNPEntity | Select Na..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My First App 7 hours ago BCopeland64 carlbidwell Code Review
  what does % stand for in ... 8 hours ago arbiel carlbidwell General Codin...
  Unable to resolve FileNot... Today, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
Most views
  The best Prog... 577121
  Tutorial Requ... 500018
  Web Scraping ... 440841
  Newbie with P... 384835
  New Users Int... 369062
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
chaoh1911 Today
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday
Xuitar Yesterday

User Panel Messages

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