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,574
» Latest member: linnchinnn
» Forum threads: 38,633
» Forum posts: 175,024

Full Statistics

Online Users
There are currently 366 online users.
» 0 Member(s) | 361 Guest(s)
Baidu, Bing, Google, Yandex, AOL

Latest Threads
[split] Simple webbot for...
Forum: Code Review
Last Post: AB073
3 hours ago
» Replies: 1
» Views: 55
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Larz60+
8 hours ago
» Replies: 1
» Views: 86
Providing clear and promi...
Forum: Homework
Last Post: asim18
9 hours ago
» Replies: 0
» Views: 54
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
11 hours ago
» Replies: 2
» Views: 94
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 09:15 PM
» Replies: 4
» Views: 206
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 03:52 PM
» Replies: 7
» Views: 262
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Yesterday, 06:40 AM
» Replies: 4
» Views: 979
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 04:47 AM
» Replies: 1
» Views: 89
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Yesterday, 02:19 AM
» Replies: 2
» Views: 121
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jun-17-2025, 02:23 AM
» Replies: 1
» Views: 131

 
  String Splits
Posted by: m.zod - Oct-05-2016, 05:35 PM - Forum: Homework - Replies (3)

Hey guys, I'm a new student to Python 3, and I'm having some issues with an assignment, so I'd appreciate the help.
What I'm doing in the assignment ..... More

Print this item

  PEP 492 - Coroutines [async/await]
Posted by: nilamo - Oct-05-2016, 04:06 PM - Forum: News and Discussions - Replies (4)

https://www.python.org/dev/peps/pep-0492/

Apparently this was added in time to be released in 3...... More

Print this item

  How to install odfpy? (or a better alternative?)
Posted by: merlem - Oct-05-2016, 03:54 PM - Forum: General Coding Help - Replies (7)

How can I install odfpy?
I tried

python -m pip install setup.py
from the directory in which I unpacked odfpy-master.zip.
I got onl..... More

Print this item

  Simplify a program using functions
Posted by: nzieno - Oct-05-2016, 02:52 PM - Forum: Homework - Replies (8)

