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,939
» Latest member: goodvicent
» Forum threads: 38,724
» Forum posts: 175,513

Full Statistics

Online Users
There are currently 56 online users.
» 0 Member(s) | 53 Guest(s)
Bing, Google, AOL

Latest Threads
private dating for adults
Forum: General Coding Help
Last Post: xyz987
3 hours ago
» Replies: 0
» Views: 25
NEED HELP, LOST OF INVEST...
Forum: General Coding Help
Last Post: goodvicent
6 hours ago
» Replies: 0
» Views: 78
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
11 hours ago
» Replies: 11
» Views: 4,098
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 577
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,513
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 927
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,414
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,269
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,472
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,440

 
  Python code example site
Posted by: Larz60+ - Jan-21-2018, 02:22 AM - Forum: News and Discussions - Replies (2)

Recently i was looking for some examples of requests.request api for files method.
Found this site
home URL: https://www.programcreek.com/python/
S..... More

Print this item

  Pygame typewriter class
Posted by: Windspar - Jan-21-2018, 02:09 AM - Forum: Code sharing - No Replies

It render text once. Uses clip rect for animations.

[python]import os
import pygame

class TypeWriterText:
def __init__(self, text, font, c..... More

Print this item

  Please help with code below!
Posted by: PyCoder - Jan-21-2018, 01:47 AM - Forum: General Coding Help - Replies (3)

[python]from time import sleep
print("Welcome to my first game")
char_name = ""
def choosingname(name):
name = input("What is your charactar's nam..... More

Print this item

  Sqlite3 user input
Posted by: Barnettch3 - Jan-21-2018, 01:12 AM - Forum: General Coding Help - Replies (3)

Hi everyone, Im just learning how use the SQlite3 and everything seems
pretty straight forward, but I'm having trouble getting it to SELECT from a gi..... More

Print this item

  Final problem
Posted by: Truman - Jan-21-2018, 12:02 AM - Forum: Homework - Replies (4)

My task is to write a code that will add integers until user decides to quit the program with "Q". The program has two modules that user can choose - ..... More

Print this item

  Documentation for crypt function
Posted by: n3ver - Jan-20-2018, 09:23 PM - Forum: News and Discussions - Replies (1)

While it is possible that I didn't understand it because I am a newbie, it seems to me that the documentation page about the crypt module could be imp..... More

Print this item

  What could work a Python developer?
Posted by: cpuin - Jan-20-2018, 08:59 PM - Forum: Jobs - Replies (1)

Hi everybody.
Python is my favourite language, because of the simplicity and great modules.
I like it a lot, I'd like to work something as developer..... More

Print this item

  Looping script and writing to Excel in Python
Posted by: Rolflund - Jan-20-2018, 07:54 PM - Forum: Data Science - Replies (2)

m used to program in statistical programs like Stata and R but I’ve recently picked up on Python and I’m trying to teach myself. One thing that puzzle..... More

Print this item

  Variable Resetting Issue
Posted by: Niicollas__ - Jan-20-2018, 07:00 PM - Forum: General Coding Help - Replies (8)

I ran into some issues here, when i typed 'back' to return to the main menu of my program it reset my credits. it does this every time and i can't see..... More

Print this item

  assigning columns according to data range python
Posted by: alamather - Jan-20-2018, 06:22 PM - Forum: General Coding Help - Replies (4)

I am very new to this and trying to use it for some of my tasks. I have a list of raw data files without any extension, the files are having more than..... More

Print this item

  Help, not understanding how classes work...
Posted by: Peter_EU - Jan-20-2018, 05:46 PM - Forum: General Coding Help - Replies (1)

Hallo,

I have following code:

[python]class node:
def __init__(self,value=None):
self.value=value
self.left_child=None
..... More

Print this item

  list of user's variables in the interpreter
Posted by: nzcan - Jan-20-2018, 04:55 PM - Forum: General Coding Help - Replies (5)

hi,
i would like to ask how could i put a line of code that prints just user's declared variables in a function so it can be reused in a different sc..... More

Print this item

  Watch files and automatically run a script in Linux
Posted by: Gribouillis - Jan-20-2018, 03:20 PM - Forum: Code sharing - Replies (4)

The following script (download it here) named [inline]autopython3[/inl..... More

Print this item

  Cannot find PIP
Posted by: standenman - Jan-20-2018, 02:48 PM - Forum: General Coding Help - Replies (5)

I am brand new to Python, using the "Automate the Boring Stuff" to try to edit a pdf file using module PyPDF2. Cannot even get off the ground in the ..... More

Print this item

  Working with EFS/Glacier
Posted by: devs4p - Jan-20-2018, 12:21 PM - Forum: General Coding Help - Replies (2)

m5.large instance
Root drive EBS 2TB
OS Windows 2016

m5.large instance
Root drive EBS 2atb
OS Ubuntu CapiDicks

These instances uses the same..... More

Print this item

  Problem with Pycharm 64 bits
Posted by: sylas - Jan-20-2018, 10:04 AM - Forum: General Coding Help - Replies (12)

Hi all ! With Pycharm 32 bits my projects work very well (exit with code 0). With Pycharm 64 bit,here is what it tells:C:\Users\Sylvain\venv\MinMax\Sc..... More

Print this item

  flattree.py
Posted by: Skaperen - Jan-20-2018, 06:57 AM - Forum: Code sharing - Replies (2)

this is my code to generate a "flat" iteration of a file tree, without doing recursion. it can also be downloaded [url=ipal.net/free/flattree.py]here[..... More

Print this item

  having a problem in importing module
Posted by: pratheep - Jan-20-2018, 06:56 AM - Forum: Web Scraping & Web Development - Replies (1)

[python]import beautifulsoup

Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import beautifulsoup
ImportError: ..... More

Print this item

  What is my error here?
Posted by: Codeforfood - Jan-20-2018, 05:23 AM - Forum: General Coding Help - Replies (1)

I am learning python and want to create a more advanced tip calculator, however I tried testing it when I was half way done and kept on getting a synt..... More

Print this item

  i need a better IDE/editor
Posted by: Skaperen - Jan-20-2018, 03:25 AM - Forum: News and Discussions - Replies (13)

i need a better IDE/editor than what i am using now (emacs). i just had another case where i needed to "wrap" a large block of code in an "if test" t..... More

Print this item

  Substring Counting
Posted by: shelbyahn - Jan-20-2018, 02:16 AM - Forum: General Coding Help - Replies (4)

I am working through the Computer Science Circles Web lesson for learning Python and I am stuck on one exercise. Here are the directions:

As mentio..... More

Print this item

  opencv without virtualenv
Posted by: tony1812 - Jan-20-2018, 12:42 AM - Forum: General Coding Help - No Replies

Hello, I followed this tutorial, https://www.pyimagesearch.com/2017/09/04...pberry-pi/ successfully ..... More

Print this item

  Mixed function
Posted by: Truman - Jan-19-2018, 11:25 PM - Forum: Homework - Replies (3)

My final work is to add elements that I used so far in different programs. I wrote this code:

[python]
def str_analysis(argstr):

if arg..... More

Print this item

  can't pass instance variables between functions?
Posted by: mepyyeti - Jan-19-2018, 11:21 PM - Forum: General Coding Help - Replies (2)

Hi !
I always thought I could pass instance variable between functions (intraclass, at least). In the following code snippet I am unable to do so...... More

Print this item

  Program: Input the correct color
Posted by: Truman - Jan-19-2018, 10:59 PM - Forum: Homework - Replies (4)

# [ ] use a while True loop (forever loop) to give 4 chances for input of a correct color in a rainbow
# rainbow = "red orange yellow green blue indi..... More

Print this item

  Write a code to output in alphabetical order
Posted by: AbdelaliPython - Jan-19-2018, 08:55 PM - Forum: Homework - Replies (1)

hi all i'm new here , i have a problem with my homework here if you can help me to solve it !

Assume s is a string of lower case characters.

Write a..... More

Print this item

  Search List
Posted by: Thethispointer - Jan-19-2018, 08:25 PM - Forum: General Coding Help - Replies (6)

Hello Programmers,

I am working on learning python. This isn't for school, so we don't need to be extremely rigid, I am more interested in learning..... More

Print this item

  AttributeError: module 'plotly' has no attribute 'offline'
Posted by: charlesczc - Jan-19-2018, 06:50 PM - Forum: Data Science - Replies (8)

Hi

im a complete beginner and would greatly appreciate if you guys could help me on the below code from a tutorial. Im using Pycharm community edit..... More

Print this item

  indexerror and optimization
Posted by: mcrazy1111 - Jan-19-2018, 03:35 PM - Forum: General Coding Help - Replies (4)

Hello! I am new around here and trying to solve some basic challenges.
I wrote a code for getting prime factors for a number but got (IndexError: lis..... More

Print this item

  Pycharm - local file history
Posted by: j.crater - Jan-19-2018, 12:20 PM - Forum: News and Discussions - No Replies

Users of PyCharm may have discovered that long ago, but I had this revelation occur to me just today, and it saved me hours of work! So I just have to..... More

Print this item

  change application image
Posted by: issac_n - Jan-19-2018, 10:41 AM - Forum: Data Science - Replies (7)

I created exe and working fine, and i wanted to change its application icon in taskbar to my own image.
i tried method below and not working for me.

..... More

Print this item

  3.6.4 windows 64 bit version
Posted by: raysmith48 - Jan-19-2018, 10:29 AM - Forum: News and Discussions - Replies (4)

I am new to this. I am trying to get the 64 bit version but I am only getting offered the 32 bit version. I'm running Windows 10 professional versio..... More

Print this item

  Beginner in pygame, I don't know how to use events
Posted by: Erepiv1 - Jan-19-2018, 08:38 AM - Forum: Game Development - Replies (5)

Hi everyone,I'm a beginner with pygame. I wanted to use events and look on internet how to use them but the problem is that python keep telling me "Na..... More

Print this item

  Execute using Html, Save data into Database and Download in CSV in Django --Part 1
Posted by: Prince_Bhatia - Jan-19-2018, 06:05 AM - Forum: Web Scraping & Web Development - No Replies

Hi,

I have a question how can i scrape websites by pressing html button and then save the scrape data into database and then download them whenever..... More


Attached Files

.html   first-page.html (Size: 2.16 KB / Downloads: 919)
Print this item

  Product of maximum in first array and minimum in second
Posted by: Thethispointer - Jan-19-2018, 05:32 AM - Forum: General Coding Help - Replies (9)

So I am practicing the following

[quote]Given two arrays of size N1 and N2 respectively, the task is to calculate the product of max element of fir..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  private dating for adults 3 hours ago xyz987 xyz987 General Codin...
  NEED HELP, LOST OF INVEST... 6 hours ago goodvicent goodvicent General Codin...
  403 Error 11 hours ago 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...
Most views
  The best Prog... 576410
  Tutorial Requ... 498195
  Web Scraping ... 440313
  Newbie with P... 384198
  New Users Int... 367217
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 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
goodvicent Yesterday
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19

User Panel Messages

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