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,306
» Latest member: ifdainstitute7
» Forum threads: 38,798
» Forum posts: 175,911

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
2 hours ago
» Replies: 8
» Views: 202
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
7 hours ago
» Replies: 3
» Views: 11,099
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 181
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 703
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,820
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 173
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 150
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 239
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,224
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 342

 
  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

  Homework: Smiley Face game
Posted by: itmustbebunnies - Nov-02-2018, 04:17 PM - Forum: Homework - Replies (3)

Hi guys! I am taking my first computer programming class and working on a homework assignment involving a game that will change a smiley face (drawn ..... More

Print this item

  Python Attributes
Posted by: CanadaGuy - Nov-02-2018, 02:15 PM - Forum: General Coding Help - Replies (4)

I'm new to Python, and generally speaking am not trained as a programmer. I am using version 3.7 on Windows 8.1, and most of my work so far has been G..... More

Print this item

  Generating a list to feed into a class object
Posted by: zizi - Nov-02-2018, 01:50 PM - Forum: Data Science - No Replies

I'm conducting a data science study in which I need to review tweets. I've set up a streamer that can get live tweets and save them to a csv file. How..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 2 hours ago Lou snippsat General Codin...
  Python Online Compiler 7 hours ago alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
Most views
  The best Prog... 579484
  Tutorial Requ... 512742
  Web Scraping ... 442353
  Newbie with P... 386394
  New Users Int... 381672
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+ 12113
buran 8196
snippsat 7393
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ifdainstitute7 Today
MOHAMMAD_mk Today
virvainfotech Today
IFDA123 Yesterday
TimTom420 11-27

User Panel Messages

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