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,936
» Latest member: MihaiPope
» Forum threads: 38,723
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 56 online users.
» 1 Member(s) | 49 Guest(s)
Mojeek, Google, Bing, AOL, kshahzad1985

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
1 hour ago
» Replies: 2
» Views: 172
FAST,SECURE AND RELIABLE ...
Forum: Game Development
Last Post: MihaiPope
1 hour ago
» Replies: 0
» Views: 57
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
2 hours ago
» Replies: 10
» Views: 3,625
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
8 hours ago
» Replies: 1
» Views: 3,303
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
9 hours ago
» Replies: 4
» Views: 585
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,027
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 939
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,168
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,194
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,284

 
  interesting gotcha
Posted by: Skaperen - Nov-27-2017, 07:49 AM - Forum: News and Discussions - Replies (11)

i have been putting comments in the triple-quoted string at the beginning of modules and functions.  this was the source of some errors that did not s..... More

Print this item

  Two Dimensional Chart from CSV File
Posted by: srini1995 - Nov-27-2017, 07:10 AM - Forum: Data Science - No Replies

The file contains some data points in Melbourne housing data.
1. Average price per Suburb (Suburd name in X-axis and Average price in Y-Axis)
2. Tot..... More

Print this item

  change to home directory
Posted by: Skaperen - Nov-27-2017, 04:20 AM - Forum: General Coding Help - Replies (2)

what is the "best", most pythonic, way to change to the home directory so that all file operations are now relative to the home directory and any prog..... More

Print this item

  BS4 - Is There A More Efficient Way Of Doing This?
Posted by: digitalmatic7 - Nov-27-2017, 04:03 AM - Forum: Web Scraping & Web Development - Replies (4)

Say I want to search for 30 keywords within each set of scraped html data, what would be the best way to go about it? Should I keep repeating the same..... More

Print this item

  Need help with a Basic API Query.
Posted by: TopCoder - Nov-27-2017, 03:19 AM - Forum: General Coding Help - Replies (3)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Basic input() function question
Posted by: rebubula76 - Nov-27-2017, 02:46 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

Started programming for the first time using Python and I've gotten through all the basics and practicing putting everything together...... More

Print this item

  bytes == str
Posted by: Skaperen - Nov-27-2017, 02:16 AM - Forum: News and Discussions - Replies (4)

bytes == str is always True on python2 and always False on python3.  so i have been using it for version testing, at least for major ..... More

Print this item

  Replacing values for specific columns in Panda data structure
Posted by: Padowan - Nov-26-2017, 11:42 PM - Forum: Data Science - Replies (1)

Hello!

Im trying to replace invalid values ( x< -3 and x >12) with 'nan's in a pandas data structure . The first two columns consist of ids and nam..... More


Attached Files

.csv   testfilex1w.csv (Size: 745 bytes / Downloads: 166)
Print this item

  Help with the string and len quiz
Posted by: destinyus - Nov-26-2017, 09:08 PM - Forum: Homework - Replies (2)

given_name = "Charlotte"
middle_names = "Hippopotamus"
family_name = "Turner"

name_length = #todo: calculate how long this name is

driving_lic..... More

Print this item

  while iterating a list, it changes all the elements at once
Posted by: henrik0706 - Nov-26-2017, 08:10 PM - Forum: General Coding Help - Replies (7)

I have a 3x3 square that is filled with None values [[None, None, None], [None, None, None], [None, None, None]]
I want to fill the first row and col..... More

Print this item

  Help with conditions in loops
Posted by: NathanWang - Nov-26-2017, 07:21 PM - Forum: Homework - Replies (2)

Given a sequence of integer numbers ending with the number 0. Determine the length of the widest fragment where all the elements are equal to each oth..... More

Print this item

  Can you please Define python structure charts ?
Posted by: zuzu_tahan - Nov-26-2017, 06:16 PM - Forum: Homework - Replies (8)

please define structure charts for python. Choose on this multiple choice each question. They can't have the same answer.
Multiple choice:
Utility..... More

Print this item

  make StaticText limit Number
Posted by: royer14 - Nov-26-2017, 06:15 PM - Forum: GUI - Replies (4)

I have an issue with StaticText, and I do not know how to make it accept only the following data = '0123456789.' . Of course, when you type any..... More

Print this item

  Need help with my home task Phyton 3
Posted by: Bazzket - Nov-26-2017, 05:54 PM - Forum: Homework - Replies (1)

I am using Phython 3
I need to make a program that asks for the number of people to be transported and the number of seats in a single bus and displa..... More

Print this item

  Need Help
Posted by: wagrig - Nov-26-2017, 05:52 PM - Forum: General Coding Help - No Replies

