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,313
» Latest member: Daniel221
» Forum threads: 38,801
» Forum posts: 175,925

Full Statistics

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

Latest Threads
Looking for new hosting s...
Forum: Bar
Last Post: Daniel221
30 minutes ago
» Replies: 13
» Views: 10,611
No new line from print in...
Forum: General Coding Help
Last Post: Pedroski55
11 hours ago
» Replies: 12
» Views: 352
Python compiler
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:50 AM
» Replies: 1
» Views: 91
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Nov-29-2025, 07:34 PM
» Replies: 5
» Views: 103
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Nov-29-2025, 05:51 PM
» Replies: 0
» Views: 59
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Nov-29-2025, 07:39 AM
» Replies: 3
» Views: 11,150
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 228
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 758
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,855
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 229

 
  [split] My opinion about OS choice for programming
Posted by: wavic - Oct-06-2016, 06:37 PM - Forum: News and Discussions - Replies (12)

I want to share with you guys a thought crossed my mind.
I've read this and also all post he..... More

Print this item

  Julian Day
Posted by: sparkz_alot - Oct-06-2016, 03:39 PM - Forum: Code sharing - Replies (14)

Here is another Python piece of code derived from Jean Meuus' book "Astronomical Algorithms"
to compute the Julian Day (JD) for a given Gregorian dat..... More

Print this item

  Mark posts as SOLVED
Posted by: iFunKtion - Oct-06-2016, 11:05 AM - Forum: Board - Replies (22)

Is there a way to mark a post as SOLVED at all. I find SOLVED threads in forums extremely useful and I for one try my hardest to document any solution..... More

Print this item

  matplotlib barh y tick alignment
Posted by: iFunKtion - Oct-06-2016, 10:53 AM - Forum: General Coding Help - Replies (2)

Hi,

Can't seem to get the y tick labels to line up nicely on the horizontal bar chart in this sub plotted chart (bottom chart). I have found variou..... More

Print this item

  BeautifulSoup help !
Posted by: navsid - Oct-06-2016, 09:38 AM - Forum: Web Scraping & Web Development - Replies (3)

So I've just started up with python and an assignment was given to me by a company as an recruitment task.

I need to web scrap the coupons of all t..... More

Print this item

  can't get xticks to work
Posted by: iFunKtion - Oct-06-2016, 09:27 AM - Forum: General Coding Help - Replies (1)

Hi,

having a little difficulty getting xticks to work, but I can't find syntax for what I am doing. As it happens, I think the syntax is accepted b..... More

Print this item

  py2exe - or py2android
Posted by: Skaperen - Oct-06-2016, 05:50 AM - Forum: General Coding Help - Replies (1)

in tutorials was recently published an article for py2exe.

i'd like to target ..... More

Print this item

  now()
Posted by: Skaperen - Oct-06-2016, 05:44 AM - Forum: General Coding Help - Replies (7)

is there a way to do this


from datetime import datetime as dt
now=dt.now
in one statement?

i tried these and they did n..... More

Print this item

  Creating a state machine
Posted by: metulburr - Oct-06-2016, 04:55 AM - Forum: Game Tutorials - Replies (4)

[color=#000000][size=medium][font=Times New Roman]A state (or screen, scene, etc.) machine, is a way to handle different scenes of the game, and flip ..... More

Print this item

  Building an exe with Py2exe
Posted by: metulburr - Oct-06-2016, 04:52 AM - Forum: Python Installation and Execution - No Replies

[color=#000000][size=medium][font=Times New Roman]There are numerous programs to aid in building an exe for Windows for your program... ..... More

Print this item

  BeautifulSoup - Table
Posted by: tkj80 - Oct-06-2016, 02:10 AM - Forum: Web Scraping & Web Development - Replies (6)

Hi,

I ran the following code and got the error message: "IndexError: list index out of range"

[python]import csv
from urllib.request import url..... More

Print this item

  [split] Purpose of school/homework
Posted by: Johno - Oct-06-2016, 02:04 AM - Forum: Bar - Replies (15)

This might be a little off topic, but do many professionals recommend students consider dropping out?  I mean, the homework section was probably well-..... More

Print this item

  With Python I cannot calculate an AWS signature for Rest APIs
Posted by: Johno - Oct-06-2016, 01:56 AM - Forum: General Coding Help - Replies (4)

I have never been able to get Rest APIs to completely work with AWS. The error messages I have seen have been about the time not being correct or the ..... More

Print this item

  Assignment
Posted by: tinabina22 - Oct-06-2016, 12:58 AM - Forum: Homework - Replies (8)

This is an assignment that is due next week and I'm stuck on the for i in range code at the bottom highlighted with purple font.  I have included the ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Looking for new hosting s... 30 minutes ago Larz60+ Daniel221 Bar
  No new line from print in... 11 hours ago Lou Pedroski55 General Codin...
  Python compiler Yesterday, 09:50 NeoQuant noisefloor General Codin...
  Trading Risk management s... 11-29, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... 11-29, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler 11-29, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
Most views
  The best Prog... 579526
  Tutorial Requ... 513093
  Web Scraping ... 442386
  Newbie with P... 386417
  New Users Int... 381841
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+ 12113
buran 8196
snippsat 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Daniel221 Today
elizabethlittle6258 Yesterday
StepanVoronin Yesterday
QABOB Yesterday
adityaN Yesterday

User Panel Messages

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