Skip to main content

Home/ Python Programming/ Group items tagged the

Rss Feed Group items tagged

utkarsh11111

What tasks do remote python developers execute as a freelancer? - 1 views

Python freelancers are the back-end development magicians. Businesses expect them to work not only on coding but also on multiple tasks. The tasks can differ and vary depending on the industry and ...

python programming developer

started by utkarsh11111 on 16 Dec 21 no follow-up yet
Jac Londe

HTTP referer - Wikipedia - 0 views

  • is an HTTP header field that identifies the address of the webpage (i.e. the URI or IRI) that linked to the resource being requested. By checking the referer, the new webpage can see where the request originated.
  • In the most common situation this means that when a user clicks a hyperlink in a web browser, the browser sends a request to the server holding the destination webpage. The request includes the referer field, which indicates the last page the user was on (the one where they clicked the link). Referer logging is used to allow websites and web servers to identify where people are visiting them from, for promotional or statistical purposes.[1]
  • ^ Kyrnin, Jennifer (2012-04-10). "Referrer - What is a Referrer - How do HTTP Referrers Work?". About.com. Retrieved 2013-03-20.  Jump up ^ Hallam-Baker, Philip (2000-09-21). "Re: Is Al Gore The Father of the Internet?". alt.folklore.computers. Retrieved 2013-03-20.  Jump up ^ Fielding, Roy (1995-03-09). "Re: Referer: (sic)". ietf-http-wg-old. Retrieved 2013-03-20.  Jump up ^ "Hypertext Transfer Protocol -- HTTP/1.1 (RFC 2616 § 14.36)". IETF. June 1999. Retrieved 2013-03-20. "The Referer[sic] request-header field allows the client to specify […] the address (URI) of the resource from which the Request-URI was obtained […]"  ^ Jump up to: a b "Network.http.sendRefererHeader". MozillaZine. 2007-06-10. Retrieved 2013-03-20.  Jump up ^ "HTML DOM Document referrer Property". w3schools.com. Retrieved 2013-03-20.  Jump up ^ Gundersen, Bret (2011-10-19). "The Impact of Google Encrypted Search". Adobe Digital Marketing Blog. Retrieved 2013-03-20.  Jump up ^ "HTML Techniques for Web Content Accessibility Guidelines 1.0: The META element". W3C. 2000-11-06. Retrieved 2013-03-20.  Jump up ^ "Hypertext Transfer Protocol -- HTTP/1.1: Encoding Sensitive Information in URI's (RFC 2616 § 15.1.3)". IETF. June 1999. Retrieved 2013-03-20. "Clients SHOULD NOT include a Referer[sic] header field in a (non-secure) HTTP request if the referring page was transferred with a secure protocol"  Jump up ^ "4.12 Links — HTML Living Standard: 4.12.5.8 Link type "noreferrer"". WHATWG. 2013-03-20. Retrieved 2013-03-20.
enzojade62

Python Proficiency: Crafting a Digital Shopping Cart - 3 views

Are you ready to sharpen your Python programming skills with a practical and engaging assignment? In this blog post, we'll tackle the creation of a digital shopping cart, providing you with an oppo...

python programming developer pythonprogrammingassignmenthelp programmingassignmenthelp pythonassignmenthelp assignmenthelp education students university

started by enzojade62 on 16 Nov 23 no follow-up yet
gialloporpora

Ubiquity's Python Feed Plugin at Toolness - 0 views

  •  
    A few weeks ago I wrote about Ubiquity Feed Plugins, which are basically just a way of separating the user interface of subscribing to a new feature from the implementation of the feature itself. As I've written about before, one of the things I've missed about the Mozilla development environment is its support for the Python programming language. Aside from being humane and having a great community, it has functionality that could complement the Mozilla platform quite nicely. So we've whipped up a quick proof-of-concept Python Feed Plugin for Ubiquity to explore this possibility.
reckoner reckoner

Re: Python in Excel - 0 views

  • You can use Microsoft Script Control. If you have the win32 extensions of python, you can use python in place of vb in this control -open the VBA script editor - In menus/Tools/References add Microsoft Script Control -Make a new module and declare a new MsScriptControl.ScriptControl Global sc as new MsScriptControl.ScriptControl -Initialize the language attibute with python - Note that you and users of your document must have python and its win32 extensions installed. Activestate python distribustion include it. You can put sc.language="python" in the routine Workbook_Open() Now you can import python modules using ExecuteStatement method of the control in vba and have results from python functions with eval method. One interesting thing is that you can pass an object to the control with AddObject method and have python manipulate it. And so on..
  • Global sc As New MSScriptControl.ScriptControl Public Function os_getcwd() sc.Language = "python" sc.ExecuteStatement ("import os") os_getcwd = sc.Eval("os.getcwd()") End Function With this you can set your Excel formula to =os_getcwd() For me it returns "C:\Documents and Settings\Administrator\My Documents", which I needed to know at the time so I didn't have to screw around with the ever annoying pythonpath. You can put the first two lines of the function in the Workbook_Open hook, but I don't know where that is. I hope to use more Python in Excel soon. Hmm, actually, I suppose you can put those first two lines of the function after the Global declaration as well. I know just about zero VBScript and didn't get a chance to do anything else beyond proof of concept yet. I figured I would write something dynamic which allowed more transparent access to Python, maybe allowing formula like =py("os.getcwd()"), etc.
