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,257
» Latest member: Bamboo
» Forum threads: 38,782
» Forum posts: 175,836

Full Statistics

Online Users
There are currently 42 online users.
» 0 Member(s) | 39 Guest(s)
Google, Mojeek

Latest Threads
[solved] re.split issue
Forum: General Coding Help
Last Post: DeaD_EyE
3 hours ago
» Replies: 9
» Views: 173
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
3 hours ago
» Replies: 2
» Views: 92
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 07:58 PM
» Replies: 6
» Views: 190
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 364
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 122
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 249
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 401
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 152
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,646
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 255

 
  PyMySQL
Posted by: Dean Stackhouse - Oct-05-2016, 06:28 PM - Forum: General Coding Help - Replies (1)

Hey,

I have PyMySQL working however the result its printing has an unexpected character.

[python]
#!/usr/bin/python

import pymysql.cursors
..... More

Print this item

  Awesome Cheatsheet
Posted by: snippsat - Oct-05-2016, 06:17 PM - Forum: News and Discussions - Replies (11)

A collection of useful Cheatsheet

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] re.split issue 3 hours ago paul18fr DeaD_EyE General Codin...
  Please guide me to comple... 3 hours ago pbkurd pbkurd General Codin...
  New to python and coding Yesterday, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578947
  Tutorial Requ... 510372
  Web Scraping ... 441965
  Newbie with P... 385987
  New Users Int... 376969
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Bamboo Today
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday

User Panel Messages

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