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,422
» Latest member: alexfox
» Forum threads: 38,829
» Forum posts: 176,077

Full Statistics

Online Users
There are currently 29 online users.
» 0 Member(s) | 27 Guest(s)
Google

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: bowlofred
14 minutes ago
» Replies: 5
» Views: 106
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 746
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 508
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 452
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 800
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,761
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 731
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,033
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,622
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,379

 
  Python for Web Data analysis
Posted by: sumandas89 - Nov-29-2017, 11:02 AM - Forum: News and Discussions - Replies (1)

Hi,
I am new to python programming and I am basically focusing it for web data analysis and web crawling. I have already learnt basic python programm..... More

Print this item

  all_data.append not work it should be
Posted by: issac_n - Nov-29-2017, 10:49 AM - Forum: Data Science - Replies (4)

Huh ** I am not programmer Big Grin

currently I am trying to use "all_data.append" to append all xlsx files into one file ,
it return res..... More

Print this item

  Oracle web site
Posted by: Skaperen - Nov-29-2017, 08:14 AM - Forum: Bar - Replies (5)

i am wondering how many of my friends can check this exact URL for me:

    http://oracle.com/guaranteed

note that this is without the "www." on ..... More

Print this item

  Some Guy Today Told Me Python Isn't A Real Programming Language
Posted by: digitalmatic7 - Nov-29-2017, 06:26 AM - Forum: News and Discussions - Replies (11)

I ran into some guy while walking my dog and he said Python is a scripting language, and isn't a real programming language.

My instincts tell me he..... More

Print this item

  Home / Login & Logout Page
Posted by: ab_1986 - Nov-29-2017, 05:06 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi Guys ,

I am beginner in Python and django and creating a web app using these. I have to create a home page however not so sure about html stuff..... More

Print this item

  Help turning game into function
Posted by: kixxm - Nov-29-2017, 04:35 AM - Forum: General Coding Help - Replies (5)