reckoner reckoner

Parallelization on muli-CPU hardware? - comp.lang.python | Google Groups - 0 views

  •  > According to the fact that all Thread run on the same CPU (if i didn't  > understand wrong), i'm asking if python will suffer from the future  > multicore CPU. Will not python use only one core, then a half or a  > quarter of CPU ? It could be a serious problem for the future of python... I agree that it could potentially be a serious hindrance for cpython if "multiple core" CPUs become commonplace. This is in contrast to jython and ironpython, both of which support multiple-cpu parallelism. Although I completely accept the usual arguments offered in defense of the GIL, i.e. that it isn't a problem in the great majority of use cases, I think that position will become more difficult to defend as desktop CPUs sprout more and more execution pipelines. I think that this also fits in with AM Kuchling's recent musing/thesis/prediction that the existing cpython VM may no longer be in use in 5 years, and that it may be superceded by python "interpreters" running on top of other VMs, namely the JVM, the CLR, Smalltalk VM, Parrot, etc, etc, etc. http://www.amk.ca/diary/archives/cat_python.html#003382 I too agree with Andrew's basic position: the Python language needs a period of library consolidation. There is so much duplication of functionality out there, with the situation only getting worse as people re-invent the wheel yet again using newer features such generators, gen-exps and decorators.
steelkiwi

Software Development in the Middle East: How to Outsource Skilled Programmers? - 0 views

  •  
    The UAE, and wider, MENA is a region of great opportunity. In the Middle East today web design and web development services are essential for any business. The software market, and IT in general, in the UAE, is booming, and demand for IT services is increasing. Discover why the Middle East is digitizing and tips & tricks of eastern europe software development outsourcing
jgomezdans

PLEAC-Python - 0 views

  •  
    Following the Perl Cookbook (by Tom Christiansen and Nathan Torkington, published by O'Reilly) spirit, the PLEAC Project aims to gather fans of programming, in order to implement the solutions in other programming languages. In this document, you'll find an implementation of the Solutions of the Perl Cookbook in the Python language.
Jac Londe

Eli Bendersky's website » Python metaclasses by example - 12 views

    • Mauro De Giorgi
       
      Start read from here
  • Study and understand this example and you’ll grasp most of what one needs to know about writing metaclasses.
  • To control the creation and initialization of the class in the metaclass, you can implement the metaclass’s __new__ method and/or __init__ constructor [6]. Most real-life metaclasses will probably override just one of them. __new__ should be implemented when you want to control the creation of a new object (class in our case), and __init__ should be implemented when you want to control the initialization of the new object after it has been created.
  • ...3 more annotations...
  • It’s important to note here that these print-outs are actually done at class creation time, i.e. when the module containing the class is being imported for the first time. Keep this detail in mind for later.
  • So when the call to MyMeta is done above, what happens under the hood is this:
  • Python metaclasses by example
gialloporpora

Edgewall Software: Python Sidebar - 25 views

  •  
    When programming Python, I tend to visit the most current reference documentation quite often. To get faster and more convenient access to the documentation, inspired by Mark Hammond's sidebar, I wrote an updated sidebar for the Mozilla family of web browser.
  • ...2 more comments...
  •  
    Interesting post! I'm thinking about starting learning programming. Recently I've found out that Python has become the fourth among other languages. Also it is loved by many programmers because of less code lines. It has to be noted, as Python's rating has increased, the demand for Python programmers skyrocketed, that led to the growth of their wages. There is a good article on the topic - https://diceus.com/python-developer-salary/. So, I'm going to choose exactly this language. And your information is useful for me. Thanks for sharing!
  •  
    Protonshub is Top Python Web Development Company that provides Cutting-Edge Python Web Development on Offshore delivery models. Get your Python Web Development Team within 3 days. Looking for the best python development company? https://www.protonshub.com/technologies/python-development Call Us today for a free consultation.
  •  
    I want to learn advance python. I got my basic clear from [CodingViz](https://codingviz.com/) and now want to learn advance version. Is there any resources that can help me out?
reckoner reckoner

Lightweight Approach to AOP (aspect-oriented programming) in Python - 0 views

  • aspects.py library provides means to intercept function calls. Functions and methods (also in Python standard library and third party code) can be wrapped so that when they are called, the wrap is invoked first. Depending on the wrap, the execution of the original function can be omitted, or the function can be called arbitrarily many times. Wraps are able to modify the arguments and the return value of the original function. In the terminology of aspect-oriented programming, the library allows applying advices (wraps) to call join points of methods and functions in around fashion.
  •  
    aspect-oriented programming
reckoner reckoner

dbtxt (page 43) python database module - 0 views

  • I wrote dbtxt because I needed a small, flat database in a python environment that didn't depend upon any external libraries. Most libraries are contaminated with the GPL, and this needed to be OK for commercial distribution without any complications. So that's what we have here - a complete (though small) database system that depends on nothing at all other than the Python language and its internal libraries. The entire database comes in at about 20k bytes (that's right, "k", not hundreds of k or megabytes) and I was able to implement all the functions I needed. So I was happy. Will you be happy? Well, download it and read the docs and see what you think. The download, zipped, is about 13k. Yep. 13k. :-) By all means, if you have a need for the same kind of thing, feel free to make any use of dbtxt you please. I have released it as PD, so you can use it in projects that are commercial, GPL, BSD, PD, private, government... whatever you like. Below you'll find a basic description taken from beginning of the docs; in the archive you'll download there is complete documentation, two sample databases, a test program and the database engine itself.
cprogrammings example

What is the difference between the copyTo() and clone()? - 0 views

System.Array.CopyTo():-The two dimensional array is the destination of the elements copied from the arraylist .The array must have zero based indexed. System.Array.Clone():-It creates the shallow ...

c programmings tutorials programming tutorial

started by cprogrammings example on 24 Apr 11 no follow-up yet
gialloporpora

Twitter from the command line in Python using OAuth - 6 views

  •  
    Configuring an app to use OAuth properly requires a bit of legwork. My goal with this post is to save people some time by showing the complete step-by-step process of building a Python script that can tweet from the command line using OAuth. I've intentionally skipped over the details of how OAuth works and what all the different authentication tokens mean. This post is just about getting things done.
Jac Londe

JSON Developer's Guide for the Google Feed API - 0 views

  • Using Python The following code snippet shows how to make a request to the Google Feed API using Python. This sample assumes Python 2.4 or higher. You may need to download and install simplejson. import urllib2import simplejsonurl = ('https://ajax.googleapis.com/ajax/services/feed/find?' +       'v=1.0&q=Official%20Google%20Blog&userip=INSERT-USER-IP')request = urllib2.Request(url, None, {'Referer': /* Enter the URL of your site here */})response = urllib2.urlopen(request)# Process the JSON string.results = simplejson.load(response)# now have some fun with the results...
  •  
    JSON Developer's Guide for the Google Feed API - Google Feed API - Google Developers
reckoner reckoner

Siva Chandran P: TermEmulator 1.0 Released!!! - 0 views

  • The module comes with a demo application which is written in wxWidgets. The demo emulates any terminal program inside a text box. The following are the screenshots of emulating bash, emacs and vi using TermEmulator and the demo. successfully emulated(ran in a text box) bash, emacs, vi and some other terminal programs.
  • Provides callback for updating terminal screen
  •  
    I'm hoping this means that you can access the items in the terminal window via an external Python script..
reckoner reckoner

PyCHM -- wrapper for CHM files - 0 views

  • PyCHM - Python bindings for CHMLIB PyCHM is a package that provides bindings for Jed Wing's CHMLIB library. The chm package contains four modules, namely chm.chm, chm.chmlib, chm.extra and chm._chmlib. chm.chmlib is a low level wrapper module around the API provided by the C library chmlib. Quoted from Jed's README: chmlib is a small library designed for accessing MS ITSS files. The ITSS file format is used for Microsoft Html Help files (.chm), which have been the predominant medium for software documentation from Microsoft during the past several years, having superceded the previously used .hlp file format. chm.chm provides some high level functionality over chm.chmlib, such as access to the .chm file contents tree. chm.extra contains extra functionality to allow detection encodings in the CHM archives and to support full-text search.
  •  
    CHM files
reckoner reckoner

google-chartwrapper - Google Code - 0 views

  • Easily create Google charts using python syntax and datasets. Python wrapper for the Google Chart API. The wrapper can render the URL of the Google chart, based on your parameters, or it can render an HTML img tag to insert into webpages on the fly. Made for dynamic python websites (Django,Zope,CGI,etc.) that need on the fly chart generation without any extra modules. The wrapper SHOULD also work with Eastwood the Google Chart API workalike. G = GChart('p3', [5,10])
cecilia marie

Choosing the Right Software Support Provider is Everything - 1 views

I was having problems with my computer that I did not know what to do. So I searched the internet for a reliable computer software support service provider and I came across Tech Software Support....

software support

started by cecilia marie on 04 Nov 11 no follow-up yet
Yuri Câmara

7 programming languages on the rise | Developer World - InfoWorld - 0 views

  • the first language available on Google's AppEngine -- a clear indication Python has the kind of structure that makes it easy to scale in the cloud, one of the biggest challenges for enterprise-grade computing.
    • Yuri Câmara
       
      Python Google App Engine Cloud Computing
  • Programming languages on the rise: Python
1 - 20 of 245 Next › Last »
Showing 20 items per page