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,668
» Latest member: agusputra99
» Forum threads: 38,645
» Forum posts: 175,051

Full Statistics

Online Users
There are currently 601 online users.
» 1 Member(s) | 594 Guest(s)
Apple, Bing, Baidu, Google, Yandex, Gribouillis

Latest Threads
While loop is terminating...
Forum: Homework
Last Post: Plyth
4 hours ago
» Replies: 2
» Views: 206
PythonPath file
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 7
» Views: 19,624
Building a food delivery ...
Forum: Homework
Last Post: nooryasmeen022
Yesterday, 04:12 PM
» Replies: 3
» Views: 7,509
Python Install Mager Help
Forum: News and Discussions
Last Post: snippsat
Yesterday, 09:43 AM
» Replies: 5
» Views: 354
RemoTe server operation w...
Forum: General Coding Help
Last Post: mario17
Yesterday, 07:18 AM
» Replies: 4
» Views: 281
Hide CLI while grabbing i...
Forum: GUI
Last Post: Gribouillis
Jul-03-2025, 08:12 AM
» Replies: 1
» Views: 138
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jul-02-2025, 05:41 PM
» Replies: 4
» Views: 632
textbox compare command n...
Forum: GUI
Last Post: deanhystad
Jul-02-2025, 01:40 PM
» Replies: 1
» Views: 233
Deploy Flask apps on Wind...
Forum: Web Scraping & Web Development
Last Post: DeaD_EyE
Jul-02-2025, 09:23 AM
» Replies: 2
» Views: 5,952
How to ask Smart Question...
Forum: Board
Last Post: Thatedge
Jul-01-2025, 08:10 AM
» Replies: 3
» Views: 5,681

 
  What is the reason for this difference between lists and tuples?
Posted by: Athenaeum - Sep-25-2017, 08:25 AM - Forum: General Coding Help - Replies (3)

I am a Python beginner, and recently I discovered a key difference between lists and tuples.

If I write something like:

[python]list1 = list1.ap..... More

Print this item

  Rewriting HTTP Server from Arduino
Posted by: codingKnight - Sep-25-2017, 07:55 AM - Forum: Web Scraping & Web Development - Replies (1)

Good day everyone,

I'm trying to rewrite some existing Arduino code to python. Basically the arduino just receives an http post request then parses t..... More

Print this item

  Just a trial. For learning code tags
Posted by: sylas - Sep-25-2017, 05:51 AM - Forum: Board - Replies (3)

BBBBBBBBBBBBBBBB   vvvvvvvvvvvvvvv   kkkkkkkkkkkkkkkkkkk   pppppppppppppppppppp

Print this item

  error when running code
Posted by: kiki1113 - Sep-25-2017, 02:03 AM - Forum: Homework - Replies (6)

Homework help - python newbie. I'm trying to run the following code:

