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,271
» Latest member: aminrony1999
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 37 Guest(s)
Bing, Google, Applebot, Facebook, AOL, Mojeek

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
6 hours ago
» Replies: 3
» Views: 140
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
10 hours ago
» Replies: 4
» Views: 142
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Today, 08:44 AM
» Replies: 2
» Views: 110
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 155
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 346
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 65
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 108
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 351
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 199
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 306

 
  TypeError: list indices must be integers or slices, not tuple
Posted by: jerram123 - Feb-15-2018, 08:23 AM - Forum: General Coding Help - Replies (1)

Hi,

I'm getting a TypeError: list indices must be integers or slices, not tuple on the following section of code:

[python]df_Germany, err = tr.g..... More

Print this item

  TypeError: must be str, not ResultSet
Posted by: HiImNew - Feb-15-2018, 06:21 AM - Forum: Web Scraping & Web Development - Replies (3)

I have tried freaking everything and for some reason google searches aren't providing much.

This is code to parse multiple pages of the same url, ..... More

Print this item

  "Raise SMTPException("SMTP AUTH extension not supported by server.")
Posted by: NajeebUllah - Feb-15-2018, 05:03 AM - Forum: General Coding Help - Replies (3)

Respected all,
I have written a code in python to send the keylogger log file to administrator, the said code working fine but afte..... More

Print this item

  Problems with using request in python 3
Posted by: Maaniac - Feb-15-2018, 03:53 AM - Forum: General Coding Help - Replies (3)

Im new to Python, and Im learning it fro the new boston's guide on youtube.
im having trouble downloading csv files through python.
this is the code..... More

Print this item

  Strange BS4 Problem While Scraping RSS Feeds
Posted by: digitalmatic7 - Feb-15-2018, 01:04 AM - Forum: Web Scraping & Web Development - Replies (3)

For some reason when I try to scrape links from any RSS feed it saves them with improper syntax.

Example, instead of:

