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,272
» Latest member: DataScientist071
» Forum threads: 38,787
» Forum posts: 175,858

Full Statistics

Online Users
There are currently 29 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google

Latest Threads
PyQt6 QWidgets and system...
Forum: GUI
Last Post: deanhystad
32 minutes ago
» Replies: 1
» Views: 118
best way to learn python
Forum: News and Discussions
Last Post: mamta25
40 minutes ago
» Replies: 5
» Views: 3,053
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 181
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 161
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 128
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 176
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 352
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 72
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 369
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 212

 
  python3.x installation
Posted by: metulburr - Oct-05-2016, 11:38 PM - Forum: Game Tutorials - Replies (1)

EDIT:
This is quite outdated now. Try reading here

When first startin..... More

Print this item

  Functions
Posted by: metulburr - Oct-05-2016, 10:08 PM - Forum: Fundamentals - No Replies

Why use functions?

  • They maximize code reuse and minimize redunancy
    • Package logic when using in more than one place ..... More

Print this item

  Web scraping with Scrapy
Posted by: metulburr - Oct-05-2016, 10:03 PM - Forum: Web Scraping - No Replies

Originally posted by setrofim....
please do not PM me. 


Introduction

..... More

Print this item

  Creating C extensions
Posted by: metulburr - Oct-05-2016, 09:57 PM - Forum: Python Installation and Execution - Replies (3)

Originally posted by Casevh...
If You want to repost this, ill delete it
@[casevh]

This is part 1 of several short tutorials on creating C extens..... More

Print this item

  Run Python CGI from Apache
Posted by: metulburr - Oct-05-2016, 09:49 PM - Forum: Web Tutorials - Replies (1)

Depending on the Linux distro and even the version the name and path of the apache config file will be different. You did not specify which distro you..... More

Print this item

  ArcGIS file geodatabase
Posted by: bryan@stclairco.com - Oct-05-2016, 07:20 PM - Forum: General Coding Help - Replies (4)

Is there a Python command to remove locks from a ArcGIS file geodatabase?  similar to the ...

  • arcpy.DisconnectUser
  • arcpy.AcceptConnect..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt6 QWidgets and system... 32 minutes ago stevecoh1 deanhystad GUI
  best way to learn python 40 minutes ago dutch mamta25 News and Disc...
  Graph Interpolate Difficu... Yesterday, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
Most views
  The best Prog... 579115
  Tutorial Requ... 511330
  Web Scraping ... 442073
  Newbie with P... 386137
  New Users Int... 378499
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+ 12108
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
DataScientist071 Today
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday
ben9090o Yesterday

User Panel Messages

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