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 62 online users.
» 0 Member(s) | 59 Guest(s)
Bing, Google, AOL

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

 
  listdir trouble
Posted by: Dixon - Jan-17-2018, 08:18 PM - Forum: General Coding Help - Replies (1)

import os
def rename_files():
    list = os.listdir(r'C\Users\Public\Tyrell\Tyrrell')
    print (list)

I get nothing to print..... More

Print this item

  jobs section
Posted by: metulburr - Jan-17-2018, 08:11 PM - Forum: Board - Replies (6)

The jobs sections has gotten some borderline spam VS advertisement.

We were discussing the possibility of removing it or restricting the content i..... More

Print this item

  ModuleNotFoundError
Posted by: amalik - Jan-17-2018, 07:36 PM - Forum: General Coding Help - Replies (1)

I am new to Python. I am trying to run a python code and getting the following error:

from absl import app

Module not found.


How can I get ..... More

Print this item

  Doubt about which web server to use
Posted by: FelipeTE - Jan-17-2018, 06:49 PM - Forum: Networking - Replies (1)

Hello to all of You.
Mostly, but not only, what I search here is your expertise.
Some explanation ...
I'm at the moment creating a system and I..... More

Print this item

  issues with name color?
Posted by: friskisan - Jan-17-2018, 06:21 PM - Forum: General Coding Help - Replies (5)