Define the function [b][color=#333333][font=Roboto, sans-serif][b]drawRing(x, y, radius, width,..... More

Print this item

  Global variable funkiness
Posted by: tonivr - Oct-05-2016, 02:28 PM - Forum: General Coding Help - Replies (6)

Hi,

I'm trying to use code that I have found online at https://sourceforge.net/projects/pynetvars/
In short: it allows to use CoDeSys PLC network ..... More

Print this item

  Is there any way to check if a function is user-defined?
Posted by: dullboy - Oct-05-2016, 02:14 PM - Forum: General Coding Help - Replies (11)

Sometimes it would be nice to single out the functions defined by users in a big project. So is there any way to differentiate user-defined functions ..... More

Print this item

  Post Edit Logs
Posted by: metulburr - Oct-05-2016, 01:55 PM - Forum: Board - Replies (2)

I added a plugin to allow to show/compare/and even revert edit changes of a post. As is, only admins and mods are allowed to view the edit logs though..... More


Attached Files

Thumbnail(s)
   
Print this item

  selecting buttons with keyboard
Posted by: noissue - Oct-05-2016, 12:21 PM - Forum: GUI - Replies (3)

Hello,

my problem:

i have some simple GUI, with some text entrys, and radiobuttons
i can select on them by mouse, but i want to do it with ente..... More

Print this item

  Suggestions Needed For Free Hosting Services for my non-Django App
Posted by: Loophole16 - Oct-05-2016, 11:52 AM - Forum: General Coding Help - Replies (2)

Hi Guys, First post here(used to be a member of the old forum tho)

I have created a few twitter Bots(3 actually) using only tweepy. But I am actual..... More

Print this item

  F2PY.......plz!!!!
Posted by: Yuji3131 - Oct-05-2016, 10:03 AM - Forum: General Coding Help - Replies (14)

I tried to use f2py but this error message came out[compiling C sources error: Unable to find vcvarsall.bat].
however i already installed VC++ for py..... More

Print this item

  "Forum contains new posts" icons are broken?
Posted by: Ofnuts - Oct-05-2016, 09:41 AM - Forum: Board - Replies (6)

In the forum index, the forum have a disk on the left, that indicates (when it is dark) that there are unread posts. And it seems that since this morn..... More

Print this item

  testing code
Posted by: Skaperen - Oct-05-2016, 05:56 AM - Forum: Code sharing - Replies (2)

i am testing indents and stuff:

[python]from sys import argv
def main():
    from sys import argv
    if len(argv) < 2:
        print 'no argum..... More

Print this item

  How to define a global file?
Posted by: dullboy - Oct-05-2016, 05:10 AM - Forum: General Coding Help - Replies (11)

I need to set up a file as a log file in my python program. So basically I need to create a global file. I am just wondering what is the best way to d..... More

Print this item

  Run commands from Text file
Posted by: bharath917 - Oct-05-2016, 02:53 AM - Forum: Networking - Replies (2)

Hi All,

I have few Firewall commands stored in text file.. I has around 150 Commands, how to execute those commands in python??

Regards,
Bharat..... More

Print this item

  Python Module Question
Posted by: ATXpython - Oct-05-2016, 02:23 AM - Forum: General Coding Help - Replies (9)

I've created a script that I'd like to share with some coworkers.
This script requires one module to be installed.
I was able to successfully do thi..... More

Print this item

  List Censor Thread
Posted by: palmtrees - Oct-05-2016, 01:03 AM - Forum: Homework - Replies (6)

I am making a program for my Introduction to Computer Science course where I have to type in a sentence: "Dr Mathias is completely full of shirt I wis..... More

Print this item

  distance between 2 points
Posted by: sparkz_alot - Oct-04-2016, 10:02 PM - Forum: Code sharing - Replies (11)

This is a small part of a bigger project I'm working on to Pythonize (a real word I just made up) the formulas in Jean Meeus' book "Astronomical Algor..... More

Print this item

  Some algorithms collection
Posted by: wavic - Oct-04-2016, 09:53 PM - Forum: News and Discussions - Replies (2)

Is not a tutorial.

Here is an archive which can be downloaded and one can just read the sour..... More

Print this item

  <SOLVED>os.system needs a string in quotes
Posted by: Fred Barclay - Oct-04-2016, 08:07 PM - Forum: General Coding Help - Replies (12)

G'day! I've written an extension for Caja (the default file manager in MATE) that wipes files/folders using the srm command. The source code is here..... More

Print this item

  [split] new BBCodes
Posted by: metulburr - Oct-04-2016, 06:30 PM - Forum: Board - Replies (6)

[quote='nilamo' pid='1429' dateline='1475605285']

Once you hit line 57, your program is done.  The python version never computes anything, regardle..... More

Print this item

  Programmer named Tim...
Posted by: Fred Barclay - Oct-04-2016, 04:53 PM - Forum: Board - Replies (11)

Just under my username, it says "Programmer named Tim."
What's up with that? How do I change it? :s

And more importantly, when did my name change..... More

Print this item

  a few extra tags
Posted by: metulburr - Oct-04-2016, 03:13 PM - Forum: Board - Replies (2)

I made a few extra BBCodes. It seems illogical to use the code box for error output, code output, especially when it syntax highlighted for no reason..... More

Print this item

  In the beginning...
Posted by: sparkz_alot - Oct-04-2016, 02:45 PM - Forum: Bar - Replies (12)

I thought I would start this thread after reading a comment by Lars (..... More

Print this item

  Syntax Highlighter Codebox Issues
Posted by: metulburr - Oct-04-2016, 02:16 PM - Forum: Board - Replies (38)

We are testing new code box. This python tag is syntaxhighlighter Version 4.x. which works with a number of langauges.

We converted all original co..... More

Print this item

  If your are here, you are likely a p-human
Posted by: Ofnuts - Oct-04-2016, 12:22 PM - Forum: Bar - Replies (9)

From my favorite webcomic(*)

http://www.smbc-comics.com/comic/p-humans

(*) actually, XKCD or SMBC, I can't really decide. XKCD has a bit more sc..... More

Print this item

  Error when Inserting CSV file values into a postgreSQL using psycopg2
Posted by: klllmmm - Oct-04-2016, 12:14 PM - Forum: General Coding Help - Replies (8)

I'm newbie, & I'm using python 3.5 I want to how to insert some data in a CSV file into a PostgreSQL table using psycopg2.

The error msg is;
[erro..... More

Print this item

  Connecting to MySQL
Posted by: Dean Stackhouse - Oct-04-2016, 10:31 AM - Forum: General Coding Help - Replies (4)

Hey,

Just wondering what the best way to connect and query an external MySQL database is.

I have found a few different options, some of which lo..... More

Print this item

  bigsqrt - Python vs Pike
Posted by: Skaperen - Oct-04-2016, 06:23 AM - Forum: Code sharing - Replies (9)

this is a commandline program i wrote many years ago in both Python (my first Python program) and Pike. both are given below.  the Pike code is substa..... More

Print this item

  warnings of sentdex pygame tutorials
Posted by: metulburr - Oct-04-2016, 03:23 AM - Forum: Game Tutorials - No Replies

This is not meant to be bullying against sentdex. However people use his tutorials and come back to us to get information on what they learned from hi..... More

Print this item

  Collection of programming ideas and challenges
Posted by: metulburr - Oct-04-2016, 03:20 AM - Forum: Code sharing - Replies (8)

This is not all my ideas, i more or so collected them from time to time when i cant think of anything to code. Reading through them though will jog my..... More

Print this item

  a project idea
Posted by: Skaperen - Oct-04-2016, 03:03 AM - Forum: Bar - Replies (7)

maybe a subforum to post project ideas could have a bunch of ideas that might be inspiring to others, or worse.

i am not a GUI programmer :( so when ..... More

Print this item

  pyutils module
Posted by: Skaperen - Oct-04-2016, 02:19 AM - Forum: Code sharing - Replies (15)

i'll upload/embed it here and see if i live through it.
[spoiler=My code]
[php]#!/usr/bin/env python
# -*- coding: utf-8 -*-
#--------------------..... More

Print this item

  Practice Question Excersizes
Posted by: A3G - Oct-04-2016, 01:30 AM - Forum: Homework - Replies (5)

[code]nomstudents = 0
totalgrade = 0
avegrade = 0
morestudents = input("Do you have any students? (yes/no) ").lower()
while morestudents == 'yes':..... More

Print this item

  Archiving feauture
Posted by: wavic - Oct-04-2016, 01:12 AM - Forum: Board - Replies (8)

Since issues with www.python-forum.org I was thinking yesterday for some archiving feature. I've seen this in a radio forum and is a nice feature. By ..... More

Print this item

  function returning None
Posted by: tkj80 - Oct-03-2016, 11:16 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm working my way through an example in a book. However, it is return an unexpected value. Wonder if someone could help point out what/where I..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] Simple webbot for... 3 hours ago AB073 AB073 Code Review
  Dynamic Module Import Err... 8 hours ago DaddyMAN Larz60+ General Codin...
  Providing clear and promi... 9 hours ago asim18 asim18 Homework
  What Are the Most Overloo... 11 hours ago shreyapatel Plyth News and Disc...
  Setting AST node lineno c... Yesterday, 21:15 voidtrance deanhystad General Codin...
  How do select this table ... Yesterday, 15:52 MarkMan snippsat Web Scraping ...
  Wish to write a code for ... Yesterday, 06:40 Hasan2025 Hasan2025 General Codin...
  I have a question Yesterday, 04:47 Clictithe Pedroski55 General Codin...
  How to produce a CPU load... Yesterday, 02:19 Calab Plyth General Codin...
  Venv - Python Virtual Env... 06-17, 02:23 DanneA Larz60+ General Codin...
  Webscraping: Attendance L... 06-17, 02:20 ThatsMe Larz60+ Web Scraping ...
Most views
  The best Prog... 572252
  Tutorial Requ... 484749
  Web Scraping ... 436788
  Newbie with P... 379619
  Thread remain... 351214
Most reputation
buran 581
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12066
buran 8173
snippsat 7336
deanhystad 6838
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
linnchinnn Today
crobertson Today
PeterBoowl Today
ldbdragon Today
GerardRandall Today

User Panel Messages

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