Need help with the code
def main():
miles=0;class_type=""
#class_type is a string literal so it should=""open quotes and not()
miles=getInput(mile..... More

Print this item

  Help with loop
Posted by: thanikos - Nov-26-2017, 05:16 PM - Forum: Homework - Replies (13)

Hello
Any ideas how to do this:
0 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29
30 31 32 33 34 35 36 ..... More

Print this item

  ValueError: unknown url type: ' '
Posted by: ozzyk - Nov-26-2017, 04:09 PM - Forum: General Coding Help - Replies (3)

I have this code below that iterate through some tracks. And then for each track I want to use the musixmatch api to get and print the lyrics of the ..... More

Print this item

  need help in natural language processing
Posted by: irsyadfm - Nov-26-2017, 12:47 PM - Forum: Homework - Replies (7)

Hello guys,, Smile Smile

I have a task about NLP programming and I'am still beginner in this programming.

The program is about how th..... More

Print this item

  Text editing with python
Posted by: UK_SPB - Nov-26-2017, 08:17 AM - Forum: General Coding Help - Replies (1)

Hi, I have a *.txt 3d scan file in the form of x,y,z...

-43.9017 58.4327 8.0448 0.5321
-43.9031 58.4574 8.0457 0.4800
-43.9247 58.4600 8.0505 0.5..... More

Print this item

  random syntax errors
Posted by: s4lty_b0i - Nov-26-2017, 04:28 AM - Forum: General Coding Help - Replies (3)

trying to code the motor drivers for my robot but every time i type def it gives me an error, like actuallt every function is an error, no idea why
..... More

Print this item

Question Helping understand classes
Posted by: Miraclefruit - Nov-26-2017, 03:54 AM - Forum: General Coding Help - Replies (10)

According to the solutions, the following code prints out 
Square with side 5.0
Rectangle with area 6.0
Circle with radius 2.0
Square with side 6...... More

Print this item

  Strings with speech_recognition
Posted by: hello_its_me - Nov-25-2017, 10:25 PM - Forum: General Coding Help - Replies (7)

Hi everyone,
I am trying to build my own google assistant but I got a problem I've already got the speech recognition but the problem is how do I sep..... More

Print this item

  can´t store the mbid - `KeyError: 'mbid'`.
Posted by: ozzyk - Nov-25-2017, 09:52 PM - Forum: General Coding Help - Replies (7)

I'm getting the tracks of some albums from lastfm. Then for each track I'm getting some information (title, number, artist, etc). Then, I want also to..... More

Print this item

  Replace all alpha characters within double quotes with underscores?
Posted by: walterbyrd - Nov-25-2017, 09:25 PM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Google search
Posted by: hello_its_me - Nov-25-2017, 07:47 PM - Forum: General Coding Help - Replies (10)

Hi everyone,
I am just playing around with Python3 and I wonder how I can open a browser and search for something automatically. I found some ideas ..... More

Print this item

  Windows/linux shell emulation
Posted by: AceScottie - Nov-25-2017, 07:35 PM - Forum: General Coding Help - Replies (3)

hello. 
I'm looking for a way to run commands and execute programs on both windows and Linux system to make my servers more accessible than running m..... More

Print this item

  Netmiko - add multiple files, from different folders to mail.
Posted by: tomikovaknin - Nov-25-2017, 07:16 PM - Forum: General Coding Help - Replies (5)

Hi all

im trying to get some reports from my network devices with netmiko.
i implement script that log into list of devices and runs commands from..... More

Print this item

  Checking for items in variable
Posted by: AnOrdinaryFolk - Nov-25-2017, 06:36 PM - Forum: Homework - Replies (3)

I have a very simple issue that i just can't get right.
It is strange because i remember being able to do this. But now the code i always used to us..... More

Print this item

  Iterating over pandas.df to check for values out of range
Posted by: Padowan - Nov-25-2017, 05:23 PM - Forum: Homework - Replies (14)

Hello!

I am taking a introductory course in python programming at uni., 3 weeks in., and have been assigned to make a student grading script.

I ..... More

Print this item

  I don't know if it's my error or Python error
Posted by: SkitzGerald - Nov-25-2017, 03:38 PM - Forum: General Coding Help - Replies (13)

[python]import random
from random import randint
x = [random.randint(1,100)]

print("Guess a number between 1 and 100.")

while True:
guess = ..... More

Print this item

  If else help
Posted by: thanikos - Nov-25-2017, 01:41 PM - Forum: Homework - Replies (10)

Hi everyone
I' just started with python and i am not so good with math...but i am trying. I need some help with my homework to:

[b]"Create a little p..... More

Print this item

  split the line fixed length tokens
Posted by: bb8 - Nov-25-2017, 01:40 PM - Forum: Homework - Replies (5)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Parallel processing and distributed computing with Python
Posted by: GarlicScience - Nov-25-2017, 12:38 PM - Forum: News and Discussions - Replies (5)

What are the most popular approaches for parallel processing and distributed computing using Python.

1. Does it worth to use Python for such tasks?..... More

Print this item

  No menu bar in window
Posted by: bde69 - Nov-25-2017, 11:22 AM - Forum: GUI - Replies (5)

Hello,

Please could you help me to understand why I cannot properly run this code under mac OS :

[python]
#!/usr/bin/python
# coding: utf-8
..... More

Print this item

  session command
Posted by: Skaperen - Nov-25-2017, 08:32 AM - Forum: Code sharing - Replies (5)

file session.py is a command i created to start background screen sessions set to the same terminal geometry as started from, if available, or a speci..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 1 hour ago arbiel arbiel General Codin...
  FAST,SECURE AND RELIABLE ... 1 hour ago MihaiPope MihaiPope Game Developm...
  403 Error 2 hours ago CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... 8 hours ago iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 9 hours ago 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... 576218
  Tutorial Requ... 497851
  Web Scraping ... 440157
  Newbie with P... 383997
  New Users Int... 366668
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+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
MihaiPope Today
Baran12332 Today
Hershien Today
Diyaseating Today
marineoman Today

User Panel Messages

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