hey! im using renpy if anyones familiar with it to code my game, and i typed in this thread: define m = Character("Mothman”, color=“#3e2a54”). i keep ..... More

Print this item

  Picking A number of items from a dict and getting there info
Posted by: TFish - Jan-17-2018, 05:31 PM - Forum: General Coding Help - Replies (2)

What i want to do it take a certain number of foods and take them and there values and print the values out.


[python]foods = {"Dempsters Whole ..... More

Print this item

  snake game quit() ^ SyntaxError: invalid syntax
Posted by: arti - Jan-17-2018, 05:22 PM - Forum: General Coding Help - Replies (1)

[python]
import random
import curses

s = curses.initscr()
curses.curs_set(0)
sh , sw = getmaxyx()
w = curses.newln(sh, sw, 0, 0)
w.keypad(1)..... More

Print this item

  Remote control of the Visual Studio 2013 debug menu using Python
Posted by: MariusTo - Jan-17-2018, 04:58 PM - Forum: General Coding Help - No Replies

I want a modality to control the debug menu from Visual Studio IDE on the same machine using python script.

For example:
-ADD BREAKPOINTS
-STEP INTO
..... More

Print this item

  Problem reading entry box in thread
Posted by: LeeMadeux - Jan-17-2018, 02:41 PM - Forum: GUI - Replies (2)

Good Morning,

I am new to Python. I am trying to build a program that reads a temperature from an Entry widget once every second and performs an ac..... More

Print this item

  Threading : class instance to be executed by a thread
Posted by: user2103 - Jan-17-2018, 01:08 PM - Forum: General Coding Help - No Replies

I want to create two threads and assign two class instances (object) to these threads.Then based on some condition, I will call the methods of those c..... More

Print this item

  how to create python modal forms
Posted by: shaun - Jan-17-2018, 12:45 PM - Forum: General Coding Help - Replies (3)

I am brand new to Python and I need some help with modality. I would like to set up an application say codeA.py screen with some buttons that call oth..... More

Print this item

  Program arduino using python
Posted by: sumandas89 - Jan-17-2018, 12:43 PM - Forum: General Coding Help - Replies (2)

Is there any thorough tutorial available for programming arduino using python? Let me know if anyone in the forum knows.

Print this item

  A small data sorting program - couple of general and hopefully easy questions
Posted by: Ansifatcat - Jan-17-2018, 08:37 AM - Forum: Data Science - Replies (2)

Hi,

First post, don't know if there's somewhere for an intro but they always seem somewhat trite on internet forums (fora?) anyway. Hi anyway.

I..... More

Print this item

  object of none types has no len()
Posted by: Prince_Bhatia - Jan-17-2018, 08:26 AM - Forum: Web Scraping & Web Development - Replies (3)

hi,

I am trying to create a webscraper which will take links from csv file and scrape data.

but whenever i run this code it says object of nonet..... More

Print this item

  Speed of progress of writing code
Posted by: Johno - Jan-17-2018, 07:59 AM - Forum: Homework - Replies (2)

I'm trying to gauge my development ability. There are different Python programming challenges that employers have candidates perform. How long would..... More

Print this item

  Django syntax
Posted by: mepyyeti - Jan-17-2018, 06:14 AM - Forum: Web Scraping & Web Development - Replies (2)

So I'm getting used to the Django framework and sort of bouncing from videos/books. No two materials seem to use the same syntax. I'm trying to unde..... More

Print this item

  an exception traceback and continue
Posted by: Skaperen - Jan-17-2018, 03:47 AM - Forum: General Coding Help - Replies (4)

i would like to try a given block of statements, and if there is any exception, just keep on running like:[python] try:
whatever goes here..... More

Print this item

  Web interaction for fetching data from a static page
Posted by: code_learner - Jan-17-2018, 03:04 AM - Forum: Homework - Replies (1)

Hi! i am new to scripting still on the process of learning.

I want to write a Python script to interact with a static pages.

Example:
I have ..... More

Print this item

  command to create a named socket
Posted by: Skaperen - Jan-17-2018, 02:41 AM - Forum: General Coding Help - Replies (1)

i'm looking for a command to create a named socket on Linux. anyone have such a thing in Python?

Print this item

  seek method clarification
Posted by: petepiro - Jan-17-2018, 01:23 AM - Forum: Homework - No Replies

Hi there,
I would like someone to clarify the seek method. I have this code (excuse formatting)

in_file = open('mydata4.txt','r+')
print(in_fil..... More

Print this item

  Question: While
Posted by: Truman - Jan-16-2018, 11:57 PM - Forum: General Coding Help - Replies (4)

This is the code:

[python]
num_1 = ""
num_temp = ""
num_final = ""

while True:
num_1 = input("Enter an integer: ")
if num_1.isdigit():
..... More

Print this item

  How to proceed
Posted by: jarrod0987 - Jan-16-2018, 10:55 PM - Forum: General Coding Help - Replies (4)

If I have a simple Dictionary. Lets say the Key is a char like A, B, C...etc and each key has a simple numerical value like 4 or 10 etc...

What I wan..... More

Print this item

  Scraping aspx
Posted by: asnyder - Jan-16-2018, 07:40 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I'm trying to scrap an aspx page and not sure how to get started with it. Specifically this site: http://www.quikstatsiowa.com/Default.aspx..... More

Print this item

  problem with "hiding" object
Posted by: league55 - Jan-16-2018, 07:30 PM - Forum: General Coding Help - Replies (4)

This is code that's supposed to generate a cipher once, then prevent the cipher from being altered or viewed, but the code doesn't work. What's wrong ..... More

Print this item

  python nested list assignment weird behavior
Posted by: eyalk1 - Jan-16-2018, 07:06 PM - Forum: General Coding Help - Replies (2)

mat was initialized like this:
mat = [[0]*26]*5
The problem is that after an inner loop iteration all the rows in mat get changed the same but i clear..... More

Print this item

  Displaying number of currency
Posted by: danellapotter - Jan-16-2018, 05:01 PM - Forum: Homework - Replies (3)

My assignment is to write a program using Python which accepts amount as integer from the user and displays total number of Notes (Currency) 100, 50, ..... More

Print this item

  Installing from source and getting import working in linux
Posted by: poutila - Jan-16-2018, 04:55 PM - Forum: Data Science - Replies (9)

Hello!
I installed kivy and cython from source like this:

git clone https://github.com/kivy/kivy.git
cd kivy
make

same for cython.
I instal..... More

Print this item

  linspace not dividing equal intervals
Posted by: sheel - Jan-16-2018, 04:28 PM - Forum: Data Science - No Replies

i have written a code to find out effect of order of accuracy on numerical differentiation but when i am trying to use linspace(1,epsilon,100) it is n..... More

Print this item

  Converting Pseudocode to Python
Posted by: ncp511 - Jan-16-2018, 04:24 PM - Forum: General Coding Help - Replies (1)

Hi all, Im relatively new to the world of python. Im a Biotechnology major who is picking up coding in his own time. A seemingly very helpful pdf ofte..... More

Print this item

  How Can I Fix This Error
Posted by: JayJayOi - Jan-16-2018, 03:51 PM - Forum: Homework - Replies (2)

Hi, I am trying to store some information with regards to books into an object. My object class codes are as below:
[python]
class Book:
def __..... More

Print this item

  How would i go about adding up numbers in a dict
Posted by: TFish - Jan-16-2018, 03:08 PM - Forum: General Coding Help - Replies (2)

how would i add up the cost in this dict
[python]foodstest = {'Dempsters Whole Wheat Bread': {"cost":2.27, "servings":18, "calories":1620},
..... More

Print this item

  Search for files
Posted by: raopatwari - Jan-16-2018, 02:25 PM - Forum: General Coding Help - Replies (4)

I need to find files in dir path which are greater than zero bytes and print them

Print this item

  Show temperature in gui
Posted by: katastroooof - Jan-16-2018, 02:04 PM - Forum: GUI - Replies (17)

Hi, im a total newbie to this but here we go:
Got 6x MAX31855 running with code from https://github.com/Tuckie/max31855
I have managed to make a noo..... More

Print this item

  Python code to android app
Posted by: Skerilyo - Jan-16-2018, 01:56 PM - Forum: Homework - Replies (2)

Hi, i'm a French student and i've got a project in dataprocessing class.
In fact we have to create a Python code with everything that we learned in c..... More

Print this item

  Python Developers Wanted
Posted by: kendaya - Jan-16-2018, 01:22 PM - Forum: Jobs - No Replies

Hello everyone! Cool

We highly innovative German company with headquarter in Leipzig and now also in Prague, [b]looking for new team members ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  private dating for adults 1 hour ago xyz987 xyz987 General Codin...
  NEED HELP, LOST OF INVEST... 4 hours ago goodvicent goodvicent General Codin...
  403 Error 9 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... 576406
  Tutorial Requ... 498169
  Web Scraping ... 440303
  Newbie with P... 384196
  New Users Int... 367171
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