[python]def user_input():
order_amount = float(input('What is the order ..... More

Print this item

  Help with conditional statement
Posted by: SnekLover123 - Sep-25-2017, 01:49 AM - Forum: General Coding Help - Replies (2)

My friend and I are creating a terrible game, and for picking the biome, it acts like I chose 1 no matter what I choose. What am I doing wrong?

imp..... More

Print this item

  which is "better"?
Posted by: Skaperen - Sep-25-2017, 12:41 AM - Forum: General Coding Help - Replies (6)

any reason to believe one way is "better" than the other, for any definition of "better"?[python]    ...
    pair = ('foo','bar') # or it could be a ..... More

Print this item

  Anaconda - Docstring
Posted by: sobrio1 - Sep-24-2017, 06:15 PM - Forum: Data Science - No Replies

I'm using the pandas_datareader module with the get_data_yahoo function on the Anaconda Cloud. With respect to data, the function works perfectly, but..... More

Print this item

  No Script Folder in Python 3.6.2 Download
Posted by: jriemer - Sep-24-2017, 06:13 PM - Forum: Data Science - Replies (6)

I downloaded Python 3.6.2 on my iMac and PC. I attempted to use the pip install ..... to download NumPy, Matplotlib, etc. and it doesn't work. I not..... More

Print this item

  Reading a file
Posted by: raikone14 - Sep-24-2017, 04:58 PM - Forum: General Coding Help - Replies (4)

I trying connect into different switches using a python script, but I cant read properly the file that contains the ip address of the switches.If some..... More

Print this item

  ping and pong run both well
Posted by: sylas - Sep-24-2017, 01:18 PM - Forum: General Coding Help - Replies (1)

To Metalburr. This time I toke the files directly on pong., for my project ping, not files from Git-Hub.

Print this item

  I need help creating tables with Sqlite3
Posted by: Rius2 - Sep-24-2017, 12:32 PM - Forum: General Coding Help - Replies (3)

I wish to make a function that creates tables from a tablename list i provide

[python]import sqlite3


def creat_tables():
conn = sqlite3.c..... More

Print this item

  how to use the upper()
Posted by: King - Sep-24-2017, 12:19 PM - Forum: Homework - Replies (5)

How do i write a program, that asks the user for two strings, and proceeds to replace all occurrences of the
second string in the first string with t..... More

Print this item

  [pyGame] My First Test, Error Fount !
Posted by: JamieVanCadsand - Sep-24-2017, 12:15 PM - Forum: Game Development - Replies (3)

Hey Programmers...

I try to set up an screen with pygame, but i get an error. I want to learn pyGame and pyOpenGL
to write my own software, but th..... More

Print this item

  "Call the subroutine in order to check..."
Posted by: misa_san - Sep-24-2017, 09:10 AM - Forum: Homework - Replies (1)

[b]The following subroutine returns a value to the main program
SUBROUTINE checkval (value, low, high)
IF value < low THEN
RETURN “Low”
..... More

Print this item

  [split] Coin Flip Program
Posted by: Crackity - Sep-24-2017, 09:09 AM - Forum: General Coding Help - Replies (5)

Hello all,
I don't know if I should be adding my issue to this thread or starting a new one. I too am having trouble with my coin flip/toss game but ..... More

Print this item

  Is there a better way to write this case scenario?
Posted by: anakaine - Sep-24-2017, 08:50 AM - Forum: General Coding Help - Replies (15)

Relatively new programmer here, familiar with the 'basic' languages such as VB, but not so crash hot with Python. [b]Is there a better way to write th..... More

Print this item

  Can' t open my py file
Posted by: zafraj1 - Sep-23-2017, 07:12 PM - Forum: News and Discussions - Replies (5)

Hello everyone. I just set up python 3.3 and i opened a new file to writi in it but at first i tried to save it before write anything. I noticed that ..... More

Print this item

  Prime Numbers
Posted by: OmarSinno - Sep-23-2017, 04:51 PM - Forum: General Coding Help - Replies (1)

[python]import math
prime_count = 0
#This Code checks if the n integer is prime!
def is_prime(n):
if n % 2 == 0 and n > 2: # 2 is the only eve..... More

Print this item

  While loop issue
Posted by: CWatters - Sep-23-2017, 04:14 PM - Forum: General Coding Help - Replies (4)

I'm trying to understand why this code works..
[code]
count = 0
while (count < 9):
print ('The count is:', count)
count = count + 1

prin..... More

Print this item

  [pyOpenGL] Help Needed to Install it !
Posted by: JamieVanCadsand - Sep-23-2017, 03:18 PM - Forum: News and Discussions - Replies (8)

Hey Programmers...

I get installed pyGame. But now i want to install pyOpenGL on Windows 7 and 10.
But i need help with it.

I get python 3.6.2,..... More

Print this item

  Names for loop, Error Found !
Posted by: JamieVanCadsand - Sep-23-2017, 02:30 PM - Forum: General Coding Help - Replies (2)

Hey Programmers...

I try to create an names for loop (= diffrent strings in an list). But it don't work perfectly.
This is my code. I use python 3..... More

Print this item

  what is " ''' "?
Posted by: yuisky - Sep-23-2017, 01:18 PM - Forum: General Coding Help - Replies (3)

I started studying Python with book.
So, I followed what book says.
Book said, print sayings using ".
so I typed
print('Oscar Wild said, "Most of the ..... More

Print this item

  How can I access this variable from a def?
Posted by: student3m - Sep-23-2017, 10:59 AM - Forum: General Coding Help - Replies (1)

Hey, I'm new here and pretty new to programming as well.

I'm trying to make a simple text entry box that prints the text upon pressing return. Howe..... More

Print this item

  Program regarding Password check need assistance
Posted by: Remediez - Sep-23-2017, 07:19 AM - Forum: General Coding Help - Replies (1)

import re
import random
points = 0
print("""
Point System:
~1 Uppercase Letter = 5 Points
~1 Lowercase Letter = 5 Points
~1 From 0-9 = 5 Points..... More

Print this item

  Why are these numbers broken into their digits?
Posted by: Pedroski55 - Sep-23-2017, 07:00 AM - Forum: General Coding Help - Replies (6)

I am using Python 3.5.2 and its csv module. I want to write to a csv file. To begin with, I just create a list:

[python] # open a file
outputFile = o..... More

Print this item

  Speech Recognition
Posted by: rajeev1729 - Sep-23-2017, 05:16 AM - Forum: General Coding Help - Replies (7)

i want to implement speech recognition system but i don't know how to extract voice feature in python. please help.

Print this item

  Scraping results won't save in csv file
Posted by: origomedia - Sep-23-2017, 12:00 AM - Forum: General Coding Help - Replies (2)

Hi Everyone, I am very new to this but managed to last night get a succesful scrape using the code below. However, I must have an error somewhere in t..... More

Print this item

  List exercices
Posted by: Matthew892109 - Sep-22-2017, 11:21 PM - Forum: Homework - Replies (3)

Hello everybody! I am a beginner coder and I am looking for either a link or a pdf for exercises for python 2.7. Can anyone help me?

Print this item

  OnExit closes windows, but dosen't exit application
Posted by: Larz60+ - Sep-22-2017, 10:17 PM - Forum: GUI - Replies (3)

In the following code when I click the 'X' on main window,
the windows are destroys, but the application keeps running.
Thought I knew how to do thi..... More

Print this item

  ShoeBot Problems
Posted by: MGallo - Sep-22-2017, 10:13 PM - Forum: General Coding Help - Replies (11)

Hello, I am currently creating a shoe bot, and I'm having trouble adding more inputs for other fields. I already have name and shoesize working (Thank..... More

Print this item

  [SYS + OS] Script not Imported, Error Found !
Posted by: JamieVanCadsand - Sep-22-2017, 05:54 PM - Forum: General Coding Help - Replies (2)

Hey Python Programmers...

I Try to train my self in working with SYS and OS. In this case... create an simple
program they get more python scripts..... More

Print this item

  Fixing - MIME type ("text/x-python") that is not "text/event-stream"
Posted by: mostek_6502 - Sep-22-2017, 03:37 PM - Forum: Web Scraping & Web Development - Replies (4)

Dear Python Experts:

I am very new to web development, although I've been programming on some level for a few decades.
I started with the Python f..... More

Print this item

  search and replace first amount of strings instances with one thing and a second amou
Posted by: chickflick91 - Sep-22-2017, 02:15 PM - Forum: General Coding Help - Replies (7)

i have a code in python to search and replace what i need though is to replace the first say 10 instances of the number 1 with 2 and the second 10 ins..... More

Print this item

  Writing file
Posted by: kvivek266 - Sep-22-2017, 01:58 PM - Forum: General Coding Help - Replies (4)

hello everyone,
I am beginner and I am trying to write file but I am getting this type of error.
Traceback (most recent call last):
File "<pyshell#..... More

Print this item

  Python - Make Json objects to work concurrently through Threads?
Posted by: WeInThis - Sep-22-2017, 11:31 AM - Forum: General Coding Help - No Replies

What I was planning to do is to have a multiple JSON objects, for example:

[python] {
"Profiles": {
"profile_0": {
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  While loop is terminating... 4 hours ago jumpsworthnow Plyth Homework
  PythonPath file 7 hours ago JohnRLaw Pedroski55 General Codin...
  Building a food delivery ... Yesterday, 16:12 ElenaPapagia nooryasmeen022 Homework
  Python Install Mager Help Yesterday, 09:43 bowens1983 snippsat News and Disc...
  RemoTe server operation w... Yesterday, 07:18 mario17 mario17 General Codin...
  [WxPython] Hide CLI while... 07-03, 08:12 Winfried Gribouillis GUI
  Venv - Python Virtual Env... 07-02, 17:41 DanneA Larz60+ General Codin...
  [Tkinter] textbox compare... 07-02, 13:40 dmac6809 deanhystad GUI
  Deploy Flask apps on Wind... 07-02, 09:23 SpongeB0B DeaD_EyE Web Scraping ...
  How to ask Smart Question... 07-01, 08:10 metulburr Thatedge Board
  Exercise on reading a chu... 07-01, 06:49 Nit_Picker polytrack Homework
Most views
  The best Prog... 572418
  Tutorial Requ... 485215
  Web Scraping ... 436948
  Newbie with P... 379797
  Thread remain... 351272
Most reputation
buran 581
snippsat 507
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+ 12070
buran 8173
snippsat 7344
deanhystad 6845
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
agusputra99 Today
Andytan7 Today
SairamK Today
stackframer Yesterday
Svobologic99 Yesterday

User Panel Messages

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