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,397
» Latest member: MaxTranslate
» Forum threads: 38,822
» Forum posts: 176,026

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 38 Guest(s)
Bing, Applebot, Mojeek, Google

Latest Threads
Struggles I Faced While E...
Forum: Code Review
Last Post: MaxTranslate
2 hours ago
» Replies: 2
» Views: 4,578
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
11 hours ago
» Replies: 4
» Views: 149
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Today, 07:27 AM
» Replies: 7
» Views: 3,581
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 141
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 282
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,097
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,951
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 174
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 104
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 174

 
  Obscure random.shuffle() note
Posted by: ichabod801 - Dec-16-2016, 11:09 PM - Forum: News and Discussions - Replies (3)

So, I'm working on a game suite which includes card games. So I need to shuffle decks of cards. The obvious thing to do is create the decks as lists o..... More

Print this item

  9$ CHIP computer
Posted by: Larz60+ - Dec-16-2016, 11:04 PM - Forum: News and Discussions - Replies (59)

Seems I heard about this before, but not sure.

This is the $9.00 answer to the raspberry pi The CHIP
[ur..... More

Print this item

  Please help me with this program
Posted by: William_the_Conqueror - Dec-16-2016, 10:22 PM - Forum: General Coding Help - Replies (4)

Whenever i run the program it continually loops. Please help!
[python]
import random
#Misc. variables
y = 0
monNum = random.randint(1, 2)

#Player var..... More

Print this item

  I don't know what is wrong!
Posted by: William_the_Conqueror - Dec-16-2016, 08:24 PM - Forum: General Coding Help - Replies (10)

I was trying to code a dice game but i cant seem to get the goomba to take damage. I would appreciate some help.


[python]import random

monNum ..... More

Print this item

  can somone help with this crappy e-mail module
Posted by: ggpf000 - Dec-16-2016, 07:59 PM - Forum: General Coding Help - Replies (1)

Following this example code but appears to be a poorly documented as always with the case with python modules and its documentation.

https://docs.p..... More

Print this item

  Modern Dictionaries by Raymond Hettinger
Posted by: snippsat - Dec-16-2016, 07:20 PM - Forum: News and Discussions - Replies (2)

Modern Dictionaries a good talk about the history of Dictionaries/Hash tables.
Python 3.6 is a..... More

Print this item

  How to provide python scripts to someone without python installed
Posted by: jak123456 - Dec-15-2016, 07:17 PM - Forum: General Coding Help - Replies (9)

so I've recently learned some basic python knowledge,and tried to send the file to someone without python installed,and he was unable to open it. i wa..... More

Print this item

  TypeError: Method takes takes exactly 1 argument but 2 given
Posted by: pras120687 - Dec-15-2016, 06:08 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi Below is my code:

[python]import SimpleHTTPServer
import SocketServer
import os
from threading import Thread
import threading


class MyT..... More

Print this item

  help, search in python mysql
Posted by: tarata - Dec-15-2016, 03:43 PM - Forum: General Coding Help - Replies (18)

hi i have a raspberry pi3.

I install php mysql et...

Now i want search if value is present in table.

helpppp!

my code is
[python]


im..... More

Print this item

  BBcode pointer position
Posted by: metulburr - Dec-15-2016, 01:35 PM - Forum: Board - No Replies

One thing i would like to figure out is....when you click the button for python tag for example it inserts the python tags
[python][ python ][ /pytho..... More

Print this item

  EPANETTOOLS and Python
Posted by: iespinosa - Dec-15-2016, 01:21 PM - Forum: General Coding Help - Replies (2)

Hello all, 

Has anyone used this library to work in an existing EPANET hydraulic network from Python?

https:  //pypi.python.org/pypi/EPANETTOOLS..... More

Print this item

  Problems with Interrupts/ callback functions in Python for an Alarm Clock project
Posted by: Henry1 - Dec-15-2016, 10:27 AM - Forum: General Coding Help - Replies (1)

I recently started programming with Python and now I want to build an appliance with the raspberry pi which is basically an alarm clock. I have a pi, ..... More

Print this item

  Python Code: (Double-click to select all)
Posted by: Skaperen - Dec-15-2016, 05:00 AM - Forum: Board - Replies (5)

... is not working on Firefox version 50.0.2.  i have not tried any earlier versions or anything else.

it does highlight all the code.  but even do..... More

Print this item

  string between two strings
Posted by: Skaperen - Dec-15-2016, 04:48 AM - Forum: General Coding Help - Replies (3)

i want to get the string that is between (the first instances of) two strings, a and b (in that order).  i can do it like:

[python]what_was_between..... More

Print this item

  Where to start as a beginner
Posted by: godmode - Dec-14-2016, 09:59 PM - Forum: Bar - Replies (6)

Hello guys,

I'd like to ask your opinion about learning to program, and the python language. I've a background of programming about 15 years ago, and..... More

Print this item

  Syntax error when using <> operator
Posted by: mohdabusido - Dec-14-2016, 06:45 PM - Forum: General Coding Help - Replies (9)

Hello Guys,

I am trying to run this code and each time I am getting an invalid syntax error message, I tried changing the variables, the fil..... More

Print this item

  X3 Python Software Developers + (Visa Sponsorship) at Scurri
Posted by: djangojobs.net - Dec-14-2016, 06:23 PM - Forum: Jobs - No Replies

[color=#333333][size=small][font='Helvetica Neue', Helvetica, Arial, sans-serif]Scurri is a rapidly growing software company that wants to enable ever..... More

Print this item

  Start at python Networkin
Posted by: Grean - Dec-14-2016, 02:09 PM - Forum: Web Scraping & Web Development - Replies (6)

Hi, I'm a beginner in python networking..What is the best starting point

Print this item

  Looking to hear the thoughts of Python developers
Posted by: vmdepyth - Dec-14-2016, 12:42 PM - Forum: Bar - Replies (2)

Excuse my first post being "spammy" but hopefully this is something you'll be interested in. (I checked with one of the moderators. ichabod801, before..... More

Print this item

  calculator
Posted by: Jei - Dec-14-2016, 11:50 AM - Forum: Homework - Replies (5)

problem is that when in sub() you give a letter instead of a number it will give a error and after that if you give both numbers it wont return anyth..... More

Print this item

  Get pagination Instagram
Posted by: Kalet - Dec-14-2016, 12:21 AM - Forum: General Coding Help - No Replies

Hello, I'm trying to automate my script(in Python) to automatically get the end_cursor in succession. For example:

[code]https://www.instagram.com/..... More

Print this item

  Need Help debugging program
Posted by: ToastyCoder - Dec-13-2016, 06:52 PM - Forum: General Coding Help - Replies (12)

[align=left]I have had problems with a class project for about a week now, with displaying list items from a multiline string, and i also need help wi..... More

Print this item

  When i try to create a webserver through a port throwing error
Posted by: pras120687 - Dec-13-2016, 05:50 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

When i try to create a webserver through a port and for second time if i try to create to same port it is throwing following error message.

..... More

Print this item

  Christmas Text Adventure
Posted by: OriginalCal - Dec-13-2016, 04:56 PM - Forum: Code sharing - Replies (3)

[align=left][b]So I am new to coding and thought a great way to get some experience in would be to create a Christmas game using basic sub routines. P..... More

Print this item

  How to get past NaN value
Posted by: iFunKtion - Dec-13-2016, 04:24 PM - Forum: Data Science - Replies (7)

Hi there,

I am trying to do a simple test for a NaN value in python3 pandas, but I can't get anything to work. This is what I want to do, x is a fl..... More

Print this item

  code timer - PyTimer
Posted by: JacobMorris - Dec-13-2016, 04:12 PM - Forum: Code sharing - Replies (2)

PyTimer is a module that I created meant to make calculating code execution times much easier. Previously, the only real option was to calculate the t..... More

Print this item

  Web scraping "fancy" table
Posted by: acehole60 - Dec-13-2016, 02:53 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi guys,
I am just getting into Python and web scraping, so I am very sorry if this is a basic question. So far, I have been able to scrape informati..... More

Print this item

  Code capitalization being changed.
Posted by: Mekire - Dec-13-2016, 02:23 PM - Forum: Board - Replies (4)

I just posted a thread with a code block like this:
[python]CELL_SIZE = 50
MOVES = {"up": (0, -CELL_SIZE), "down": (0, CELL_SIZE),
         "left" ..... More

Print this item

  Date format
Posted by: Kebap - Dec-13-2016, 12:35 PM - Forum: Board - Replies (43)

Hi all, I happened to notice the default date format of our forums which can be very ambiguous on certain dates.

You see, some countries write month-..... More

Print this item

  Minimization of variance problem
Posted by: Newtopython - Dec-13-2016, 10:25 AM - Forum: Homework - Replies (2)

Hello!,

I am really new to Python, I'm trying to do some financial stuff. Below you will find my code, I am having problems when trying to Minimize..... More

Print this item

  printing set of lines between patterns
Posted by: pybegin - Dec-13-2016, 10:22 AM - Forum: General Coding Help - Replies (2)

I have a requirement were in i need to print the lines between 2 patterns into files 
The text in the below format is available in a file. The requir..... More

Print this item

  fast hash function
Posted by: verstapp - Dec-13-2016, 10:21 AM - Forum: General Coding Help - Replies (3)

hi guys,
i'm looking for a faster-than-the-default-adler32/md5/etc non-crypto hash function.
i have googled and found things like pyfasthash, xxhash..... More

Print this item

  Extract relationships
Posted by: MattaFX - Dec-13-2016, 09:34 AM - Forum: Jobs - No Replies

Hi everyone

For a little project (amount of work: ca. 4h), we search someone who could extract relations between entities.
Terms like "entities, f..... More

Print this item

  time range midnight problem
Posted by: PickyBiker - Dec-13-2016, 02:59 AM - Forum: General Coding Help - Replies (9)

The following code determines if the current time is between two times and it works well until midnight is in the range of times. Not sure how to make..... More

Print this item

  sys.argv IndexError
Posted by: Blue Dog - Dec-13-2016, 02:54 AM - Forum: General Coding Help - Replies (2)

What is this error trying to tell me?


Traceback (most recent call last):
  File "C:\Users\renny and kite\Desktop\Python\links\links\links.py", l..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Struggles I Faced While E... 2 hours ago baffa_dbt MaxTranslate Code Review
  Willing to pay for help w... 11 hours ago braillescribe noisefloor General Codin...
  Create dataframe from the... Today, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
Most views
  The best Prog... 580406
  Tutorial Requ... 519472
  Web Scraping ... 442780
  Newbie with P... 386981
  New Users Int... 386489
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 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
MaxTranslate Today
pizofreude Today
RockHound_Z12 Today
braillescribe Yesterday
aurelio12282025 Yesterday

User Panel Messages

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