#Make a guess and get feedback.
guess=0
fb=0
while fb != 'c' or fb != 'C':
guess = random.randint(lower, upper)
print("I'm guessing your numb..... More

Print this item

  & vs %
Posted by: Skaperen - Nov-29-2017, 03:40 AM - Forum: General Coding Help - Replies (7)

which is better:

    foo = bar % 256
or:
    foo = bar & 255
???

i just benchmarked them for speed.  the 2nd is sligh..... More

Print this item

  Space ships movements
Posted by: pierrem13 - Nov-29-2017, 03:08 AM - Forum: Game Development - Replies (1)

Hi, I want to do a spaceship that I can control with the arrows on the keyboard. For now I'm able to make it rotate on itself with the left and the ri..... More

Print this item

  Game in Pycharm using pyglet
Posted by: pierrem13 - Nov-29-2017, 01:54 AM - Forum: General Coding Help - No Replies

Hi, so I'm trying to make a game where you basically control a ship. For now, I' m able to make the ship rotate with key event, but now I want to make..... More

Print this item

  a dictionary of ranges
Posted by: Skaperen - Nov-29-2017, 01:53 AM - Forum: General Coding Help - Replies (10)

looking up numbers in a very sparse unordered collection is easy with a dictionary.  but what about a sparse collection of ranges?  this would be a se..... More

Print this item

  how to extract a portion of data from text lines by python 2
Posted by: alex0516 - Nov-29-2017, 01:38 AM - Forum: General Coding Help - Replies (2)

[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

  How are these methods working within this class
Posted by: workerbee - Nov-29-2017, 01:23 AM - Forum: General Coding Help - Replies (3)

I was wondering how the self.data attribute gets into the display method from the setdata method .Thank You
[python]class FirstClass:

def setdata..... More

Print this item

  How do I avoid Beautiful Soup redirects?
Posted by: HiImNew - Nov-29-2017, 12:28 AM - Forum: Web Scraping & Web Development - Replies (9)

[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

  transform list to tuple with
Posted by: takaa - Nov-28-2017, 10:30 PM - Forum: General Coding Help - Replies (2)

Hi,

summary:
I have this output: [(1,), (2,), (3,), (4,), (5,)]
Question, how can I transform this to: ('1', '2','3','4',5')

Below is my trial..... More

Print this item

  weird error in random sentence generator
Posted by: bobger - Nov-28-2017, 09:46 PM - Forum: General Coding Help - Replies (9)

i put all the lists on top and the error still occurs.I am using python3.6.3 on windows 10.
sometimes i get this error sometimes not when i run this ..... More

Print this item

  Transcrypt 3.6.56 Python to Javascript compiler now supports embedded JSX.
Posted by: jacques_de_hooge - Nov-28-2017, 09:35 PM - Forum: News and Discussions - Replies (1)

Version 3.6.56 of the Transcrypt Python to JavaScript compiler now supports embedded JSX for use in combination with Rea..... More

Print this item

  Having Trouble With Threading
Posted by: digitalmatic7 - Nov-28-2017, 08:47 PM - Forum: Web Scraping & Web Development - Replies (2)

This code isn't throwing errors, instead it's only giving me limited results based on "for i in range(20)" line. If I have it set as '20' it will only..... More

Print this item

  Relay switches On and Off every cylcle...
Posted by: hotwalk - Nov-28-2017, 05:50 PM - Forum: General Coding Help - Replies (6)

[python]
import RPi.GPIO as GPIO
import Adafruit_DHT
from time import sleep

GPIO.setwarnings(False)
GPIO.setmode(GPIO.BOARD)
GPIO.setup(12,GPI..... More

Print this item

  pandas Dataframe as "confidence table" for matchmaking?
Posted by: takaa - Nov-28-2017, 04:36 PM - Forum: Data Science - Replies (1)

Hi,

I wonder if I am on the right track and would like to get your input on my problem:

Goal:
Find a link between two rows in two tables base..... More

Print this item

  filtering a string
Posted by: hello_its_me - Nov-28-2017, 02:17 PM - Forum: General Coding Help - Replies (6)

Hi everyone,
I am looking for a way to filter words out of a string. I need it to work like this:
The string contains known words and unknown words ..... More

Print this item

  another dice roll!
Posted by: mzmingle - Nov-28-2017, 02:14 PM - Forum: Game Development - Replies (3)

My friend wrote a program that displays an amount of dots (like a dice would), and pauses when you click. I tried to edit this code to use images - bu..... More

Print this item

  Saving the results from an input in a txt. file
Posted by: pythonenthusiast - Nov-28-2017, 01:17 PM - Forum: Homework - Replies (2)

Im currently working on a school project where I have to make a multiplication table where you put in a value for the size you want the table to be. I..... More

Print this item

  my "keep" script
Posted by: Skaperen - Nov-28-2017, 06:13 AM - Forum: Bar - Replies (31)

file keep.py is a command and function that "keeps" a specified file by making a time stamped copy.  ..... More

Print this item

  what i am doing tonight
Posted by: Skaperen - Nov-28-2017, 03:05 AM - Forum: Bar - No Replies

tonight i am doing a lot of rewriting of sessionin.py that inputs to a session, revising the code that interprets the control character escape ..... More

Print this item

  code style - one line subclause on same line
Posted by: Skaperen - Nov-28-2017, 02:50 AM - Forum: News and Discussions - Replies (5)

i used to use this style

   if value is True: count += 1
but i have changed to this style[python]  if value in True:
        count += ..... More

Print this item

  Best Module for Navigating Google Drive?
Posted by: HiImNew - Nov-28-2017, 12:05 AM - Forum: General Coding Help - Replies (2)

[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

  Class Instances overriding class members and attributes.
Posted by: Leaf - Nov-27-2017, 09:31 PM - Forum: General Coding Help - Replies (7)

I'm trying to add each person to a list or dictionary. In this case it's a dictionary, but the same thing happens whether I reformat it to be a list t..... More

Print this item

  Array to get profit (school assignment)
Posted by: harryvandervelden - Nov-27-2017, 06:36 PM - Forum: Homework - Replies (2)

I've got an assignment to do, can someone help me out? I don't have a clue what to do.

The bitcoin is a digital currency whose value can go up and ..... More

Print this item

  Immutable Book Class
Posted by: QueenSvetlana - Nov-27-2017, 06:23 PM - Forum: General Coding Help - Replies (10)

[python]from copy import deepcopy


class Book:

def __init__(self, book_title, authors):
self.book_title = book_title
self.author..... More

Print this item

  Creating a file with variable name but distinct extension
Posted by: Moeniac - Nov-27-2017, 05:18 PM - Forum: Homework - Replies (1)

Hello everybody,
for my current homework i need to create an amount of *.csv files, however the filename must be taken from a list that is provided a..... More

Print this item

  Changing object values to see how air resistance works
Posted by: Tomsom - Nov-27-2017, 05:10 PM - Forum: Homework - No Replies

Hey all, I need to make a program in Vpython where you can press a button to launch a ball, which is affected by the air resistance, forward, and chan..... More

Print this item

  Maximum Occurrence Letter
Posted by: GalaxyCR - Nov-27-2017, 02:08 PM - Forum: General Coding Help - Replies (2)

Hey Guys, So I have an assignment regarding finding the most letters used in a word. For some reason I can't seem to make it work as the output that I..... More

Print this item

  Problem with tkinter widget list
Posted by: Larz60+ - Nov-27-2017, 12:54 PM - Forum: GUI - Replies (2)

This is part of the Enigma project that I am working on.
I'm adding a new post here, because this is a question having to do specifically with a GUI ..... More

Print this item

  when calling module comes up with syntax error
Posted by: DAS - Nov-27-2017, 12:50 PM - Forum: General Coding Help - Replies (5)

[python]def main():
#These are the two options available
print ("1: register")
print("2: login")

signIn = int(input("Do you ..... More

Print this item

  dice roll?
Posted by: mzmingle - Nov-27-2017, 11:38 AM - Forum: Game Development - Replies (1)

For homework I've been told to write a pygame program where you can click to roll a dice. I've tried making it so you just click a button and it displ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 14 minutes ago Pedroski55 bowlofred General Codin...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580739
  Tutorial Requ... 522273
  Web Scraping ... 442914
  New Users Int... 388144
  Newbie with P... 387140
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexfox Yesterday
zalexisshulzeo8879 Yesterday
SUMIATI Yesterday
starboy25 Yesterday
zabenjamitop8877 01-10

User Panel Messages

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