[python]
['<link>http://..... More

Print this item

  Displaying an image that can't be closed
Posted by: nicochulo - Feb-14-2018, 10:32 PM - Forum: GUI - Replies (4)

I am trying to display an image on the desktop that cannot be closed, or at least not without opening Task Manager.

I have a code that displays a f..... More

Print this item

  SyntaxError: invalid syntax
Posted by: sivaranganathch - Feb-14-2018, 06:10 PM - Forum: General Coding Help - Replies (1)

Hi Group,

I am blocked with error while i am writing program using find command.

Prg:
str = "geeksforgeeks is for geeks"
str2 = "geeks"

# ..... More

Print this item

  Options for retaining persistent data?
Posted by: hunnimonstr - Feb-14-2018, 05:42 PM - Forum: General Coding Help - Replies (4)

Other than using a small text file and updating it with data when variables change value, what mechanisms exist to retain data between system reboots?..... More

Print this item

  keep getting 'encoding' error
Posted by: harry1948 - Feb-14-2018, 05:16 PM - Forum: General Coding Help - Replies (13)

Have installed NetBeans and then the Python plugin but whatever I try to code (even a one-line like print("hello world") I always get the following e..... More

Print this item

  compare algorithms
Posted by: tygaf - Feb-14-2018, 04:51 PM - Forum: General Coding Help - Replies (1)

Hello ,
I want to write a python script that would compare the three algorithms with different parameters.
For the script I don't have to modify the..... More

Print this item

  The "traceback" is here
Posted by: AmanTripathi - Feb-14-2018, 04:17 PM - Forum: Homework - Replies (1)

I have to extract all the numbers in the file and compute the sum of the numbers.

[python]
import re
sum=0
name=input('Enter name of file:')
f..... More

Print this item

  Hi, my loop yes/no part doesn't work and I really need help
Posted by: fordxman5 - Feb-14-2018, 03:54 PM - Forum: Homework - Replies (2)

[align=center]Hey everyone, so I am in secondary school and have had to make a 'big program', and I have to include a yes/no in it to get the grade 8 ..... More

Print this item

  For Loop, execute one time for every loop iteration
Posted by: dragan979 - Feb-14-2018, 03:46 PM - Forum: General Coding Help - Replies (2)

Hi,

i'm new to python. I created a script to iterate through JSON file to find field email address, and remove part after @. This value is username..... More

Print this item

  slow board loading times
Posted by: metulburr - Feb-14-2018, 12:26 PM - Forum: Board - Replies (16)

Is anyone else having issue with slow loading time on this site? Slow meaning anywhere from 4-60 seconds to load a page. Just checking on how many use..... More

Print this item

  simplest way to check device status (Up/Down)
Posted by: anna - Feb-14-2018, 11:37 AM - Forum: Networking - No Replies

Hi All,

small code to check device status through SNMP, if snmp response is not blank means device is up or else device is down... any suggestions ..... More

Print this item

  Is there a keyword that's equivalent to breakpoint for debugging?
Posted by: Tim - Feb-14-2018, 10:09 AM - Forum: General Coding Help - Replies (5)

Hello Pythonians,

I came from MATLAB background. In MATLAB, there is a keyword which is "keyboard" which you type it down anywhere in your code to..... More

Print this item

  Is This Code Ok? How Can I Avoid Using Global Variables?
Posted by: digitalmatic7 - Feb-14-2018, 09:03 AM - Forum: General Coding Help - Replies (9)

I've heard from multiple sources I should try to avoid using global variables, since it's probably a sign of broken / badly written code. Here's an ex..... More

Print this item

  Version question
Posted by: PythonInvasion - Feb-14-2018, 08:53 AM - Forum: News and Discussions - Replies (5)

Hello. I'm downloaded Python 3.6.4 and i'm very satisfied.

Now i see on Python Download Page a new ver..... More

Print this item

  a command tree
Posted by: Skaperen - Feb-14-2018, 07:36 AM - Forum: General Coding Help - Replies (4)

i am wanting to implement a rather large command tree. this is on command as far as the system shell knows, it will be given a sequence of arguments..... More

Print this item

  Valgrind error in python
Posted by: arunsolo1984 - Feb-14-2018, 07:27 AM - Forum: News and Discussions - Replies (1)

Hi...

I am facing the problem python along with valgrind. I was getting default valgrind warnings messages. I have created the sample.py. sample.p..... More

Print this item

  Problem with tkinter
Posted by: sylas - Feb-14-2018, 07:21 AM - Forum: GUI - Replies (23)

© 2017 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>pip install tkinter
Collecting tkinter
Could not find a version that s..... More

Print this item

  How to differentiate displacement-time history
Posted by: muhsin - Feb-14-2018, 05:37 AM - Forum: General Coding Help - Replies (1)

Hello;
I need some guidance to differentiate displacement-time history to get acceleration-time history .The examples I have looked up consist of on..... More

Print this item

  python Meeting room free/busy Availability in Exchange
Posted by: r7rajkumar - Feb-14-2018, 05:23 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi,

I am trying to connect the exchange server using python. i have tried exchangelib, pyexchange & soap method but so far no luck.

If someone h..... More

Print this item

  Extending Decorators
Posted by: GalacticStarfish - Feb-14-2018, 03:01 AM - Forum: News and Discussions - Replies (3)

In a future release of Python, decorators could be generalized to handle more types inputs.

The following is "currently" (Python v3.6.1) correct sy..... More

Print this item

  Why can't I force an int to be a string?
Posted by: fad3r - Feb-13-2018, 10:46 PM - Forum: Homework - Replies (4)

It just doesn't work. I am familiar with str(10).

Here is my code. This is driving me crazy.

[python]


#Inputs
b = " is awesome"
c = 10..... More

Print this item

  create function let_to_num()
Posted by: Truman - Feb-13-2018, 10:42 PM - Forum: Homework - Replies (1)

let_to_num() takes input of a single letter, space or empty string stored in an argument variable: letter
use while key < 10: to try numbers ..... More

Print this item

  Put each word in a quote in a new line in printout
Posted by: bjorntobias - Feb-13-2018, 10:11 PM - Forum: Homework - Replies (5)

Hi guys,

I'm trying to take an input value, a quote, and place each word of that quote into a new line when printed. I'm not really succesful with ..... More

Print this item

  Debugging error, while loop out of range
Posted by: zenort - Feb-13-2018, 07:50 PM - Forum: Homework - Replies (1)

Hi, I am stuck at this point
would appreciate if someone can help me


My Problem:
I have a error in the output, the data output is correc..... More

Print this item

  python 2.7 access denied when writing a file to Windows
Posted by: kavise - Feb-13-2018, 06:41 PM - Forum: General Coding Help - Replies (2)

Hello,

I'm trying to use a python script to download a file from s3 to my Windows 10 laptop. I'm running the
prompt "as administrator". I have gi..... More

Print this item

  setting base class attribute
Posted by: bb8 - Feb-13-2018, 05:48 PM - Forum: General Coding Help - Replies (1)

how can i ensure that an attribute can only be set from derived class? if some other class tries to set it, it should be illegal

Print this item

  Good morning guys!
Posted by: curlyti - Feb-13-2018, 05:45 PM - Forum: News and Discussions - Replies (3)

I am newbie and i want to study about website develop and smart contract.
Anybody know where can i register to study ? Because i want to start to ve..... More

Print this item

  Need help with if/else and getting it exactly right!
Posted by: MikeVita4 - Feb-13-2018, 04:03 PM - Forum: Homework - Replies (1)

I have everything right I just do not know how to get it right when I don't input anything, please helpScreenshots[/url[url=https://python-forum.io/thread-8294.html]..... More

Print this item

  Sr. Full Stack Python Developer
Posted by: Rattle3410 - Feb-13-2018, 03:35 PM - Forum: Jobs - Replies (2)

Chicago, IL
Direct Hire

Job Description
Please send your resume to the email posted below. I will provide feedback within 24 hours
garret..... More

Print this item

  Sending response delay
Posted by: michalt38 - Feb-13-2018, 03:07 PM - Forum: Networking - Replies (1)

Hello :) I'm having some trouble with a Python's socket and FIFO files. I'm communicating with a device through Bluetooth - I'm sending a command and ..... More

Print this item

  Web app controlling step by step motors
Posted by: dnbbrain - Feb-13-2018, 02:34 PM - Forum: Web Scraping & Web Development - Replies (11)

Hi,
I have an basic html page, with an input button that controls 2 step by step motors.
If I input the number 50, the motors will both open at half..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 6 hours ago Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 10 hours ago Winfried Winfried General Codin...
  PermissionError: [Errno 1... Today, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579077
  Tutorial Requ... 511176
  Web Scraping ... 442061
  Newbie with P... 386118
  New Users Int... 378368
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+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aminrony1999 Today
fobby888 Today
digitalboy346 Today
ben9090o Today
ViktoriaMetodieva Today

User Panel Messages

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