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,941
» Latest member: Noya_Yonatan
» Forum threads: 38,722
» Forum posts: 175,508

Full Statistics

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

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: Anunderling
3 hours ago
» Replies: 0
» Views: 65
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,321
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 757
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,625
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,100
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,607
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,432
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,623
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,559
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,724

 
  x o game
Posted by: Iman - Feb-15-2018, 04:32 PM - Forum: Code sharing - Replies (3)

Hello every one
I am new to programming in python
I wrote this x o text game and I need to have an advice
I would like to make it user friendly i..... More

Print this item

  Upload file to server from client
Posted by: oncebuddy - Feb-15-2018, 02:15 PM - Forum: Homework - Replies (6)

I have a client which will connect to and upload a file to a server using sockets.

cityserver.py
[python]
#!/usr/bin/env python3

imp..... More

Print this item

  Executing external Python file in background and get output in python
Posted by: nakiscia - Feb-15-2018, 02:07 PM - Forum: General Coding Help - No Replies

I have an python file that takes some inputs and print outputs according to these inputs. I am try to execute this script in another script. All I nee..... More

Print this item

  New to Python-Unable to run a .py file in terminal
Posted by: AshishSangwan - Feb-15-2018, 01:16 PM - Forum: General Coding Help - Replies (3)

Hi All
I have just started learning python and working on my MacBook Air using Terminal
I have saved a simple script with just one print command and..... More

Print this item

  String Programs
Posted by: PythonLearner - Feb-15-2018, 11:09 AM - Forum: General Coding Help - Replies (1)

Hi Everyone,

I have just started learning Python on my own. I solved the string exercises given on Google's Python Learning website, https://develo..... More

Print this item

  Beginner. Calculator problem ¯\_(ツ)_/¯
Posted by: stykus1992 - Feb-15-2018, 11:01 AM - Forum: General Coding Help - No Replies

Hello guys, can someone help me understand what have I done wrong here :D

In last part, when it asks "Do u want some more?" and instead of writing ..... More

Print this item

  Read binary file
Posted by: ammann - Feb-15-2018, 10:13 AM - Forum: General Coding Help - Replies (5)

Hi, I am beginner and I need to read binary files.
How can I read each forth(nth) chunk of 1024 bytes.

Print this item

  How to make Python stops for debugging when the error occurs?
Posted by: Tim - Feb-15-2018, 09:26 AM - Forum: General Coding Help - Replies (5)

Hi,
Is there a way to start the debugging mode at the point when error occurs?
I do not like using the conditioned "Breakpoint", I want the debugg..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 3 hours ago Anunderling Anunderling General Codin...
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576493
  Tutorial Requ... 498366
  Web Scraping ... 440381
  Newbie with P... 384277
  New Users Int... 367379
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+ 12087
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 6
buran 3
Newest members
Noya_Yonatan Today
Saipython555 Today
Anunderling Today
Monir Today
atylerfraces2254 Yesterday

User Panel Messages

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